LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices

Reply
 
Search this Thread
Old 10-25-2008, 05:53 PM   #1
fof3
Member
 
Registered: Nov 2003
Distribution: Debian - Lenny
Posts: 174

Rep: Reputation: 30
unmet dependencies


I originally tried to install totem-plugins from testing. I had to open access for testing in my /etc/apt/sources.list.
I did an apt-get update; followed by an apt-get upgrade; accessing both stable and testing at the same time. (Mistake?)
This ended with errors about unmet dependencies for certain packages; along with duplicate lists.
I later tried to install mozilla-thunderbird, but I still had the unmet dependencies problem.
Running apt-get update again did not solve the problem.
Any help?!

edhe@hebrews:~$ sudo apt-get --reinstall install mozilla-thunderbird
[sudo] password for edhe:
Reading package lists... Done
Building dependency tree... Done
The following NEW packages will be installed:
mozilla-thunderbird
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
7 not fully installed or removed.
Need to get 29.5kB of archives.
After this operation, 77.8kB of additional disk space will be used.
Get:1 http://security.debian.org etch/updates/main mozilla-thunderbird 1.5.0.13+1.5.0.15b.dfsg1+prepatch080614d-0etch1 [29.5kB]
Fetched 29.5kB in 0s (35.9kB/s) Selecting previously deselected package mozilla-thunderbird.
(Reading database ... 137029 files and directories currently installed.)
Unpacking mozilla-thunderbird (from .../mozilla-thunderbird_1.5.0.13+1.5.0.15b.dfsg1+prepatch080614d-0etch1_all.deb) ...
Setting up docbook-xml (4.5-5) ...
update-xmlcatalog: error: entity already registered
dpkg: error processing docbook-xml (--configure):
subprocess post-installation script returned error exit status 1

dpkg: dependency problems prevent configuration of scrollkeeper:
scrollkeeper depends on docbook-xml (>= 4.2-11); however:
Package docbook-xml is not configured yet.
dpkg: error processing scrollkeeper (--configure):
dependency problems - leaving unconfigured

dpkg: dependency problems prevent configuration of gnome-applets-data:
gnome-applets-data depends on scrollkeeper; however:
Package scrollkeeper is not configured yet.
dpkg: error processing gnome-applets-data (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of gnome-panel-data:
gnome-panel-data depends on scrollkeeper; however:
Package scrollkeeper is not configured yet.

dpkg: error processing gnome-panel-data (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of gnome-panel:
gnome-panel depends on gnome-panel-data (>= 2.20); however:
Package gnome-panel-data is not configured yet.
gnome-panel depends on gnome-panel-data (<< 2.21); however:
Package gnome-panel-data is not configured yet.
dpkg: error processing gnome-panel (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of gnome-applets:
gnome-applets depends on gnome-applets-data (>= 2.22); however:
Package gnome-applets-data is not configured yet.
gnome-applets depends on gnome-applets-data (<< 2.23); however:
Package gnome-applets-data is not configured yet.
gnome-applets depends on gnome-panel (>= 2.13.4); however:
Package gnome-panel is not configured yet.
dpkg: error processing gnome-applets (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of gnome-user-guide:
gnome-user-guide depends on scrollkeeper; however:
Package scrollkeeper is not configured yet.
dpkg: error processing gnome-user-guide (--configure):
dependency problems - leaving unconfigured
Setting up mozilla-thunderbird (1.5.0.13+1.5.0.15b.dfsg1+prepatch080614d-0etch1) ...
Errors were encountered while processing:
docbook-xml
scrollkeeper
gnome-applets-data
gnome-panel-data
gnome-panel
gnome-applets
gnome-user-guide
W: Duplicate sources.list entry http://security.debian.org etch/updates/main Packages (/var/lib/apt/lists/security.debian.org_dists_etch_updates_main_binary-amd64_Packages)
W: Duplicate sources.list entry http://security.debian.org etch/updates/contrib Packages (/var/lib/apt/lists/security.debian.org_dists_etch_updates_contrib_binary-amd64_Packages)
W: You may want to run apt-get update to correct these problems
E: Sub-process /usr/bin/dpkg returned an error code (1)
 
Old 10-25-2008, 06:11 PM   #2
Dutch Master
Senior Member
 
Registered: Dec 2005
Posts: 1,675

Rep: Reputation: 122Reputation: 122
Run as root:
Code:
dpkg --reconfigure -i
 
Old 10-25-2008, 06:19 PM   #3
fof3
Member
 
Registered: Nov 2003
Distribution: Debian - Lenny
Posts: 174

Original Poster
Rep: Reputation: 30
I did, and got this.

hebrews:/home/edhe# dpkg --reconfigure -i
dpkg: unknown option --reconfigure

Type dpkg --help for help about installing and deinstalling packages[*];
Use `dselect' or `aptitude' for user-friendly package management;
Type dpkg -Dhelp for a list of dpkg debug flag values;
Type dpkg --force-help for a list of forcing options;
Type dpkg-deb --help for help about manipulating *.deb files;
Type dpkg --license for copyright license and lack of warranty (GNU GPL)[*].

Options marked[*] produce a lot of output - pipe it through `less' or `more' !
 
Old 10-25-2008, 09:48 PM   #4
jlinkels
Senior Member
 
Registered: Oct 2003
Location: Bonaire
Distribution: Debian Lenny/Squeeze/Wheezy/Sid
Posts: 4,099

Rep: Reputation: 494Reputation: 494Reputation: 494Reputation: 494Reputation: 494
The duplicate entries is easy to solve: I think you have duplicate lines somewhere in you sources.list. Remember that Testing does not have a security branch, only Stable has that.

The other problem is known, I encountered it as well when I did a dist upgrade. If I remember well, this is how I solved it.

Code:
apt-get -f install
dpkg -i --force-depends scrollkeeper_0.3.14-16_i386.deb
apt-get -f install
Now you have installed scrollkeeper, and docbook-xml should be installable.

If not, try the same trick with installing docbook-xml_4.5-5_all.deb.

This is to my best knowledge, no warranty, forcing things during install is not really recommended, and force-depends should never be used carelessly. If this fails, try to uninstall either or both packages, and everything that depends on them, and try again.

jlinkels
 
Old 10-26-2008, 10:03 AM   #5
fof3
Member
 
Registered: Nov 2003
Distribution: Debian - Lenny
Posts: 174

Original Poster
Rep: Reputation: 30
dpkg -l | grep iU | less
iU gnome-applets 2.22.3-3 Various applets for GNOME 2 panel - binary f
iU gnome-applets-data 2.22.3-3 Various applets for GNOME 2 panel - data fil
iU gnome-panel 2.20.3-5 launcher and docking facility for GNOME
iU gnome-panel-data 2.20.3-5 common files for the GNOME Panel
iU gnome-user-guide 2.22.1-1 GNOME user's guide
iU scrollkeeper 0.3.14-16 A free electronic cataloging system for docu

edhe@hebrews:~$ sudo dpkg -i --force-depends scrollkeeper_0.3.14-16
dpkg: error processing scrollkeeper_0.3.14-16 (--install):
cannot access archive: No such file or directory
Errors were encountered while processing:
scrollkeeper_0.3.14-16
 
Old 10-26-2008, 10:05 AM   #6
craigevil
Senior Member
 
Registered: Apr 2005
Location: OZ
Distribution: Debian Sid
Posts: 4,733
Blog Entries: 12

Rep: Reputation: 456Reputation: 456Reputation: 456Reputation: 456Reputation: 456
how about doing aptitude install icedove

Description: free/unbranded thunderbird mail/news/rss clone
Icedove is an unbranded Thunderbird mail client suitable for free
distribution. The goal of Thunderbird is to produce a cross platform stand-
alone mail application using the XUL user interface language.
 
Old 10-26-2008, 11:19 AM   #7
fof3
Member
 
Registered: Nov 2003
Distribution: Debian - Lenny
Posts: 174

Original Poster
Rep: Reputation: 30
edhe@hebrews:~$ sudo dpkg --simulate --purge yelp docbook-xml nautilus-cd-burner nautilus nautilus-data gnome-session capplets-data gnome-control-center scrollkeeper gnome-applets-data gnome-panel-data gnome-panel gnome-applets gnome-user-guide
(Reading database ... 137031 files and directories currently installed.)
Would remove or purge yelp ...
Would remove or purge docbook-xml ...
Would remove or purge nautilus-cd-burner ...
Would remove or purge nautilus ...
Would remove or purge nautilus-data ...
Would remove or purge gnome-session ...
Would remove or purge gnome-control-center ...
Would remove or purge gnome-applets-data ...
Would remove or purge gnome-panel-data ...
Would remove or purge gnome-panel ...
Would remove or purge gnome-applets ...
Would remove or purge gnome-user-guide ...
Would remove or purge capplets-data ...
Would remove or purge scrollkeeper ...

I followed this with:

edhe@hebrews:~$ sudo dpkg --purge yelp docbook-xml nautilus-cd-burner nautilus nautilus-data gnome-session capplets-data gnome-control-center scrollkeeper gnome-applets-data gnome-panel-data gnome-panel gnome-applets gnome-user-guide
update-xmlcatalog: error: entity not registered


And then:

edhe@hebrews:~$ sudo apt-get --reinstall install yelp docbook-xml nautilus-cd-burner nautilus nautilus-data gnome-session capplets-data gnome-control-center scrollkeeper gnome-applets-data gnome-panel-data gnome-panel gnome-applets gnome-user-guide
Reading package lists... Done
Building dependency tree... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
gnome-icon-theme: Conflicts: gnome-panel (< 2.18) but 2.14.3-6 is to be installed
E: Broken packages

Is the solution to unblock testing in my sources list; and to do an apt-get update?
Is it okay to access stable and unstable at the same time?
 
Old 10-26-2008, 11:43 AM   #8
Dutch Master
Senior Member
 
Registered: Dec 2005
Posts: 1,675

Rep: Reputation: 122Reputation: 122
Whoops, made a typo.. The command should be
Code:
dpkg-reconfigure -i
Note: every time you change your sources.list, you must update the database with apt-get update.

My recommendation is to switch to Lenny completely. It's about to be declared Stable and might save you from an unusable system.
 
Old 10-26-2008, 01:41 PM   #9
fof3
Member
 
Registered: Nov 2003
Distribution: Debian - Lenny
Posts: 174

Original Poster
Rep: Reputation: 30
I changed my sources list to be only testing.

hebrews:/home/edhe# apt-get update
Hit http://security.debian.org testing/updates Release.gpg
Ign http://security.debian.org testing/updates/main Translation-en_US
Ign http://security.debian.org testing/updates/contrib Translation-en_US
Hit http://ftp.us.debian.org testing Release.gpg
Ign http://ftp.us.debian.org testing/main Translation-en_US
Ign http://security.debian.org testing/updates/non-free Translation-en_US
Hit http://security.debian.org testing/updates Release
Ign http://ftp.us.debian.org testing/non-free Translation-en_US
Ign http://ftp.us.debian.org testing/contrib Translation-en_US
Hit http://ftp.us.debian.org testing Release
Ign http://security.debian.org testing/updates/main Packages/DiffIndex
Get:1 http://ftp.us.debian.org testing/main Packages/DiffIndex [2038B]
Ign http://security.debian.org testing/updates/contrib Packages/DiffIndex
Ign http://security.debian.org testing/updates/non-free Packages/DiffIndex
Get:2 http://ftp.us.debian.org testing/non-free Packages/DiffIndex [2023B]
Get:3 http://ftp.us.debian.org testing/contrib Packages/DiffIndex [2023B]
Hit http://security.debian.org testing/updates/main Packages
Hit http://security.debian.org testing/updates/contrib Packages
Hit http://security.debian.org testing/updates/non-free Packages
Fetched 6084B in 1s (5135B/s)
Reading package lists... Done

hebrews:/home/edhe# apt-get upgrade
Reading package lists... Done
Building dependency tree... Done
The following packages have been kept back:
avahi-daemon bind9-host blinken brasero cpp cpp-4.1 cupsys-driver-gutenprint
discover1 dnsutils eject eog epiphany-browser epiphany-extensions evince
fvwm gcc gcc-3.4-base gcc-4.1 gcc-4.1-base gdk-imlib11 gettext gij gimp-gap
gnome-btdownload gnome-cards-data gnome-games gnome-games-data
gnome-power-manager gnome-volume-manager gnucash gnucash-common gparted grub
gstreamer0.10-ffmpeg gstreamer0.10-plugins-good guile-library gxine hal
hotkey-setup hpijs hpijs-ppds hwinfo iceweasel iceweasel-gnome-support
imagemagick imlib11 indi ink k3b kalzium kalzium-data kanagram kbruch
kdeaddons kdebase kdeedu kdeedu-data kdegraphics kdegraphics-kfile-plugins
kdemultimedia kdenetwork kdepim kdvi keduca khangman khelpcenter kig
kitchensync kiten klaptopdaemon klatin klettres klettres-data kmplot
knewsticker-scripts kpercentage kscreensaver-xsavers ksmserver kstars
kstars-data ksysguard ksysguardd ktouch kturtle kverbos kvoctrain
kwifimanager kwordquiz libarts1-xine libenchant1c2a libgcj-bc libgda2-3
libgnokii3 libgtk1.2 libgtkmm-2.4-1c2a libgtkspell0 libmime-perl
libmudflap0-dev librpcsecgss3 libsane libsasl2-2 libsasl2-modules libsvga1
libungif4g libvcdinfo0 libx11-6 libxine1 liferea liferea-xulrunner
linux-image-2.6-amd64 mailx module-init-tools mpg123 mplayer netcat
network-manager network-manager-gnome noatun-plugins nvidia-xconfig pciutils
policycoreutils printconf rhythmbox sox ttf-dejavu uswsusp vbetool vcdimager
wireless-tools wodim wpasupplicant x11-common xbase-clients xorg
xscreensaver xserver-xorg xserver-xorg-core xserver-xorg-input-evdev
xserver-xorg-input-kbd xserver-xorg-input-mouse xserver-xorg-input-synaptics
xserver-xorg-input-wacom xserver-xorg-video-all xserver-xorg-video-apm
xserver-xorg-video-ark xserver-xorg-video-ati xserver-xorg-video-chips
xserver-xorg-video-cirrus xserver-xorg-video-cyrix xserver-xorg-video-dummy
xserver-xorg-video-fbdev xserver-xorg-video-glint xserver-xorg-video-i128
xserver-xorg-video-i810 xserver-xorg-video-mga xserver-xorg-video-neomagic
xserver-xorg-video-nv xserver-xorg-video-rendition xserver-xorg-video-s3
xserver-xorg-video-s3virge xserver-xorg-video-savage
xserver-xorg-video-siliconmotion xserver-xorg-video-sis
xserver-xorg-video-sisusb xserver-xorg-video-tdfx xserver-xorg-video-tga
xserver-xorg-video-trident xserver-xorg-video-tseng xserver-xorg-video-v4l
xserver-xorg-video-vesa xserver-xorg-video-vga xserver-xorg-video-via
xserver-xorg-video-voodoo xutils
The following packages will be upgraded:
alsa-base alsa-source console-data dhcp3-client dhcp3-common enigmail gdm
gnome-keyring gtk2-engines gtk2-engines-pixbuf libcairo2 libdrm2
libgnome-keyring0 libgnome-window-settings1 libgraphviz4 libgsmme1c2a
libgtk2.0-0 libgtk2.0-bin libgtk2.0-common libhyphen0 libjasper1
libldap-2.4-2 libpango1.0-0 libpango1.0-common libportaudio0
linux-sound-base openssh-blacklist openssh-client openssh-server vim-common
vim-tiny x-ttcidfont-conf
32 upgraded, 0 newly installed, 0 to remove and 174 not upgraded.
Need to get 25.9MB of archives.
After this operation, 2288kB of additional disk space will be used.
Do you want to continue [Y/n]?

I answered No.

Why would so many packages be held back; including xserver stuff?
 
Old 10-26-2008, 02:38 PM   #10
Dutch Master
Senior Member
 
Registered: Dec 2005
Posts: 1,675

Rep: Reputation: 122Reputation: 122
Because you didn't update the apt database

OK, one last try: change all references from testing to Lenny (that way you won't get unpleasant surprises once Lenny becomes Stable), then do
Code:
aptget update && apt-get dist-upgrade
Don't skip any step or change anything in the command.
 
Old 10-27-2008, 01:52 PM   #11
craigevil
Senior Member
 
Registered: Apr 2005
Location: OZ
Distribution: Debian Sid
Posts: 4,733
Blog Entries: 12

Rep: Reputation: 456Reputation: 456Reputation: 456Reputation: 456Reputation: 456
upgrade won't upgrade everything, at least not using apt-get upgrade, Either use apt-get dist-upgrade or aptitude full-upgrade.

Try doing apt-get update && apt-get dist-upgrade

A decent sources.list for Lenny.
Quote:
# Lenny
#deb http://ftp.debian.org/debian/ lenny main contrib non-free
#deb-src http://ftp.debian.org/debian/ lenny main contrib non-free
#Testing Security updates
#deb http://security.debian.org/ lenny/updates main contrib
#deb-src http://security.debian.org/ lenny/updates main contrib

# Debian Volatile http://www.debian.org/volatile/
# deb http://volatile.debian.org/debian-volatile lenny/volatile main contrib non-free

# Marillat For info visit http://www.debian-multimedia.org
deb http://www.debian-multimedia.org lenny main
 
Old 10-27-2008, 02:08 PM   #12
jlinkels
Senior Member
 
Registered: Oct 2003
Location: Bonaire
Distribution: Debian Lenny/Squeeze/Wheezy/Sid
Posts: 4,099

Rep: Reputation: 494Reputation: 494Reputation: 494Reputation: 494Reputation: 494
Dist-upgrading is a good idea, but when I dist-upgraded two weeks ago I had the same problem with scrollkeeper and docbook-xml. What I just want to say: the problem might be equally persistent as with the installation of just one package.

Since I working at that particular that machine now, I can tell you what I forced to install:
Code:
dpkg -i --force-depends /var/cache/apt/archives/debconf-english_1.5.22_all.deb
In case you might run into a circular dependency, this might be a solution.

jlinkels
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Help with unmet dependencies landysaccount Linux - Newbie 2 10-11-2008 10:44 AM
unmet dependencies lumix Linux - Newbie 2 06-10-2008 10:04 PM
Unmet dependencies. maikie Debian 7 09-04-2007 05:30 PM
unmet dependencies Josephus Ross Linux - General 10 08-21-2007 12:49 PM
unmet dependencies kpachopoulos Debian 3 11-23-2005 10:35 AM


All times are GMT -5. The time now is 11:56 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration