Posts: 89
Stuart O'mahony
Joined: 07 Mar 2010
#1
Presently I am unable to carry out any installs, each time I see this error:

Code: Select all

stuart@stuart:~$ sudo apt-get --upgrade install firefox
[sudo] password for stuart: 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
firefox is already the newest version.
You might want to run `apt-get -f install' to correct these:
The following packages have unmet dependencies:
  avidemux-plugins: Depends: libjack-jackd2-0 (>= 1.9.5~dfsg-14) but it is not going to be installed or
                             libjack-0.116
  gstreamer0.10-plugins-bad: Depends: libflite1 but it is not going to be installed
                             Depends: libgstreamer-plugins-base0.10-0 (>= 0.10.29) but 0.10.26-1 is to be installed
                             Depends: libgstreamer0.10-0 (>= 0.10.29) but 0.10.26-1 is to be installed
                             Depends: libjack-jackd2-0 (>= 1.9.5~dfsg-14) but it is not going to be installed or
                                      libjack-0.116
                             Depends: libmodplug1 but it is not going to be installed
                             Depends: libslv2-9 (>= 0.6.4-1~) but it is not going to be installed
                             Depends: libwildmidi1 (>= 0.2.3) but it is not going to be installed
                             Depends: libzbar0 (>= 0.10) but it is not going to be installed
  libavdevice52: Depends: libjack-jackd2-0 (>= 1.9.5~dfsg-14) but it is not going to be installed or
                          libjack-0.116
  libxine1: Depends: libxine1-x (= 1.1.19-2) but 1.1.17-1+b1 is to be installed
            Depends: libxine1-console (= 1.1.19-2) but 1.1.17-1+b1 is to be installed
  libxine1-misc-plugins: Depends: libgraphicsmagick3 (>= 1.3.5) but it is not going to be installed
                         Depends: libjack-jackd2-0 (>= 1.9.5~dfsg-14) but it is not going to be installed or
                                  libjack-0.116
                         Depends: libmng1 (>= 1.0.10) but 1.0.9-1 is to be installed
                         Depends: libmodplug1 but it is not going to be installed
                         Depends: libxine1-bin (= 1.1.19-2) but 1.1.17-1+b1 is to be installed
  mhwaveedit: Depends: libjack-jackd2-0 (>= 1.9.5~dfsg-14) but it is not going to be installed or
                       libjack-0.116
  moc: Depends: libjack-jackd2-0 (>= 1.9.5~dfsg-14) but it is not going to be installed or
                libjack-0.116
       Depends: libmodplug1 but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
And if I try what is suggested:

Code: Select all

stuart@stuart:~$ sudo apt-get -f install
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Correcting dependencies... Done
The following packages were automatically installed and are no longer required:
  libwildmidi0 libdes425-3 libwxgtk2.8-0 audacity-data libflac++6 libx264-83
  libcelt0 libwxbase2.8-0 libjline-java mplayer-skin-blue libmagickcore2
  libmagickwand2 rhino libvdpau1
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
  freepats libflite1 libgraphicsmagick3 libgstreamer-plugins-base0.10-0
  libgstreamer0.10-0 libjack-jackd2-0 libmng1 libmodplug1 libslv2-9
  libwildmidi1 libxine1-bin libxine1-console libxine1-ffmpeg libxine1-x
  libzbar0 mplayer
Suggested packages:
  graphicsmagick-dbg gstreamer-codec-install gnome-codec-install
  gstreamer0.10-tools gstreamer0.10-plugins jackd2 slv2-jack mplayer-doc
  netselect fping
The following packages will be REMOVED:
  libjack0 mpd mpdpss
The following NEW packages will be installed:
  freepats libflite1 libgraphicsmagick3 libjack-jackd2-0 libmodplug1 libslv2-9
  libwildmidi1 libzbar0
The following packages will be upgraded:
  libgstreamer-plugins-base0.10-0 libgstreamer0.10-0 libmng1 libxine1-bin
  libxine1-console libxine1-ffmpeg libxine1-x mplayer
8 upgraded, 8 newly installed, 3 to remove and 732 not upgraded.
22 not fully installed or removed.
Need to get 0B/45.5MB of archives.
After this operation, 40.5MB of additional disk space will be used.
Do you want to continue [Y/n]? y
(Reading database ... 98143 files and directories currently installed.)
Preparing to replace mplayer 1:1.0.rc2svn20100219-0.0 (using .../mplayer_2%3a1.0~rc3++final.dfsg1-1_i386.deb) ...
Unpacking replacement mplayer ...
dpkg: error processing /var/cache/apt/archives/mplayer_2%3a1.0~rc3++final.dfsg1-1_i386.deb (--unpack):
 trying to overwrite '/usr/share/man/es/man1/mencoder.1.gz', which is also in package mencoder 2:1.0~rc3+svn20100503-0.0
Processing triggers for man-db ...
Errors were encountered while processing:
 /var/cache/apt/archives/mplayer_2%3a1.0~rc3++final.dfsg1-1_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
stuart@stuart:~$ 
Any bright spark know how I can clean this up?
Last edited by Stuart O'mahony on 24 Sep 2010, 18:32, edited 1 time in total.
Posts: 51
wayne128
Joined: 05 Sep 2010
#2
I too had this problem of apt-get install not workings for many days.

i ended up using synaptic package manager for installation
Posts: 89
Stuart O'mahony
Joined: 07 Mar 2010
#3
I thought they were 'one of the same' so to speak, i.e. synaptic is the frontend to the apt-get commands.

I'm wondering now if the problem isn't related to the repos that i've enabled: there are two branches for mplayer (stable and testing), where only testing is currently enabled. Seems no stable branches are enabled in fact.

Code: Select all

stuart@stuart:/etc$ cat apt/sources.list
# See sources.list(5) for more information

# Note:If you want maximum stability, only use the stable repos.
# If you want to install kde3.5, you MUST only use the stable repos.

# Mepis 8 series. Only use for kernel upgrades.
# deb ftp://ftp.mepis.com/mepis/ mepis-8.5 main 
deb http://fr1.mepis-deb.org/mepis/ mepis-8.0 main 
# Debian
# deb http://ftp.us.debian.org/debian/ stable main contrib non-free 
deb http://ftp.us.debian.org/debian/ testing main contrib non-free 
deb http://security.debian.org/ testing/updates main contrib non-free 
# deb-src http://ftp.us.debian.org/debian/ stable main contrib non-free 

# mplayer
# deb http://www.debian-multimedia.org/ stable main 
deb http://www.debian-multimedia.org/ testing main 

# Goggles music manager
deb http://apt.progchild.de/ stable main 

# Mepis Community Main, Restricted, and Test Repos
# deb http://main.mepis-deb.org/mepiscr/repo/ mepis8cr main non-free 
# deb http://restricted.mepis-deb.org/mepiscr/repo/ mepis8cr restricted restricted-non-free 
# deb http://main.mepis-deb.org/mepiscr/testrepo/ mepis8cr test 
# deb http://restricted.mepis-deb.org/mepiscr/testrepo/ mepis8cr test-restricted  

# opera
# deb http://deb.opera.com/opera/ lenny non-free 

# virtualbox
# deb http://download.virtualbox.org/virtualbox/debian/ lenny non-free 

# liquorix kernels
# deb http://liquorix.net/debian/ sid main 

###### Debian Unstable/Sid##########
########
########
###### Use at your own risk! ########
# deb http://ftp.us.debian.org/debian/ unstable main contrib non-free 
# deb http://www.debian-multimedia.org/ unstable main
anticapitalista
Posts: 5,956
Site Admin
Joined: 11 Sep 2007
#4
Try

#apt-get purge mencoder
#apt-get -f install
Posts: 89
Stuart O'mahony
Joined: 07 Mar 2010
#5
No go:

Code: Select all

 stuart@stuart:~$ sudo apt-get purge mencoder
Reading package lists... Done
Building dependency tree       
Reading state information... Done
You might want to run `apt-get -f install' to correct these:
The following packages have unmet dependencies:
  avidemux-plugins: Depends: libjack-jackd2-0 (>= 1.9.5~dfsg-14) but it is not going to be installed or
                             libjack-0.116
  gstreamer0.10-plugins-bad: Depends: libflite1 but it is not going to be installed
                             Depends: libgstreamer-plugins-base0.10-0 (>= 0.10.29) but 0.10.26-1 is to be installed
                             Depends: libgstreamer0.10-0 (>= 0.10.29) but 0.10.26-1 is to be installed
                             Depends: libjack-jackd2-0 (>= 1.9.5~dfsg-14) but it is not going to be installed or
                                      libjack-0.116
                             Depends: libmodplug1 but it is not going to be installed
                             Depends: libslv2-9 (>= 0.6.4-1~) but it is not going to be installed
                             Depends: libwildmidi1 (>= 0.2.3) but it is not going to be installed
                             Depends: libzbar0 (>= 0.10) but it is not going to be installed
  libavdevice52: Depends: libjack-jackd2-0 (>= 1.9.5~dfsg-14) but it is not going to be installed or
                          libjack-0.116
  libxine1: Depends: libxine1-x (= 1.1.19-2) but 1.1.17-1+b1 is to be installed
            Depends: libxine1-console (= 1.1.19-2) but 1.1.17-1+b1 is to be installed
  libxine1-misc-plugins: Depends: libgraphicsmagick3 (>= 1.3.5) but it is not going to be installed
                         Depends: libjack-jackd2-0 (>= 1.9.5~dfsg-14) but it is not going to be installed or
                                  libjack-0.116
                         Depends: libmng1 (>= 1.0.10) but 1.0.9-1 is to be installed
                         Depends: libmodplug1 but it is not going to be installed
                         Depends: libxine1-bin (= 1.1.19-2) but 1.1.17-1+b1 is to be installed
  mhwaveedit: Depends: libjack-jackd2-0 (>= 1.9.5~dfsg-14) but it is not going to be installed or
                       libjack-0.116
  moc: Depends: libjack-jackd2-0 (>= 1.9.5~dfsg-14) but it is not going to be installed or
                libjack-0.116
       Depends: libmodplug1 but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
stuart@stuart:~$ sudo apt-get -f install
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Correcting dependencies... Done
The following packages were automatically installed and are no longer required:
  libwildmidi0 libdes425-3 libwxgtk2.8-0 audacity-data libflac++6 libx264-83
  libcelt0 libwxbase2.8-0 libjline-java mplayer-skin-blue libmagickcore2
  libmagickwand2 rhino libvdpau1
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
  freepats libflite1 libgraphicsmagick3 libgstreamer-plugins-base0.10-0
  libgstreamer0.10-0 libjack-jackd2-0 libmng1 libmodplug1 libslv2-9
  libwildmidi1 libxine1-bin libxine1-console libxine1-ffmpeg libxine1-x
  libzbar0 mplayer
Suggested packages:
  graphicsmagick-dbg gstreamer-codec-install gnome-codec-install
  gstreamer0.10-tools gstreamer0.10-plugins jackd2 slv2-jack mplayer-doc
  netselect fping
The following packages will be REMOVED:
  libjack0 mpd mpdpss
The following NEW packages will be installed:
  freepats libflite1 libgraphicsmagick3 libjack-jackd2-0 libmodplug1 libslv2-9
  libwildmidi1 libzbar0
The following packages will be upgraded:
  libgstreamer-plugins-base0.10-0 libgstreamer0.10-0 libmng1 libxine1-bin
  libxine1-console libxine1-ffmpeg libxine1-x mplayer
8 upgraded, 8 newly installed, 3 to remove and 732 not upgraded.
22 not fully installed or removed.
Need to get 0B/45.5MB of archives.
After this operation, 40.5MB of additional disk space will be used.
Do you want to continue [Y/n]? y
(Reading database ... 98143 files and directories currently installed.)
Preparing to replace mplayer 1:1.0.rc2svn20100219-0.0 (using .../mplayer_2%3a1.0~rc3++final.dfsg1-1_i386.deb) ...
Unpacking replacement mplayer ...
dpkg: error processing /var/cache/apt/archives/mplayer_2%3a1.0~rc3++final.dfsg1-1_i386.deb (--unpack):
 trying to overwrite '/usr/share/man/es/man1/mencoder.1.gz', which is also in package mencoder 2:1.0~rc3+svn20100503-0.0
Processing triggers for man-db ...
Errors were encountered while processing:
 /var/cache/apt/archives/mplayer_2%3a1.0~rc3++final.dfsg1-1_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
stuart@stuart:~$ 
anticapitalista
Posts: 5,956
Site Admin
Joined: 11 Sep 2007
#6
dpkg -i --force-overwrite /var/cache/apt/archives/mplayer_2%3a1.0~rc3++final.dfsg1-1_i386.deb
apt-get -f install.

You may need to do an apt-get clean and apt-get install again
Posts: 89
Stuart O'mahony
Joined: 07 Mar 2010
#7
As far as I can tell this has cleaned things up, but now the upgraded mplayer isn't working because it was had from deb
========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://www.debian-multimedia.org/"
linktext was:"http://www.debian-multimedia.org/"
====================================
testing main. I have read the following error amongst bug reports:

Code: Select all

stuart@stuart:~$ mplayer Beavis\ \&\ Butt-Head\ The\ Complete\ Collection/Season\ 5/S05E*
mplayer: relocation error: mplayer: symbol codec_wav_tags, version LIBAVFORMAT_52 not defined in file libavformat.so.52 with link time reference
I have read this thread here, too:

post15379.html

Like benji says, a downgrade seems the more elegant option. What's the simplist way to achieve this?
anticapitalista
Posts: 5,956
Site Admin
Joined: 11 Sep 2007
#8
Make sure /etc/apt.conf file is empty and /etc/apt/preferences has only
Package: linux-kbuild-2.6.32
Pin: release n=mepis
Pin-Priority: 995

or is also empty.

If those files are ok, then you could purge mplayer and the libavformat files, comment out debian multimedia repo and then
apt-get update
apt-get install mplayer
Posts: 89
Stuart O'mahony
Joined: 07 Mar 2010

24 Sep 2010, 15:38 #9

Okay, before I proceed, I trust you mean the apt.conf file at /etc/apt as I don't seem to have the config file at /etc? Out of curiousity what do these files tell apt-get to do, or not do?

Code: Select all

stuart@stuart:~$ sudo apt-file search libavformat.so.52
ffmpeg-dbg: /usr/lib/debug/usr/lib/i686/cmov/libavformat.so.52.31.0
ffmpeg-dbg: /usr/lib/debug/usr/lib/i686/cmov/libavformat.so.52.66.0
ffmpeg-dbg: /usr/lib/debug/usr/lib/libavformat.so.52.31.0
ffmpeg-dbg: /usr/lib/debug/usr/lib/libavformat.so.52.66.0
libavformat52: /usr/lib/i686/cmov/libavformat.so.52
libavformat52: /usr/lib/i686/cmov/libavformat.so.52.31.0
libavformat52: /usr/lib/i686/cmov/libavformat.so.52.66.0
libavformat52: /usr/lib/libavformat.so.52
libavformat52: /usr/lib/libavformat.so.52.31.0
libavformat52: /usr/lib/libavformat.so.52.66.0
stuart@stuart:~$ 
Any other candidate packages for purging do you think, other than mplayer and libavformat52? You think I should bother with ffmpeg-dbg?
anticapitalista
Posts: 5,956
Site Admin
Joined: 11 Sep 2007
#10
Yes /etc/apt/apt.conf

Those files set the preferences for various repos. Useful if you use multiple repos such as Debian, multimedia, MEPIS, Mint etc etc but I have found thet cause some issues when using a rolling release as some apps will pull from various repos and cause things to out of sync.

You shouldn't need ffmpeg--dbg.
Posts: 89
Stuart O'mahony
Joined: 07 Mar 2010
#11
Did all that, but looks like the key has expired for one repo.

Code: Select all

stuart@stuart:/etc/apt$ sudo apt-get update
...
Reading package lists... Done
W: GPG error: http://apt.progchild.de stable Release: The following signatures were invalid: KEYEXPIRED 1284453048 KEYEXPIRED 1284453048 KEYEXPIRED 1284453048
stuart@stuart:/etc/apt$ sudo apt-get install mplayer
Reading package lists... Done
Building dependency tree       
Reading state information... 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:
  mplayer: Depends: libavformat52 (>= 4:0.5.1-1) but it is not going to be installed or
                    libavformat-extra-52 (>= 4:0.5.1-1) but it is not installable
E: Broken packages
stuart@stuart:/etc/apt$ 
Looks like there's some versioning issue with the libavformat52 package. Which repo supplies this?
anticapitalista
Posts: 5,956
Site Admin
Joined: 11 Sep 2007
#12
Remove ffmpeg as well and then re-install mplayer.

ffmpeg, mplayer and their libs are in both multimedia and Debian repo and sometimes they get out of sync.

Don't worry about the key expiring.

gpg-error-in-synaptic-apt-progchild-de-t2680.html
Posts: 89
Stuart O'mahony
Joined: 07 Mar 2010
#13
ffmpeg isn't installed, it got 'taken out' when I purged libavformat52 already.
anticapitalista
Posts: 5,956
Site Admin
Joined: 11 Sep 2007
#14
Purge any libavformat libs (you could search in synaptic) and then

apt-get clean
apt-get update
apt-get install mplayer.

If that doesn't work, re-enable the debian-multimedia repo and do the above again.
Posts: 89
Stuart O'mahony
Joined: 07 Mar 2010
#15
Back in business!

I had to additionally remove the libavcodec52 and libswscale0 packages, as each I gather were attached to the 'other' mplayer.

Thankyou for all your help, everything appears fixed up now.