* Savvas Radevic <vice...@gmail.com> [2009-06-02 12:50]:

> I'm not completely sure, but I think the package is missing
> "Conflicts" and "Replaces" for older libmtp* packages?
> 
> Something like:
> 
> Conflicts: libmtp7, libmtp6, libmtp5
> Replaces: libmtp7, libmtp6, libmtp5
> 
> ..in debian/control.in and debian/control files.

This is something that should absolutely *_never_* be done with shared
library packages.  Newer SONAME versions do not replace older ones. Some
packages depend on libmtp5, says, because they contain programs that link
against /usr/lib/libmtp.so.5.*.  If you make libmtp6, say, replace
libmtp5, then the library above will be gone and... BOOM! packages
depending on libmtp5 will crash.

This is the very reason we change the package name when a version of the
library is backward-incompatible with previous version.  Those package
_*must_* co-exist in peace in the system.

In sum: never, ever try to implement Conflicts/Replaces as proposed
above.

-- 
Rafael



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to