PDA

View Full Version : unmet dependecies in apt-get



c01100011
04-17-2004, 05:14 AM
in an attempt to install mplayer i broke apt-get again ( differently this time ) i looked around at other posts of simmilar problems but didn't find anything that worked for me. Thanks in adavace.
PS- a fast solution would be nice b/c i would like to get an updated version of the gimp

c01100011@silver:~$ su
Password:
root@silver:/home/c01100011# apt-get install gaim
Reading Package Lists... Done
Building Dependency Tree... Done
gaim is already the newest version.
You might want to run `apt-get -f install' to correct these:
The following packages have unmet dependencies:
mplayer: Depends: libvorbis0 (>= 1.0.0) but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
root@silver:/home/c01100011# apt-get -f install
Reading Package Lists... Done
Building Dependency Tree... Done
Correcting dependencies... failed.
The following packages have unmet dependencies:
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
E: Unable to correct dependencies
root@silver:/home/c01100011#

Stephen
04-17-2004, 06:10 AM
in an attempt to install mplayer i broke apt-get again ( differently this time ) i looked around at other posts of simmilar problems but didn't find anything that worked for me. Thanks in adavace.
PS- a fast solution would be nice b/c i would like to get an updated version of the gimp



Open the file /etc/apt/sources.list for editing and put a # character in front of all the lines that have stable (from Debian) in them. While still editing the file change the line you have for mplayer to this.


## Various Multimedia Helper Apps Mplayer, Real, etc.. ##
deb ftp://ftp.nerim.net/debian-marillat/ unstable main


To actually be installing Mplayer from the unstable branch instead of the stable that it looks like you have done. Now use dselect update to get both the apt and dpkg databases back in sync and then try apt-get --reinstall install mplayer-??? replace the ??? with the arch that you need 386, 686 or k7 and hopefully this solves the problem.

c01100011
04-17-2004, 04:50 PM
I don't know if that did anything but the reponcec i got was this
root@silver:~# apt-get --reinstall install mplayer-386
Reading Package Lists... Done
Building Dependency Tree... Done
You might want to run `apt-get -f install' to correct these:
The following packages have unmet dependencies:
mplayer: Depends: libvorbis0 (>= 1.0.0) but it is not going to be installed
mplayer-386: Depends: libdirectfb-0.9-20 but it is not going to be installed
Depends: libdivxdecore0 (>= 1:5.0.1) but it is not going to be installed
Depends: libfaad2-0 (>= 2.0-rc3-0.0) but it is not going to be installed
Depends: libggi2 (>= 1:2.0.4) but it is not going to be installed
Depends: libpostproc0 (>= 0.90rc4) but it is not going to be installed
Depends: libxvidcore2 (>= 1:0.9.2-0.2) but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
:?: :?: :?: :?: :?: :?:

rickenbacherus
04-17-2004, 05:03 PM
So go ahead and do what apt just told you to do. Not guaranteed to work everytime.

c01100011
04-17-2004, 06:30 PM
i have tried apt-get install -f many times and it doesn't fix the problem.

Stephen
04-17-2004, 10:12 PM
I don't know if that did anything but the reponcec i got was this
root@silver:~# apt-get --reinstall install mplayer-386
Reading Package Lists... Done
Building Dependency Tree... Done
You might want to run `apt-get -f install' to correct these:
The following packages have unmet dependencies:
mplayer: Depends: libvorbis0 (>= 1.0.0) but it is not going to be installed
mplayer-386: Depends: libdirectfb-0.9-20 but it is not going to be installed
Depends: libdivxdecore0 (>= 1:5.0.1) but it is not going to be installed
Depends: libfaad2-0 (>= 2.0-rc3-0.0) but it is not going to be installed
Depends: libggi2 (>= 1:2.0.4) but it is not going to be installed
Depends: libpostproc0 (>= 0.90rc4) but it is not going to be installed
Depends: libxvidcore2 (>= 1:0.9.2-0.2) but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
:?: :?: :?: :?: :?: :?:

Can you post the /etc/apt/sources.list that you are using something is not right here that package should install with no problems. The libvorbis0 package that it is complaining about is from stable so you are still trying to install the stable version of mplayer what does the output of these commands look like on your machine you should be seeing testing/unstable for the candidate to install for each package except the vorbis one.



>$ apt-cache policy mplayer-386
mplayer-386:
Installed: 1:1.0-pre3cvs20040404-0.0
Candidate: 1:1.0-pre3cvs20040404-0.0
Version Table:
*** 1:1.0-pre3cvs20040404-0.0 0
600 ftp://ftp.nerim.net unstable/main Packages
100 /var/lib/dpkg/status

>$ apt-cache policy libvorbis0
libvorbis0:
Installed: (none)
Candidate: 1.0rc3-1
Version Table:
1.0rc3-1 0
500 http://192.168.0.4 stable/main Packages
100 /var/lib/dpkg/status

>$ apt-cache policy libdirectfb-0.9-20
libdirectfb-0.9-20:
Installed: 0.9.20-1
Candidate: 0.9.20-1
Version Table:
*** 0.9.20-1 0
990 http://192.168.0.4 testing/main Packages
600 http://192.168.0.4 unstable/main Packages
100 /var/lib/dpkg/status

>$ apt-cache policy libdivxdecore0
libdivxdecore0:
Installed: 1:5.0.1-1
Candidate: 1:5.0.1-1
Version Table:
*** 1:5.0.1-1 0
600 ftp://ftp.nerim.net unstable/main Packages
100 /var/lib/dpkg/status

>$ apt-cache policy libfaad2-0
libfaad2-0:
Installed: 2.0-rc3-0.0
Candidate: 2.0-rc3-0.0
Version Table:
*** 2.0-rc3-0.0 0
600 ftp://ftp.nerim.net unstable/main Packages
100 /var/lib/dpkg/status

>$ apt-cache policy libggi2
libggi2:
Installed: 1:2.0.4-2
Candidate: 1:2.0.4-2
Version Table:
*** 1:2.0.4-2 0
990 http://192.168.0.4 testing/main Packages
600 http://192.168.0.4 unstable/main Packages
100 /var/lib/dpkg/status
1:2.0.1-2 0
500 http://192.168.0.4 stable/main Packages

>$ apt-cache policy libpostproc0
libpostproc0:
Installed: 1:1.0-pre1.1
Candidate: 1:1.0-pre1.1
Version Table:
*** 1:1.0-pre1.1 0
600 ftp://ftp.nerim.net unstable/main Packages
100 /var/lib/dpkg/status

>$ apt-cache policy libxvidcore2
libxvidcore2:
Installed: 1:0.9.2-sarge0.3
Candidate: 1:0.9.2-sarge0.3
Version Table:
*** 1:0.9.2-sarge0.3 0
100 /var/lib/dpkg/status
1:0.9.2-0.3 0
600 ftp://ftp.nerim.net unstable/main Packages

c01100011
04-18-2004, 12:18 AM
# See sources.list(5) for more information, especialy
# Remember that you can only use http, ftp or file URIs
# CDROMs are managed through the apt-cdrom tool.

## Various Multimedia Helper Apps Mplayer, Real, etc.. ##
deb ftp://ftp.nerim.net/debian-marillat/ unstable main

# Security updates for "stable"
deb http://security.debian.org stable/updates main contrib non-free
deb http://security.debian.org testing/updates main contrib non-free

# Stable
#deb http://ftp2.de.debian.org/pub/debian stable main contrib non-free
#deb http://ftp2.de.debian.org/pub/debian-non-US stable/non-US main contrib non-free

# Sources
deb-src http://ftp2.de.debian.org/pub/debian stable main contrib non-free
deb-src http://ftp2.de.debian.org/pub/debian-non-US stable/non-US main contrib non-free

# Testing
deb http://ftp2.de.debian.org/pub/debian testing main contrib non-free
deb http://ftp2.de.debian.org/pub/debian-non-US testing/non-US main contrib non-free

# Sources
deb-src http://ftp2.de.debian.org/pub/debian testing main contrib non-free
deb-src http://ftp2# See sources.list(5) for more information, especialy
# Remember that you can only use http, ftp or file URIs
# CDROMs are managed through the apt-cdrom tool.

## Various Multimedia Helper Apps Mplayer, Real, etc.. ##
deb ftp://ftp.nerim.net/debian-marillat/ unstable main

# Security updates for "stable"
deb http://security.debian.org stable/updates main contrib non-free
deb http://security.debian.org testing/updates main contrib non-free

# Stable
#deb http://ftp2.de.debian.org/pub/debian stable main contrib non-free
#deb http://ftp2.de.debian.org/pub/debian-non-US stable/non-US main #contrib non-free
#.de.debian.org/pub/debian-non-US testing/non-US main contrib non-free

# Unstable
deb http://ftp2.de.debian.org/debian unstable main contrib non-free
deb http://ftp2.de.debian.org/debian-non-US unstable/non-US main contrib non-free

# Sources
deb-src http://ftp2.de.debian.org/debian unstable main contrib non-free
deb-src http://ftp2.de.debian.org/debian-non-US unstable/non-US main contrib non-free

# Experimental
deb http://ftp2.de.debian.org/debian ../project/experimental main contrib non-free
deb-src http://ftp2.de.debian.org/debian ../project/experimental main contrib non-free

# Mozilla
# deb http://non-us.debian.org/~kitame/mozilla ./
# deb-src http://non-us.debian.org/~kitame/mozilla ./

# GNOME 2.0
# deb http://www.gnome.de/debian/ ./

# KDE 3
# deb http://ktown.kde.org/~nolden/kde stable main
# deb-src http://ktown.kde.org/~nolden/kde stable main
# We get packages from testing/unstable for now

# cdbakeoven
# deb http://coyote.asoc.euitt.upm.es/mud/debian/ ./

# XFree 4.2/4.3
# deb http://people.debian.org/~branden/packages sid/i386/
# deb-src http://people.debian.org/~branden/packages sid/source/
# deb http://www.penguinppc.org/~daniels/sid/i386 ./
# deb-src http://www.penguinppc.org/~daniels/sid/source ./

# JavaReading Package Lists... Done
#deb ftp://ftp.gwdg.de/pub/languages/java/linux/debian woody main non-free
#deb-src ftp://ftp.gwdg.de/pub/languages/java/linux/debian woody main non-free
#deb ftp://ftp.gwdg.de/pub/languages/java/linux/debian unstable main non-free
#deb-src ftp://ftp.gwdg.de/pub/languages/java/linux/debian unstable main non-free
# deb http://people.debian.org/~sgybas/jdk13
# LyX & others (now in debian/unstable)
# deb ftp://ntama.uni-mainz.de/pub/debian unofficial/
# deb-src ftp://ntama.uni-mainz.de/pub/debian unofficial/

# Evolution
#deb ftp://ftp.ximian.com/pub/debian stable main
#deb-src ftp://ftp.ximian.com/pub/debian stable main

# Blades Repository (pppoeconf & co)
# deb http://people.debian.org/~blade/testing ./
# deb-src http://people.debian.org/~blade/testing ./

# Wine CVS snapshot
# deb http://people.debian.org/~andreas/debian wine main
# deb-src http://people.debian.org/~andreas/debian wine main

# deb cdrom:[Debian GNU/Linux 2.2 r3 _Potato_ - Official i386 Binary-1 (20010427)]/ unstable contrib main non-US/contrib non-US/main
deb http://eyck.forumakad.pl/debian ./

Stephen
04-18-2004, 01:21 AM
Try this for the sources.list and it should work the line you have at the bottom of the file was causing the problem it has the stable version of mplayer. Make sure you use dselect update after changing the file then install and you will probably want to install the w32codecs package as well.



# See sources.list(5) for more information, especialy
# Remember that you can only use http, ftp or file URIs
# CDROMs are managed through the apt-cdrom tool.

## Various Multimedia Helper Apps Mplayer, Real, etc.. ##
deb ftp://ftp.nerim.net/debian-marillat/ unstable main

# Security updates for "stable"
#deb http://security.debian.org stable/updates main contrib non-free
deb http://security.debian.org testing/updates main contrib non-free

# Stable
#deb http://ftp2.de.debian.org/pub/debian stable main contrib non-free
#deb http://ftp2.de.debian.org/pub/debian-non-US stable/non-US main contrib non-free

# Sources
#deb-src http://ftp2.de.debian.org/pub/debian stable main contrib non-free
#deb-src http://ftp2.de.debian.org/pub/debian-non-US stable/non-US main contrib non-free

# Testing
deb http://ftp2.de.debian.org/pub/debian testing main contrib non-free
deb http://ftp2.de.debian.org/pub/debian-non-US testing/non-US main contrib non-free

# Sources
deb-src http://ftp2.de.debian.org/pub/debian testing main contrib non-free
deb-src http://ftp2.de.debian.org/pub/debian-non-US testing/non-US main contrib non-free

# Unstable
deb http://ftp2.de.debian.org/debian unstable main contrib non-free
deb http://ftp2.de.debian.org/debian-non-US unstable/non-US main contrib non-free

# Sources
deb-src http://ftp2.de.debian.org/debian unstable main contrib non-free
deb-src http://ftp2.de.debian.org/debian-non-US unstable/non-US main contrib non-free

# Experimental
deb http://ftp2.de.debian.org/debian ../project/experimental main contrib non-free
deb-src http://ftp2.de.debian.org/debian ../project/experimental main contrib non-free

# Mozilla
# deb http://non-us.debian.org/~kitame/mozilla ./
# deb-src http://non-us.debian.org/~kitame/mozilla ./

# GNOME 2.0
# deb http://www.gnome.de/debian/ ./

# KDE 3
# deb http://ktown.kde.org/~nolden/kde stable main
# deb-src http://ktown.kde.org/~nolden/kde stable main
# We get packages from testing/unstable for now

# cdbakeoven
# deb http://coyote.asoc.euitt.upm.es/mud/debian/ ./

# XFree 4.2/4.3
# deb http://people.debian.org/~branden/packages sid/i386/
# deb-src http://people.debian.org/~branden/packages sid/source/
# deb http://www.penguinppc.org/~daniels/sid/i386 ./
# deb-src http://www.penguinppc.org/~daniels/sid/source ./

# JavaReading Package Lists... Done
#deb ftp://ftp.gwdg.de/pub/languages/java/linux/debian woody main non-free
#deb-src ftp://ftp.gwdg.de/pub/languages/java/linux/debian woody main non-free
#deb ftp://ftp.gwdg.de/pub/languages/java/linux/debian unstable main non-free
#deb-src ftp://ftp.gwdg.de/pub/languages/java/linux/debian unstable main non-free
# deb http://people.debian.org/~sgybas/jdk13
# LyX & others (now in debian/unstable)
# deb ftp://ntama.uni-mainz.de/pub/debian unofficial/
# deb-src ftp://ntama.uni-mainz.de/pub/debian unofficial/

# Evolution
#deb ftp://ftp.ximian.com/pub/debian stable main
#deb-src ftp://ftp.ximian.com/pub/debian stable main

# Blades Repository (pppoeconf & co)
# deb http://people.debian.org/~blade/testing ./
# deb-src http://people.debian.org/~blade/testing ./

# Wine CVS snapshot
# deb http://people.debian.org/~andreas/debian wine main
# deb-src http://people.debian.org/~andreas/debian wine main

# deb cdrom:[Debian GNU/Linux 2.2 r3 _Potato_ - Official i386 Binary-1 (20010427)]/ unstable contrib main non-US/contrib non-US/main
#deb http://eyck.forumakad.pl/debian ./

c01100011
04-18-2004, 01:57 AM
at least i feel like i am getting closer to a soulution .... I replaced the sources list and ran dselect update and it seemed to be working ok untill

11% [Connecting to ftp2.de.debian.org (195.71.9.196)]
Err http://ftp2.de.debian.org testing/main Packages
Could not connect to ftp2.de.debian.org:80 (195.71.9.196), connection timed out

I tried it several times with the same problem
ahhhh !

Stephen
04-18-2004, 03:04 AM
at least i feel like i am getting closer to a soulution .... I replaced the sources list and ran dselect update and it seemed to be working ok untill

11% [Connecting to ftp2.de.debian.org (195.71.9.196)]
Err http://ftp2.de.debian.org testing/main Packages
Could not connect to ftp2.de.debian.org:80 (195.71.9.196), connection timed out

I tried it several times with the same problem
ahhhh !

It could be the pub in the line in these sections I just did an update and the ftp2.de severs are working here so you should be able to connect.




# Testing
deb http://ftp2.de.debian.org/pub/debian testing main contrib non-free
deb http://ftp2.de.debian.org/pub/debian-non-US testing/non-US main contrib non-free

# Sources
deb-src http://ftp2.de.debian.org/pub/debian testing main contrib non-free
deb-src http://ftp2.de.debian.org/pub/debian-non-US testing/non-US main contrib non-free



Just remove it (pub) from the line to make them look like the unstable lines in the file except of course for testing still in the line.

c01100011
04-18-2004, 04:10 AM
i just tried dselect update one more time and IT WORKED !. Maybe it was my Cable connnection it was a little slugish.
i no longer get the same error message about "unmet dependecies" but now it says

root@silver:/home/c01100011# apt-get --reinstall install mplayer
Reading Package Lists... Done
Building Dependency Tree... Done
E: The package mplayer needs to be reinstalled, but I can't find an archive for it.

wierd responce almost scary not everyday my computer says I...

yet again HELP
(sorry for being such a newbie) :)

rickenbacherus
04-18-2004, 04:40 AM
Try an apt-cache search mplayer and see what packages you have available. Then apt-get install mplayer-<arch>

c01100011
04-18-2004, 05:31 AM
i got this
i am not sure what i am supposed to do with it

root@silver:/home/c01100011# apt-cache search mplayer
mplayer-doc - Documentation for mplayer
acidrip - ripping and encoding DVD tool using mplayer and mencoder
kplayer - A KDE media player based on MPlayer
libpostproc0 - Mplayer postproc shared libraries
libpostproc-dev - Mplayer postproc devel files
mencoder-586 - MPlayer's Movie Encoder
mencoder-k6 - MPlayer's Movie Encoder
mplayer-386 - The Ultimate Movie Player For Linux
mplayer-586 - The Ultimate Movie Player For Linux
mplayer-686 - transitional dummy package which can be safely removed
mplayer-fonts - Fonts for mplayer
mplayer-k6 - The Ultimate Movie Player For Linux
mplayer-k7 - transitional dummy package which can be safely removed
mplayer-mozilla - Empty package to install the official package
mplayer-nogui - The Ultimate Movie Player For Linux
mga-vid-source - Kernel driver for the back-end scaler on Matrox cards (source)
movixmaker-2 - Utility to create customized eMoviX/MoviX/MoviX² CD images
mozilla-mplayer - MPlayer-Plugin for Mozilla, Konqueror and OpenOffice.org
xmms-xmmplayer - XMMS plugin that uses MPlayer to play video files
mplayer -
:?: :?: :?:

Stephen
04-18-2004, 06:00 AM
i just tried dselect update one more time and IT WORKED !. Maybe it was my Cable connnection it was a little slugish.
i no longer get the same error message about "unmet dependecies" but now it says

root@silver:/home/c01100011# apt-get --reinstall install mplayer
Reading Package Lists... Done
Building Dependency Tree... Done
E: The package mplayer needs to be reinstalled, but I can't find an archive for it.

wierd responce almost scary not everyday my computer says I...

yet again HELP
(sorry for being such a newbie) :)

You need mplayer-??? with the ??? being the arch you want. For the most compatible apt-get install --reinstall mplayer-386 will give you a reinstall if already installed of the 386 mplayer version if you have a pentium mplayer-586, an athlon mplayer-k7. To find what you already have installed dpkg -l | grep mplayer-*.

c01100011
04-18-2004, 03:38 PM
root@silver:/home/c01100011# dpkg -l | grep mplayer-*
iHR mplayer 0.90-3

now what :?:

(i promise i will get better)

Stephen
04-18-2004, 09:14 PM
root@silver:/home/c01100011# dpkg -l | grep mplayer-*
iHR mplayer 0.90-3

now what :?:

(i promise i will get better)

apt-get --purge remove mplayer then apt-get install mplayer-386 to get a proper package.

c01100011
04-18-2004, 10:57 PM
root@silver:/home/c01100011# apt-get --purge remove mplayer
Reading Package Lists... Done
Building Dependency Tree... Done
E: The package mplayer needs to be reinstalled, but I can't find an archive for it.

same probem :(

Stephen
04-19-2004, 01:02 AM
root@silver:/home/c01100011# apt-get --purge remove mplayer
Reading Package Lists... Done
Building Dependency Tree... Done
E: The package mplayer needs to be reinstalled, but I can't find an archive for it.

same probem :(

Just install the mplayer-386 package then and it should upgrade the package to the higher version.

c01100011
04-19-2004, 01:08 AM
root@silver:/home/c01100011# apt-get install mplayer-386
Reading Package Lists... Done
Building Dependency Tree... Done
E: The package mplayer needs to be reinstalled, but I can't find an archive for it.
root@silver:/

Stephen
04-19-2004, 01:57 AM
root@silver:/home/c01100011# apt-get install mplayer-386
Reading Package Lists... Done
Building Dependency Tree... Done
E: The package mplayer needs to be reinstalled, but I can't find an archive for it.
root@silver:/

Can I see the output of apt-cache policy mplayer and apt-cache policy mplayer-386?

c01100011
04-19-2004, 02:57 AM
here they are !

root@silver:/home/c01100011# apt-cache policy mplayer
mplayer:
Installed: 0.90-3
Candidate: 0.90-3
Version Table:
*** 0.90-3 0
100 /var/lib/dpkg/status

________________________________________________

root@silver:/home/c01100011# apt-cache policy mplayer-386
mplaroot@silver:/home/c01100011#yer-386:
Installed: (none)
Candidate: 1:1.0-pre3cvs20040404-0.0
Version Table:
1:1.0-pre3cvs20040404-0.0 0
500 ftp://ftp.nerim.net unstable/main Packages

Stephen
04-19-2004, 03:11 AM
Lets see if dpkg wants to remove it then use dpkg -P mplayer.

c01100011
04-19-2004, 03:38 AM
can't win can i :?:

root@silver:/home/c01100011# dpkg -P mplayer
dpkg: error processing mplayer (--purge):
Package is in a very bad inconsistent state - you should
reinstall it before attempting a removal.
Errors were encountered while processing:
mplayer

:evil:

Durand Hicks
04-19-2004, 07:19 AM
Wow! I've checked this thread with interest, and I can't believe that no matter if you used apt-get remove --purge or dpkg --purge to remove mplayer and it results in an inability to remove the package. Going back to your earlier post, have you tried removing the libs that it was stuck on and then came back to removing mplayer before getting the correct one?

Stephen
04-19-2004, 07:39 AM
can't win can i :?:

root@silver:/home/c01100011# dpkg -P mplayer
dpkg: error processing mplayer (--purge):
Package is in a very bad inconsistent state - you should
reinstall it before attempting a removal.
Errors were encountered while processing:
mplayer

:evil:

Alright then give dpkg --force-remove-reinstreq -P mplayer a try to force it, looks like the only way to get rid of the damn thing.

c01100011
04-19-2004, 11:35 AM
:D :D :D :D IT WORKED !
Thank you so much , Eventhough i am encountering some wierd and time consuming promblems while using linux , having a community that supports it's software instead of a tech support line that puts you on hold for 2 hours makes it all worth it.

Stephen
04-19-2004, 08:21 PM
:D :D :D :D IT WORKED !
Thank you so much , Eventhough i am encountering some wierd and time consuming promblems while using linux , having a community that supports it's software instead of a tech support line that puts you on hold for 2 hours makes it all worth it.

Good to heard you got it going, any time in the future when you are trying to install packages from third party sources make sure that they are built for the testing/unstable branches it was the package being built for stable that was causing the problems. Oh and did you install the w32codecs package that gives you the libraries required to watch the windows/apple file formats.