* Andreas Beckmann <deb...@abeckmann.de>, 2012-01-13, 11:40:
during a test with piuparts I noticed your package fails to upgrade from
squeeze. It installed fine in squeeze, then the upgrade to wheezy fails
because it tries to overwrite other packages files without declaring a
replaces relation.

See policy 7.6 at
http://www.debian.org/doc/debian-policy/ch-relationships.html#s-replaces

From the attached log (scroll to the bottom...):

 Selecting previously deselected package libuim7.
 Unpacking libuim7 (from .../libuim7_1%3a1.7.1-3_amd64.deb) ...
 dpkg: error processing /var/cache/apt/archives/libuim7_1%3a1.7.1-3_amd64.deb 
(--unpack):
  trying to overwrite '/usr/lib/libuim-custom.so.2', which is also in package 
libuim6 1:1.5.7-9.1

http://piuparts.debian.org/squeeze2wheezy/fail/uim-utils_1:1.7.1-3.log

Probably
 Conflicts: libuim6
 Replaces: libuim6
will be needed because the libuim6 package may be unusable after installing libuim7 and will be unusable after installing and removing libuim7 because some file has disappeared.

Normally multiple versions of shared library packages should be co-installable with each other. So a better way to fix this would be to move libuim-custom and libuim-scm libraries into separate packages and make _them_ conflict with libuim6. (This still does not allow libuim{6,7} co-installability, but at least will help to avoid such bugs in the future.)

--
Jakub Wilk



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

Reply via email to