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

Bug#1057685: marked as done (puredata64-core: leaves alternatives after purge: /usr/bin/pd64 -> /etc/alternatives/pd64)



Your message dated Fri, 29 Dec 2023 19:00:46 +0000
with message-id <E1rJI6A-006Ca3-BB@fasolo.debian.org>
and subject line Bug#1057685: fixed in puredata 0.54.1+ds-3
has caused the Debian Bug report #1057685,
regarding puredata64-core: leaves alternatives after purge: /usr/bin/pd64 -> /etc/alternatives/pd64
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.)


-- 
1057685: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1057685
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: puredata64-core
Version: 0.54.1+ds-1
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.

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

0m21.6s INFO: Warning: Package purging left files on system:
  /etc/alternatives/pd64 -> /usr/bin/puredata64	 not owned
  /etc/alternatives/pd64.1.gz -> /usr/share/man/man1/puredata64.1.gz	 not owned
  /usr/bin/pd64 -> /etc/alternatives/pd64	 not owned
  /usr/share/man/man1/pd64.1.gz -> /etc/alternatives/pd64.1.gz	 not owned


cheers,

Andreas

Attachment: puredata64-core_0.54.1+ds-1.log.gz
Description: application/gzip


--- End Message ---
--- Begin Message ---
Source: puredata
Source-Version: 0.54.1+ds-3
Done: IOhannes m zmölnig (Debian/GNU) <umlaeute@debian.org>

We believe that the bug you reported is fixed in the latest version of
puredata, 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 1057685@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 puredata 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: Fri, 29 Dec 2023 19:30:40 +0100
Source: puredata
Architecture: source
Version: 0.54.1+ds-3
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: 1057685
Changes:
 puredata (0.54.1+ds-3) unstable; urgency=medium
 .
   * Fix filename for maintainer script (Closes: #1057685)
   * Only update alternatives in certain stages of postinst script
     (configure|abort-upgrade|abort-deconfigure|abort-remove)
Checksums-Sha1:
 758102fd3e5a54d862380dbe801c0363ad4bb3f6 3015 puredata_0.54.1+ds-3.dsc
 dee4e90b543c21aadd664422d152140709a455f5 40180 puredata_0.54.1+ds-3.debian.tar.xz
Checksums-Sha256:
 63b27e172269f36ce91fd9f9a1a1f8dd704e6d9a64755777a68e2df12ffa59a8 3015 puredata_0.54.1+ds-3.dsc
 e0ec6844083a3d19084a6338cb6e3e65e13e3328f1331bfa0b892414a21c8cfb 40180 puredata_0.54.1+ds-3.debian.tar.xz
Files:
 eb6d6fa4208e4ecd03720c29221ff095 3015 sound optional puredata_0.54.1+ds-3.dsc
 02f90db6c6052599c83837d445be83a3 40180 sound optional puredata_0.54.1+ds-3.debian.tar.xz

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

iQJKBAEBCAA0FiEEdAXnRVdICXNIABVttlAZxH96NvgFAmWPEWkWHGZvcnVtQHVt
bGFldXRlLm11ci5hdAAKCRC2UBnEf3o2+LqnD/4kQnNUdOgmS8mNkxbGkKKbDlYU
X2vRo+fHc1DTSvsRuGQ8/pepLiEgjAhGsPINpxWkun0Bc6MZ3M+wI+3VVtmHBEss
d+ncI83JMAgKGH6321mPBtqlwmhkEgEC3/BNz7IKcXRc2t+PosytbKhv8CWwKnnI
A2qYO36Xq6Bz5hnJPch50ZitwtpTXwWAHc9QySdLGog0wIKu5VQUb72Ek2EgpOk9
v27TtukPECrPSnGTBV5KekLeGg24uOj3V0jxnj2/4jIlRCrMV+nTAuWYodbQ4ZZc
i6NaHwvlA8h6cjhrRUbwkyZoqDsyhKqltUyNqVUABNBpoojvtY4m40+xZcezKXie
bGpHc5ABSe2QWdMezodwyVyaNSH+kVcUxNBrdMmjPrRnAXoyXzevpP6wkQG8u94U
CiOMeeAT0Dfb0XoY/5SJ4CVI/QV8aIap1/qdq1iz7Gm1ZWCJ4XTI0nTKxRwDk82W
KHO+8FcJ/1gjGaJ9r4TMBI8QF2Kg6mTqi03CNeVNT8qerXB+5IsD9rmVIHmHCkzw
t4nz/U5NNvxNoXvMpLjVVYUXr8BVlyaqFpF/9C2MElD205TMsNA01BafPjzzaQT9
rJJv2XkIdkQPZa3zMwsr5Dwi6cLhjkln6ggBLtTcX69j62wieuyJpDt8cBeYM3b+
iTSgSNgrXJEEa11Z6g==
=4WZF
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: