Package: release.debian.org
Severity: normal
User: release.debian....@packages.debian.org
Usertags: unblock
X-Debbugs-Cc: desktop-autoloa...@packages.debian.org, sunwea...@debian.org
Control: affects -1 + src:desktop-autoloader

Please unblock package desktop-autoloader

[ Reason ]

In the context of #1035654, five source packages (including this one)
still fail to purge remove without adduser installed.

[ Impact ]

We want to avoid the situation where a user removes the package, then
upgrades to apt that doesn't depend on adduser, then removes adduser and
then attempts to purge this package.

[ Tests ]

See the script I posted in #1035654.

[ Risks ]

Low risk due to trivial change (see end of this mail) and because of low
popcon number (2 votes).

[ Checklist ]
  [x] all changes are documented in the d/changelog
  [x] I reviewed all changes and I approve them
  [x] attach debdiff against the package in testing

unblock desktop-autoloader/0.0.4-2

diff -Nru desktop-autoloader-0.0.4/debian/changelog 
desktop-autoloader-0.0.4/debian/changelog
--- desktop-autoloader-0.0.4/debian/changelog   2018-05-16 13:31:31.000000000 
+0200
+++ desktop-autoloader-0.0.4/debian/changelog   2023-05-16 22:37:00.000000000 
+0200
@@ -1,3 +1,10 @@
+desktop-autoloader (0.0.4-2) unstable; urgency=medium
+
+  * debian/desktop-autoloader.postrm:
+    + Ignore failures during execution of deluser/delgroup: (Closes: #1035291).
+
+ -- Mike Gabriel <sunwea...@debian.org>  Tue, 16 May 2023 22:37:00 +0200
+
 desktop-autoloader (0.0.4-1) unstable; urgency=medium
 
   * New upstream release.
diff -Nru desktop-autoloader-0.0.4/debian/desktop-autoloader.postrm 
desktop-autoloader-0.0.4/debian/desktop-autoloader.postrm
--- desktop-autoloader-0.0.4/debian/desktop-autoloader.postrm   2018-04-03 
20:40:40.000000000 +0200
+++ desktop-autoloader-0.0.4/debian/desktop-autoloader.postrm   2023-05-16 
22:35:46.000000000 +0200
@@ -22,8 +22,8 @@
                        rm -Rf ~desktop-autoloader
                fi
 
-               getent passwd desktop-autoloader >/dev/null && deluser 
desktop-autoloader
-               getent group desktop-autoloader >/dev/null && delgroup 
desktop-autoloader
+               getent passwd desktop-autoloader >/dev/null && deluser 
desktop-autoloader || true
+               getent group desktop-autoloader >/dev/null && delgroup 
desktop-autoloader || true
 
                # there might be extra .desktop symlinks in 
/etc/desktop-autoloader/autostart,
                # wiping them all...

Reply via email to