Package: infinoted
Version: 0.5.2-6
Severity: serious
Tags: patch
User: debian...@lists.debian.org
Usertags: piuparts

Hi,

during a test with piuparts I noticed your package left unowned files on
the system after purge, which is a violation of policy 6.8:

http://www.debian.org/doc/debian-policy/ch-maintainerscripts.html#s-removedetails

The leftover files are actually alternatives that were installed by the
package but have not been properly removed.

This was observed on upgrades from squeeze to wheezy.

Since infinoted has stopped using alternatives and instead it ships the
/usr/bin/infinoted symlink, there needs to be Breaks: against all
packages that were still using alternatives to handle infinoted.

Furthermore the infinoted-0.4/squeeze package does not clean up the
alternative on removal (it tries to remove a infinoted-0.3 alternative
instead), so this should be handled by infinoted/wheezy, too.

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

0m56.6s INFO: Warning: Package purging left files on system:
  /etc/alternatives/infinoted -> /usr/bin/infinoted-0.4  not owned
  /usr/bin/infinoted -> /etc/alternatives/infinoted      owned by: infinoted

Filing this as serious as mixing shipped symlinks and alternatives can
easily break things, as seen above: /usr/bin/infinoted still points to
infinoted-0.4 via the alternative instead of -0.5 as in the shipped
symlink.

I'll attach a patch once I got the bug number and intend to NMU
libinfinity in a few days to get this fixed in wheezy.


cheers,

Andreas

Attachment: infinoted_0.5.2-6.log.gz
Description: GNU Zip compressed data

Reply via email to