Your message dated Tue, 16 May 2023 21:18:56 +0000
with message-id <[email protected]>
and subject line Bug#1035291: fixed in desktop-autoloader 0.0.4-2
has caused the Debian Bug report #1035291,
regarding desktop-autoloader: fails to purge - command (deluser|adduser) in 
postrm not found
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 [email protected]
immediately.)


-- 
1035291: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1035291
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: desktop-autoloader
Version: 0.0.4-1
Severity: serious
Tags: sid bookworm
User: [email protected]
Usertags: piuparts

Hi,

during a test with piuparts I noticed your package failed to purge due
to a command not found. According to policy 7.2 you cannot rely on the
depends being available during purge, only the essential packages are
available for sure.

The fix should be easy: your package is using adduser or deluser from
the adduser package, which is only priority important. Using useradd or
userdel from the passwd package (priority required) should fix this
problem.

There is ongoing discussion how to handle system users on package
removal, see https://bugs.debian.org/621833
Consensus seems to be not to remove system users (to avoid reusing UIDs
which could grant access to the wrong files) but to "lock" them (where
"locking"/"unlocking" is not yet precisely defined). Until that has
been decided it should be sufficient to have the postrm script ignore
any errors from deluser:
  deluser ... || true

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

0m21.8s DEBUG: Starting command: ['chroot', 
'/srv/piuparts.debian.org/tmp/tmpb252mt2q', 'dpkg', '--purge', 
'desktop-autoloader']
0m21.8s DUMP:
  (Reading database ... 8072 files and directories currently installed.)
  Purging configuration files for desktop-autoloader (0.0.4-1) ...
  /var/lib/dpkg/info/desktop-autoloader.postrm: 25: deluser: not found
  dpkg: error processing package desktop-autoloader (--purge):
   installed desktop-autoloader package post-removal script subprocess returned 
error exit status 127
  Errors were encountered while processing:
   desktop-autoloader
0m21.8s ERROR: Command failed (status=1): ['chroot', 
'/srv/piuparts.debian.org/tmp/tmpb252mt2q', 'dpkg', '--purge', 
'desktop-autoloader']


cheers,

Andreas

Attachment: desktop-autoloader_0.0.4-1.log.gz
Description: application/gzip


--- End Message ---
--- Begin Message ---
Source: desktop-autoloader
Source-Version: 0.0.4-2
Done: Mike Gabriel <[email protected]>

We believe that the bug you reported is fixed in the latest version of
desktop-autoloader, 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 [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Mike Gabriel <[email protected]> (supplier of updated desktop-autoloader 
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 [email protected])


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

Format: 1.8
Date: Tue, 16 May 2023 22:37:00 +0200
Source: desktop-autoloader
Architecture: source
Version: 0.0.4-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Edu Packaging Team 
<[email protected]>
Changed-By: Mike Gabriel <[email protected]>
Closes: 1035291
Changes:
 desktop-autoloader (0.0.4-2) unstable; urgency=medium
 .
   * debian/desktop-autoloader.postrm:
     + Ignore failures during execution of deluser/delgroup: (Closes: #1035291).
Checksums-Sha1:
 8a87f231236cc78ca835f9b896e0179a0f32ba5e 2098 desktop-autoloader_0.0.4-2.dsc
 fd88a32b439c187ccfc9d0001bf8550880ac2415 4908 
desktop-autoloader_0.0.4-2.debian.tar.xz
 ae20fd8eba8976ae8e8e3f98bd3068d8bd130ecd 6367 
desktop-autoloader_0.0.4-2_source.buildinfo
Checksums-Sha256:
 e6c5de966b70427d57920b740d49f57081a6c956cff21a455706d0da7f756be3 2098 
desktop-autoloader_0.0.4-2.dsc
 6a61dd611e0fc4dfe948142adac67085a936575e4144f6d084c9e88d9774754d 4908 
desktop-autoloader_0.0.4-2.debian.tar.xz
 d8176dff5f127d2db57d7d5b56cc0ac993c24142423018ee7ded234e6dc8a85a 6367 
desktop-autoloader_0.0.4-2_source.buildinfo
Files:
 8419c2eb3c5e75a7b1f374a5bed36792 2098 misc optional 
desktop-autoloader_0.0.4-2.dsc
 c163e0fb9923e39157613346e36cbedd 4908 misc optional 
desktop-autoloader_0.0.4-2.debian.tar.xz
 b5201383cb22900ae8323f220ef377cf 6367 misc optional 
desktop-autoloader_0.0.4-2_source.buildinfo

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

iQJJBAEBCAAzFiEEm/uu6GwKpf+/IgeCmvRrMCV3GzEFAmRj6YkVHHN1bndlYXZl
ckBkZWJpYW4ub3JnAAoJEJr0azAldxsxF3IQALsksz2jyVvwnI5gHzQnSnMaz0WG
7Wt7jNnDSdSJQ4LYNY7uiCEQn2xzbBTZB1+TJmla6I4g+sRixSj+wpmDHqVhYOeu
28jsmv+yloPrOniZqVOEGEeNgvWAnHXoaFx/a7ZaoG8IhH6QRzIKjtwNw4aLdUqe
EjH2y+zhOtCUPEQC1tXLU6OZE2Jldi0oRcTjz5L0EwXC0imnc7wYj8derGOAXoNC
jQV5VHDhGHv1DkASUi3his3GD5GAfHkCAWDaqrSxDO0TxVwYL4pUegjLtQaXC46m
vyEl05xpfSOzyc/3v2WRjqBGP/MgFbOqL8y5OhtViGxkc2aTkij6oX8A51JS+vhG
2znrRqR/2h8LlQNCzMLf5XsKg/Wu2L7a4OefQZswUfHJgcEBccUly98XAdyqzqN5
vR8EAr9FOZN40raiEvy4BfcPGGNjo4Z8v4ivI0+BLmNxr/LEpiHie8aB3KNe2Qbs
8MEuA3mk1mFgZEU5i2mdeNOYLM386ifxNSecdXuFbUbq7jEFcTUGS8hk2bMyFFQx
E3lt6YTO+g6DeVNWNpO1vo6qDvS0ww4cPRNOm8kE8f2UlmEpShLn1tCGOGYoq6qn
+h3/zS1dBGRTJbdq9/zWNBWRFMUHGj7htdBfeM4BRcza4gu6zimt99Ak8Fm9mzbP
98bHzfdBptyDw0Xw
=B/HS
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to