Friday, April 19, 2024
1
rated 0 times [  1] [ 0]  / answers: 1 / hits: 16060  / 2 Years ago, thu, march 3, 2022, 6:58:34

I faced an issue recently when tried to install ffmpeg on my Ubuntu computer. I am running Ubuntu 11.10 64 bit, all latest updates are installed and system runs perfectly, however i feel need in recording my desktop and have read many articles that ffmpeg is one of the best recording tools for it (besides providing packages for video) So I tried to run



sudo apt-get install ffmpeg


However i wasn't able to do this because packages have unmet dependencies.
Here is a full text I receive after trying to install package above.



 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: ffmpeg : Depends:
libavcodec53 (< 4:0.7.3-99) but it is not going to be installed or
libavcodec-extra-53 (< 4:0.7.3.99) but 4:0.8.0.1~ppa2 is to be installed
Depends: libavdevice53 (>= 4:0.7.3-0ubuntu0.11.10.1) but it is not going to be installed or
libavdevice-extra-53 (>= 4:0.7.3) but it is not going to be installed
Depends: libavdevice53 (< 4:0.7.3-99) but it is not going to be installed or
libavdevice-extra-53 (< 4:0.7.3.99) but it is not going to be installed
Depends: libavfilter2 (>= 4:0.7.3-0ubuntu0.11.10.1) but it is not going to be installed or
libavfilter-extra-2 (>= 4:0.7.3) but it is not going to be installed
Depends: libavfilter2 (< 4:0.7.3-99) but it is not going to be installed or
libavfilter-extra-2 (< 4:0.7.3.99) but it is not going to be installed
Depends: libavformat53 (< 4:0.7.3-99) but 4:0.8-1u1~ppa2 is to be installed or
libavformat-extra-53 (< 4:0.7.3.99) but it is not going to be installed
Depends: libavutil51 (< 4:0.7.3-99) but it is not going to be installed or
libavutil-extra-51 (< 4:0.7.3.99) but 4:0.8.0.1~ppa2 is to be installed
Depends: libpostproc52 (< 4:0.7.3-99) but 4:0.8-1u1~ppa2 is to be installed or
libpostproc-extra-52 (< 4:0.7.3.99) but it is not going to be installed
Depends: libswscale2 (< 4:0.7.3-99) but 4:0.8-1u1~ppa2 is to be installed or
libswscale-extra-2 (< 4:0.7.3.99) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.


This problem hasn't existed on my previous laptop which runs the same Ubuntu 11.10 64 bit as my new one.
Can anyone please help me find a solution without "messing and braking" the whole system?
Thank you for helping in advance.


More From » dependencies

 Answers
7

I'd think you've used this ppa, possibly to install vlc, which installed libavcodec-extra-53 4:0.8.0.1~ppa2 - https://launchpad.net/~n-muench/+archive/vlc



(typically when you see an error like "but blah-blah is to be installed", what that means is 'blah-blah' is already installed



If the ppa is still enabled, (doubtful), then run sudo apt-get update



If it's not currently enabled then re-enable or add back, then run above command & you'll be able to install ffmpeg or libav-tools which provides avconv



avconv will be the preferred way to run 'ffmpeg' as sooner or later the ffmpeg binary will no longer be provided in Debian/Ubuntu



If you decide that using backported ffmpeg shared libs isn't what you want then after enabling the ppa run ppa-purge as suggested. (The ppa isn't proving all packages that depend on the shared ffmpeg libs so some apps or plugins could have issues


[#39985] Friday, March 4, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
disdry

Total Points: 133
Total Questions: 128
Total Answers: 109

Location: Greenland
Member since Fri, Jul 31, 2020
4 Years ago
disdry questions
Tue, Apr 11, 23, 11:37, 1 Year ago
Thu, Oct 13, 22, 19:09, 2 Years ago
Fri, Oct 28, 22, 15:06, 2 Years ago
Sat, Feb 25, 23, 11:33, 1 Year ago
;