LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 04-22-2006, 05:49 PM   #1
Quantumstate
Member
 
Registered: Jun 2005
Location: Seattle, Ecotopia
Distribution: CentOS 7.4 with KDE
Posts: 262

Rep: Reputation: 22
Apt Dependency Deadlock


Ugh, trying to install ffmpeg, and something's gone terrible wrong with apt.

I started out with testing in my sources.lst, but when the problem, commented that out and left only Sarge. No change.

Code:
# apt-get install ffmpeg
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:
  ffmpeg: Depends: libavutilcvs49 (>= 3:20060323) but it is not going to be installed
  libavcodeccvs51: Depends: libavutilcvs49 (>= 3:20060323) but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
#
Code:
# apt-get -f install
Reading package lists... Done
Building dependency tree... Done
Correcting dependencies... Done
The following extra packages will be installed:
  libavutilcvs49
The following NEW packages will be installed:
  libavutilcvs49
0 upgraded, 1 newly installed, 0 to remove and 7 not upgraded.
8 not fully installed or removed.
Need to get 0B/18.6kB of archives.
After unpacking 73.7kB of additional disk space will be used.
Do you want to continue [Y/n]?
(Reading database ... 131774 files and directories currently installed.)
Unpacking libavutilcvs49 (from .../libavutilcvs49_3%3a20060323-0.1_i386.deb) ...
dpkg: error processing /var/cache/apt/archives/libavutilcvs49_3%3a20060323-0.1_i386.deb (--unpack):
 trying to overwrite `/usr/lib/libavutil.so.49.0.0', which is also in package libavutil49
Errors were encountered while processing:
 /var/cache/apt/archives/libavutilcvs49_3%3a20060323-0.1_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
#
Code:
# apt-get -f remove libavutil49
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:
  ffmpeg: Depends: libavutilcvs49 (>= 3:20060323) but it is not going to be installed
  libavcodeccvs51: Depends: libavutilcvs49 (>= 3:20060323) but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
#
The 'force' flag seems to be ineffective.

Any ideas?
 
Old 04-22-2006, 06:11 PM   #2
ataraxia
Member
 
Registered: Apr 2006
Location: Pittsburgh
Distribution: Debian Sid AMD64
Posts: 296

Rep: Reputation: 30
The "-f" flag does not mean "force". It actually stands for "fix broken" and can best be summed up as "ignore what I said to do, if it will fix things". So, I suggest running "apt-get remove libavutil49" without the "-f", and see if that improves things at all.

Also, you could try using dselect - it may make some suggestions (though it may also get you more goofed up).
 
Old 04-22-2006, 06:16 PM   #3
leonscape
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Debian SID / KDE 3.5
Posts: 2,313

Rep: Reputation: 48
Try removing all of them at once

apt-get -f remove libavutil49 libavutilcvs49 ffmpeg

Then install ffmpeg, has worked for me before, just depends on the way their packaged if it works for you. libavutilcvs49 should have been marked as incompatabile with libavutil49.

Do an update before you do this.
 
Old 04-22-2006, 06:29 PM   #4
Quantumstate
Member
 
Registered: Jun 2005
Location: Seattle, Ecotopia
Distribution: CentOS 7.4 with KDE
Posts: 262

Original Poster
Rep: Reputation: 22
Thanks, but I'd tried this in several permutations:
Code:
# apt-get remove libavutil49
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:
  ffmpeg: Depends: libavutilcvs49 (>= 3:20060323) but it is not going to be installed
  libavcodeccvs51: Depends: libavutilcvs49 (>= 3:20060323) but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
... and I've tried installing and removing every other package mentioned in these messages, but it's stuck.
Code:
# apt-get -f remove libavutil49 libavutilcvs49 ffmpeg
Reading package lists... Done
Building dependency tree... Done
Package libavutilcvs49 is not installed, so not removed
You might want to run `apt-get -f install' to correct these:
The following packages have unmet dependencies:
  libavcodeccvs51: Depends: libavutilcvs49 (>= 3:20060323) but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
Have done several updates after including only Sarge in the sources.

A little afraid of dselect.
 
Old 04-22-2006, 06:34 PM   #5
leonscape
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Debian SID / KDE 3.5
Posts: 2,313

Rep: Reputation: 48
Add libavcodeccvs51 to the line, and any others that appear.

apt-get -f remove libavutil49 libavutilcvs49 ffmpeg libavcodeccvs51
 
Old 04-22-2006, 06:54 PM   #6
Quantumstate
Member
 
Registered: Jun 2005
Location: Seattle, Ecotopia
Distribution: CentOS 7.4 with KDE
Posts: 262

Original Poster
Rep: Reputation: 22
Oh man, thank you. I lack to had a heart attack when it worked!

How did you know to do this? Do I dare reinstall ffmpeg?
 
Old 04-22-2006, 08:13 PM   #7
leonscape
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Debian SID / KDE 3.5
Posts: 2,313

Rep: Reputation: 48
Yes try installing ffmpeg.

I learned this just by figuring it out when I needed it myself. You have to learn these things when you use 3rd Party Respositories.

Are you using ftp://ftp.nerim.net/debian-marillat/ this is where I got ffmpeg and mplayer etc, a good site.

Last edited by leonscape; 04-22-2006 at 08:15 PM.
 
Old 04-23-2006, 09:33 AM   #8
Quantumstate
Member
 
Registered: Jun 2005
Location: Seattle, Ecotopia
Distribution: CentOS 7.4 with KDE
Posts: 262

Original Poster
Rep: Reputation: 22
Yes, thanks. Got AVView compiled now (Gatos), but it crashes on setup. Suspect it's too old for current ffmpeg,as it recommends the ancient 0.4.8 (which won't even compile for me).

But, I'm having second thoughts about using my built-in ATI Rage Mobility M3 for video capture. Although it is represented to work, I'd like to capture HDTV, rather than SVideo.

Are there any cardbus cards which are known to work for HDTV? I realize that it's a tall order.
 
  


Reply

Tags
apt-get, dependencies


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
apt-get dependency problem (with skype) eantoranz Linux - Software 7 02-16-2006 07:26 PM
Dependency error in apt-get. How to solve? kushalkoolwal Debian 2 11-28-2005 12:36 PM
gimp2.0/apt-get dependency weirdness edwardOG Debian 3 05-04-2004 03:07 PM
apt-get dependency problems with libqt3c102-mt smith847be Debian 1 01-01-2004 04:58 PM
apt-get Created Dependency Hell!! Shinobi Linux - Software 6 04-07-2003 11:35 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 04:59 PM.

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration