Package: bsdmainutils
Version: 12.1.7+nmu2
Severity: important
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:

https://www.debian.org/doc/debian-policy/ch-maintainerscripts.html#details-of-removal-and-or-configuration-purging

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

Filing this as important as having a piuparts clean archive is a release
goal since lenny.

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

0m28.1s INFO: Warning: Package purging left files on system:
  /etc/alternatives/from -> /usr/bin/bsd-from    not owned
  /etc/alternatives/from.1.gz -> /usr/share/man/man1/bsd-from.1.gz       not 
owned
  /etc/calendar/         not owned
  /etc/cron.daily/bsdmainutils.dpkg-remove       not owned
  /usr/bin/from -> /etc/alternatives/from        not owned
  /usr/share/man/man1/from.1.gz -> /etc/alternatives/from.1.gz   not owned


Since the /usr/bin/bsd-from binary has been dropped in bullseye,
the alternative set up by the package from buster needs to be
cleaned up during postinst configure:

    update-alternatives --remove write /usr/bin/bsd-write


cheers,

Andreas

Attachment: bsdmainutils_12.1.7+nmu2.log.gz
Description: application/gzip

Reply via email to