Page 1 of 1

[SOLVED] ffmpeg tainted - cannot select package

PostPosted: Sep 10th, '13, 23:33
by quartz
Hello

I wanted to use the mp3 encoding capability of ffmpeg, but only had the core version installed.

So, I uninstalled it using the Mageia Control Centre (fine, no dependency problems highlighted), and went to install the tainted version instead - whereupon the following message appeared:
Code: Select all
Sorry, the following package cannot be selected:

- ffmpeg-0.10.3-1.mga2.tainted.x86_64

This slightly unhelpful message did not suggest the reason for failure, or what to do about it - usually if its dependencies, a list of required dependencies is given.

Any ideas why this cannot be installed? I've got other tainted packages no problem (vlc for instance).

My mageia version is as shown below; all updates performed.
Code: Select all
[root@localhost media]# uname -a
Linux localhost 3.4.34-desktop-1.mga2 #1 SMP Thu Feb 28 21:11:55 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux


Thanks,
Quartz.

Re: ffmpeg tainted - cannot select package

PostPosted: Sep 11th, '13, 07:51
by magfan
Occasionally such things happen to me as well but only if I use mcc. In my cases it helped to call urpmi from the command line:

Code: Select all
 su
urpmi --auto-update -v

Re: ffmpeg tainted - cannot select package

PostPosted: Sep 11th, '13, 21:53
by doktor5000
You can get the real reason why it cannot be selected via
Code: Select all
urpmi --debug ffmpeg

Re: ffmpeg tainted - cannot select package

PostPosted: Sep 12th, '13, 10:41
by quartz
Brilliant, thanks. A little information goes a long way!

First I had to do:
Code: Select all
urpmi --debug --media tainted ffmpeg

...otherwise the core version installed automatically.

I discovered that the tainted version relied on an older version of lib64avfilter2 and lib64avutil51 than was installed so I removed them with urpme, and installed the tainted versions using urpmi --media tainted.

After doing all that, ffmpeg tainted installed correctly and is working well.

Many thanks doktor5000,

Quartz.