[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#926311: marked as done (soundscaperenderer-nox: leaves alternatives after upgrade and purge: /usr/bin/ssr-*)



Your message dated Sat, 13 Apr 2019 18:34:10 +0000
with message-id <E1hFNTe-000CZv-16@fasolo.debian.org>
and subject line Bug#926311: fixed in soundscaperenderer 0.5.0~dfsg-4
has caused the Debian Bug report #926311,
regarding soundscaperenderer-nox: leaves alternatives after upgrade and purge: /usr/bin/ssr-*
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
926311: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=926311
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: soundscaperenderer-nox
Version: 0.5.0~dfsg-3
Severity: important
User: debian-qa@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.

While there is ongoing discussion how to remove alternatives correctly
(see https://bugs.debian.org/71621 for details) the following strategy
should work for regular cases:
* 'postinst configure' always installs the alternative
* 'prerm remove' removes the alternative
* 'postrm remove' and 'postrm disappear' remove the alternative
In all other cases a maintainer script is invoked (e.g. upgrade,
deconfigure) the alternatives are not modified to preserve user
configuration.
Removing the alternative in 'prerm remove' avoids having a dangling link
once the actual file gets removed, but 'prerm remove' is not called in
all cases (e.g. unpacked but not configured packages or disappearing
packages) so the postrm must remove the alternative again
(update-alternatives gracefully handles removal of non-existing
alternatives).

Note that the arguments for adding and removing alternatives differ, for
removal it's 'update-alternatives --remove <name> <path>'.

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

This was observed after an upgrade from stretch to buster.
Obsolete alternatives should be cleaned up in the postinst.

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

0m45.5s INFO: Warning: Package purging left files on system:
  /etc/alternatives/ssr-aap -> /usr/bin/ssr-aap.nox	 not owned
  /etc/alternatives/ssr-aap.1.gz -> /usr/share/man/man1/ssr-aap.nox.1.gz	 not owned
  /etc/alternatives/ssr-binaural -> /usr/bin/ssr-binaural.nox	 not owned
  /etc/alternatives/ssr-binaural.1.gz -> /usr/share/man/man1/ssr-binaural.nox.1.gz	 not owned
  /etc/alternatives/ssr-brs -> /usr/bin/ssr-brs.nox	 not owned
  /etc/alternatives/ssr-brs.1.gz -> /usr/share/man/man1/ssr-brs.nox.1.gz	 not owned
  /etc/alternatives/ssr-generic -> /usr/bin/ssr-generic.nox	 not owned
  /etc/alternatives/ssr-generic.1.gz -> /usr/share/man/man1/ssr-generic.nox.1.gz	 not owned
  /etc/alternatives/ssr-vbap -> /usr/bin/ssr-vbap.nox	 not owned
  /etc/alternatives/ssr-vbap.1.gz -> /usr/share/man/man1/ssr-vbap.nox.1.gz	 not owned
  /etc/alternatives/ssr-wfs -> /usr/bin/ssr-wfs.nox	 not owned
  /etc/alternatives/ssr-wfs.1.gz -> /usr/share/man/man1/ssr-wfs.nox.1.gz	 not owned
  /usr/bin/ssr-aap -> /etc/alternatives/ssr-aap	 not owned
  /usr/bin/ssr-binaural -> /etc/alternatives/ssr-binaural	 not owned
  /usr/bin/ssr-brs -> /etc/alternatives/ssr-brs	 not owned
  /usr/bin/ssr-generic -> /etc/alternatives/ssr-generic	 not owned
  /usr/bin/ssr-vbap -> /etc/alternatives/ssr-vbap	 not owned
  /usr/bin/ssr-wfs -> /etc/alternatives/ssr-wfs	 not owned
  /usr/share/man/man1/ssr-aap.1.gz -> /etc/alternatives/ssr-aap.1.gz	 not owned
  /usr/share/man/man1/ssr-binaural.1.gz -> /etc/alternatives/ssr-binaural.1.gz	 not owned
  /usr/share/man/man1/ssr-brs.1.gz -> /etc/alternatives/ssr-brs.1.gz	 not owned
  /usr/share/man/man1/ssr-generic.1.gz -> /etc/alternatives/ssr-generic.1.gz	 not owned
  /usr/share/man/man1/ssr-vbap.1.gz -> /etc/alternatives/ssr-vbap.1.gz	 not owned
  /usr/share/man/man1/ssr-wfs.1.gz -> /etc/alternatives/ssr-wfs.1.gz	 not owned


cheers,

Andreas

Attachment: soundscaperenderer-nox_0.5.0~dfsg-3.log.gz
Description: application/gzip


--- End Message ---
--- Begin Message ---
Source: soundscaperenderer
Source-Version: 0.5.0~dfsg-4

We believe that the bug you reported is fixed in the latest version of
soundscaperenderer, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 926311@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
IOhannes m zmölnig (Debian/GNU) <umlaeute@debian.org> (supplier of updated soundscaperenderer package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Sat, 13 Apr 2019 20:06:32 +0200
Source: soundscaperenderer
Architecture: source
Version: 0.5.0~dfsg-4
Distribution: unstable
Urgency: medium
Maintainer: Debian Multimedia Maintainers <debian-multimedia@lists.debian.org>
Changed-By: IOhannes m zmölnig (Debian/GNU) <umlaeute@debian.org>
Closes: 926311
Changes:
 soundscaperenderer (0.5.0~dfsg-4) unstable; urgency=medium
 .
   * Fix typo in ssr-nox install paths (Closes: #926311)
   * Bump standards version to 4.3.0
     - no changes required
Checksums-Sha1:
 136993e4b9dfd7ac89821816a16468edd7abf5ca 2535 soundscaperenderer_0.5.0~dfsg-4.dsc
 2781f4a1ba668cf9d880e27c2291afda36c42c84 11736 soundscaperenderer_0.5.0~dfsg-4.debian.tar.xz
 eca48531677d640a3b541ab80534b85818f4336b 15234 soundscaperenderer_0.5.0~dfsg-4_amd64.buildinfo
Checksums-Sha256:
 ccf6eda76fa3209449799b89094c3a6ba7164ddaac1405385a651fc441419deb 2535 soundscaperenderer_0.5.0~dfsg-4.dsc
 02e2bffdebcd58fd554331f688efbbb54f8e0dc7ccba091af25f282e6fd05447 11736 soundscaperenderer_0.5.0~dfsg-4.debian.tar.xz
 16cc1e45a14cdbe3b1ea9c82b088c7667f2bb664f2b062dce1eb9ead33734c08 15234 soundscaperenderer_0.5.0~dfsg-4_amd64.buildinfo
Files:
 5c5300bc3f7d7c61662292e5ca2857d6 2535 sound optional soundscaperenderer_0.5.0~dfsg-4.dsc
 837849880ef51f1704948a1ec9b77d36 11736 sound optional soundscaperenderer_0.5.0~dfsg-4.debian.tar.xz
 f68f891a5ca105a57d448bac1c653011 15234 sound optional soundscaperenderer_0.5.0~dfsg-4_amd64.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEdAXnRVdICXNIABVttlAZxH96NvgFAlyyJxwACgkQtlAZxH96
NviyCA/6AyBmIwYONJEpjr/Mrkwu4QQdRLZTPypir96O2A5BW51g5+rHP9W0pDEF
A29EdK8t4fIOaSx/qqzWttkky1YzXga3povrTB244WE3HCgga2IlgPuvoe2py/yZ
tzwOYPp3sxlEz5JLOU7oL7ELoJg48CZdtAHM1kVxhwhS5MpiuM58MSEUTgzC2/sF
xWWQm5zIvcTa1ME5k4/q2edRyARwG17Jou2+RX78oSSgeqXEwER+Lbdd+qPmTKs/
Mnavw/kBmnJ6zhymHzTcmELMa7I+9hgnYljwbDr2uowjpHUhAssAwmN21DR0Mbd8
5hWcLGnBGsY/XWOcTCkE+YIQm+frpq9FEYwUDq1MclS3G26PNIGTQiARKmM4Ipl3
kcgfXH+hLbTDiXcA3vK4yW+7WwaxP9khDfqtqDCzSOmtsyIzLXTjVL0eJL9bHG4v
ONwEBLyoW8UxADwhxvXQgtv5owQFDFrLJx6iWS6rsBmihdPCJB8a83EhKUa3QNFW
S7U+tl7JqogwvYCuY6wu9zXg98+5MacysQO0/0mIiw6KY7gBekE9WmmsnkcakA6U
xJ/wDP4vcQJc3mcVvK2IZmLNnPTCbCa4c94i9oABpwQlzNZqpIZgSwfGpNWD2Juz
XdevIYqu9pwemOIs9ChLInG1MCIUK16kgmeIpIUQXWt2gHTSoqw=
=oFY7
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: