Recently, there has been some gnashing of teeth around the Internet regarding the latest ATrpms build of ffmpeg for RHEL and its clones (including Scientific Linux and CentOS). If you try to install or upgrade it, you get something like the following not-terribly-helpful error once yum finishes its dependency resolution:
Error: Package: libavcodec53-0.10-54.el6.x86_64 (atrpms) Requires: libvpx.so.1()(64bit) You could try using --skip-broken to work around the problem You could try running: rpm -Va --nofiles --nodigest
Thankfully, this is very easy to fix! Read on for details!
The problem stems, of course, from the fact that RHEL rarely updates software versions in a major release. (This is why we run it, right?) So, the libvpx provided by the system is old and will stay that way. ffmpeg, obviously, is expecting functionality that has been introduced since that time.
ATrpms has a (poorly named) "testing" repository, which is where they place things that overwrite OS-provided packages. Since they have many things in their testing repository, and you only want the updated libvpx, all you have to do is tell yum this. Simple, eh?
The summary of what you need to do is as follows:
If the summary isn't enough to get it done for you, fear not! It's simpler than it sounds!
Edit (as root) /etc/yum.repos.d/atrpms-testing.repo in your text editor of choice and make sure that the
[atrpms-testing] name=Red Hat Enterprise Linux $releasever - $basearch - ATrpms testing failovermethod=priority baseurl=http://dl.atrpms.net/el$releasever-$basearch/atrpms/testing enabled=1 gpgcheck=1 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-atrpms priority=1 includepkgs=libvpx*
You should be able to safely just replace your existing
Now, you should be able to just
By the way, Axel Thimm of ATrpms gives a brief synopsis of the basic problem in a post on their mailing list. Unfortunately, they haven't posted instructions on how to resolve the problem, hence these directions.
Hopefully this will get your yum happy again with ffmpeg. Enjoy!
If you have a desire to share these instructions on twitter, you can retweet this:
Archives By Month