dpkg problems

Don´t be shy, Linux is fun! =)
Post Reply
User avatar
LBG
On the way to fame!
On the way to fame!
Posts: 44
Joined: 24 Jan 2009, 17:00
15

dpkg problems

Post by LBG »

Sorry for making this into 2 posts, but when I post the shell script it says my html tags aren't allowed... I'll try again:
I am having trouble with dpkg, also:

Code: Select all

sudo apt-get install --reinstall dpkg
Reading package lists... Done                              
Building dependency tree                                   
Reading state information... Done                          
The following packages were automatically installed and are no longer required:
  obex-data-server libzvbi0 libcdio7 libcdio-cdda0 libzvbi-common ssh libcdio-paranoia0 perlmagick
  openssh-server libopenobex1                                                                     
Use 'apt-get autoremove' to remove them.                                                          
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 0 not upgraded.                     
7 not fully installed or removed.                                                                 
Need to get 0B/2230kB of archives.                                                                
After this operation, 0B of additional disk space will be used.                                   
Do you want to continue [Y/n]? Y                                                                  
WARNING: The following packages cannot be authenticated!                                          
  dpkg                                                                                            
Install these packages without verification [y/N]? y                                              
(Reading database ... 100188 files and directories currently installed.)                          
Preparing to replace dpkg 1.14.20ubuntu6.2 (using .../dpkg_1.14.20ubuntu6.2_i386.deb) ...         
Unpacking replacement dpkg ...                                                                    
Processing triggers for man-db ...                                                                
Setting up dpkg (1.14.20ubuntu6.2) ...                                                            

Setting up gnome-media-common (2.24.0.1-0ubuntu1) ...
gconftool-2: symbol lookup error: /usr/lib/libgconf-2.so.4: undefined symbol: g_dgettext
dpkg: error processing gnome-media-common (--configure):                                
 subprocess post-installation script returned error exit status 127                     
dpkg: dependency problems prevent configuration of libgnome-media0:                     
 libgnome-media0 depends on gnome-media-common ( 2.24); however:                      
  Package gnome-media-common is not configured yet.                                     
 libgnome-media0 depends on gnome-media-common ( 2.25); however:                      
  Package gnome-media-common is not configured yet.                                     
dpkg: error processing libgnome-media0 (--configure):                                   
 dependency problems - leaving unconfigured                                             
dpkg: dependency problems prevent configuration of gnome-media:                         
 gnome-media depends on libgnome-media0; however:                                       
  Package libgnome-media0 is not configured yet.                                        
 gnome-media depends on gnome-media-common (2.24); however:                          
  Package gnome-media-common is not configured yet.                                     
 gnome-media depends on gnome-media-common ( 2.25); however:                          
  Package gnome-media-common is not configured yet.                                     
dpkg: error processing gnome-media (--configure):                                       
 dependency problems - leaving uncoNo apport report written because the error message indicates its a followup error from a previous failure.                                                                 
                                      No apport report written because the error message indicates its a followup error from a previous failure.                                                              
                                         nfigured                                                      
Setting up hal (0.5.11-4ubuntu4) ...                                                                   
 * Reloading system message bus config...                                                       [ OK ] 
 * Starting Hardware abstraction layer hald                                                            invoke-rc.d: initscript hal, action "start" failed.                                                    
dpkg: error processing hal (--configure):                                                              
 subprocess post-installation script returned error exit status 1                                      
Setting up metacity-common (1:2.24.0-0ubuntu1) ...                                                     
No apport report written because MaxReports is reached already                                         
                                                              gconftool-2: symbol lookup error: /usr/lib/libgconf2-4/2/libgconfbackend-xml.so: undefined symbol: g_dgettext                                   
dpkg: error processing metacity-common (configure):                                                  
 subprocess post-installation script returned error exit status 127                                    
dpkg: dependency problems prevent configuration of libmetacity0:                                       
 libmetacity0 depends on metacity-common ( 1:2.24); however:                                         
  Package metacity-common is not configured yet.                                                       
 libmetacity0 depends on metacity-common (1:2.25); however:                                         
  Package metacity-common is not configured yet.                                                       
dpkg: error processing libmetacity0 (--configure):                                                     
 dependency problems - leaving unconfigured                                                            
dpkg: dependency problems prevent configuration of python-gnome2-desktop:                              
 python-gnome2-desktop depends on libgnome-media0; however:
  Package libgnome-media0 is not configured yet.
 python-gnome2-desktop depends on libmetacity0 ( 1:2.22.0); however:
  Package libmetacity0 is not configured yet.
dpkg: error processing python-gnome2-desktop (--configure):
 dependency problems - leaving unconfigured
No apport report written because MaxReports is reached already
                                                              No apport report written because MaxReports is reached already
                     No apport report written because MaxReports is reached already
                                                                                   Errors were encountered while processing:
 gnome-media-common
 libgnome-media0
 gnome-media
 hal
 metacity-common
 libmetacity0
 python-gnome2-desktop
E: Sub-process /usr/bin/dpkg returned an error code (1)
I want to rm the above, but it says they don't exist. I was trying to get my webcam to work and get some videos to play, and this is what I get....

User avatar
bad_brain
Site Owner
Site Owner
Posts: 11636
Joined: 06 Apr 2005, 16:00
19
Location: In your eye floaters.
Contact:

Post by bad_brain »

try this:

Code: Select all

apt-get install -f
and then:

Code: Select all

apt-get clean
the first one tries to fix broken dependencies, the second one flushes the apt-get cache.

what distro are you using? :-k

User avatar
computathug
Administrator
Administrator
Posts: 2693
Joined: 29 Mar 2007, 16:00
17
Location: UK
Contact:

Post by computathug »

From the above it looks like Ubuntu and the error seems to have been caused in the gconf2 file. This looks like a script failure error from a dist-upgrade and others seem to have had the same issue when upgrading fro 8.04 to 8.10.

Have you tried to upgrade the system or it may simply need a

apt-get dist-upgrade
and then run
apt-get update
and the try to install dpkg.

If some dependencies have been removed for newer ones then it may also need to run other updates if the system has already upgraded too.

Hope you fix it soon :(
The devil can cite Scripture for his purpose.
-- William Shakespeare, "The Merchant of Venice"
https://tshirt-memes.com

Post Reply