Bug#484585: libpostproc51: Can't upgrade from Etch to unstable

Christian Marillat marillat at debian.org
Thu Jun 5 12:45:06 UTC 2008


Reinhard Tartler <siretart at tauware.de> writes:

> merge 484585 484586 484587
> retitle 484585 "installing ffmpeg from http://debian-multimedia.org breaks upgrades to lenny"
> stop
>
> Russell Coker <russell at coker.com.au> writes:
>
>> Unpacking libpostproc51 (from .../libpostproc51_0.svn20080206-8_i386.deb) ...
>> dpkg: error processing /var/cache/apt/archives/libpostproc51_0.svn20080206-8_i386.deb (--unpack):
>>  trying to overwrite `/usr/lib/libpostproc.so.51.1.0', which is also in package libpostproccvs51
>>
>>
>> Unpacking libavcodec51 (from .../libavcodec51_0.svn20080206-8_i386.deb) ...
>> dpkg: error processing /var/cache/apt/archives/libavcodec51_0.svn20080206-8_i386.deb (--unpack):
>>  trying to overwrite `/usr/lib/libavcodec.so.51', which is also in package libavcodeccvs51
>>
>> dpkg: error processing /var/cache/apt/archives/libavutil49_0.svn20080206-8_i386.deb (--unpack):
>>  trying to overwrite `/usr/lib/libavutil.so.49', which is also in package libavutilcvs49
>>
>> The above came from using dselect to upgrade from Etch to unstable.
>
> That's because you have installed packages from an unofficial package
> source, most likely http://debian-multimedia.org. I acknowlede that this
> is a problem, but not strictly a bug in the packages in debian.
>
> It used to work in the past because debian has introduced a debian
> specific soname on the libraries. If Christian had done so as well, you
> wouldn't see the bug.
>
> So the question remains, what can we do here:
>
>  a) ignore this issue
>  b) add Conflict/Replaces against the packages of
>     http://debian-multimedia.org
>  c) introduce a private soname for ffmpeg in
>     http://debian-multimedia.org, similar like previously in debian.
>
> Christian, I'd like to hear your input on this issue.

This is already fixed in my package. Each new name packages (without
cvs in package name) conflicts/replaces the old packages name (with
cvs in package name). Example with libavcodec51 :

,----
| $ apt-cache show libavcodec51
| Package: libavcodec51
| Priority: optional
| Section: libs
| Installed-Size: 3952
| Maintainer: Christian Marillat <marillat at debian.org>
| Architecture: i386
| Source: ffmpegcvs
| Version: 3:20080531-0.1
| Replaces: libavcodeccvs51
| 
| Conflicts: libavcodeccvs51
`----

Christian





More information about the pkg-multimedia-maintainers mailing list