[packman] Manual dependencies on ffmpeg: not good

Jan Engelhardt jengelh at inai.de
Sun Jun 17 15:25:35 CEST 2012

On Sunday 2012-06-17 14:39, Manfred Tremmel wrote:

>Am Dienstag, 12. Juni 2012, 18:01:39 schrieb Jan Engelhardt:
>> My openSUSE_12.1 system currently has ffmpeg-0.9.1-1.1[packman], but
>ffmpeg 0.9.1 has been replaced in January, you realy should update to 
>the latest version.
>> zypper does not want to update to ffmpeg-0.11[packman], because of
>> some whacky manual dependencies that someone had added. Drilled down
>> (minimal testcase), in rpm lingo,:
>make a "zypper dup", this should resolve.

I do not consider that an ideal solution, because it replaces all 
packages by random vendors, depending on which repositories are enabled.

>> Installation of libavcodec54 would force libavdevice53 out the
>> system, which is an operation that is penalized by zypper and thus
>> not rejected for "zypper up". libavdevice53.rpm is set to depend on a
>> specific libavutil51 version. That is not how library versioning is
>> meant to be done.
>This is how to prevent from incompatiblities through out different 
>compiling options or other problems.

In that case, I suggest using a separate provides/requires, e.g.

Provides:	libavcodec-tremmels-special-cflags = 12

More information about the Packman mailing list