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

Bug#1069286: bookworm-pu: package dcmtk/3.6.7-9~deb12u1



Package: release.debian.org
Severity: normal
Tags: bookworm
User: release.debian.org@packages.debian.org
Usertags: pu
X-Debbugs-Cc: Andreas Tille <tille@debian.org>

[ Reason ]
postrm purge may fail on removing an obsolete directory due to usage of
rm -f without -r

[ Impact ]
Users need to manually clean up cruft in order to purge the package.

[ Tests ]
Local piuparts tests of the affetced upgrade path.

[ Risks ]
Low. Trivial fix.

[ Checklist ]
  [*] *all* changes are documented in the d/changelog
  [*] I reviewed all changes and I approve them
  [*] attach debdiff against the package in (old)stable
  [*] the issue is verified as fixed in unstable

[ Changes ]
+dcmtk (3.6.7-9~deb12u1) bookworm; urgency=medium
+
+  * Team upload.
+  * Rebuild for bookworm.
+
+ -- Andreas Beckmann <anbe@debian.org>  Fri, 19 Apr 2024 13:06:33 +0200
+
+dcmtk (3.6.7-9) unstable; urgency=medium
+
+  * Team upload.
+  * Fix postrm
+    Closes: #1038776
+
+ -- Andreas Tille <tille@debian.org>  Thu, 22 Jun 2023 09:53:48 +0200

[ Other info ]
This is a rebuild of the package from testing with no further changes.
The fixed package has already been uploaded.

Andreas
diff --git a/debian/changelog b/debian/changelog
index 07333ee..ef6b5c9 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,18 @@
+dcmtk (3.6.7-9~deb12u1) bookworm; urgency=medium
+
+  * Team upload.
+  * Rebuild for bookworm.
+
+ -- Andreas Beckmann <anbe@debian.org>  Fri, 19 Apr 2024 13:06:33 +0200
+
+dcmtk (3.6.7-9) unstable; urgency=medium
+
+  * Team upload.
+  * Fix postrm
+    Closes: #1038776
+
+ -- Andreas Tille <tille@debian.org>  Thu, 22 Jun 2023 09:53:48 +0200
+
 dcmtk (3.6.7-8) unstable; urgency=medium
 
   * d/patches: Fix CVE-2022-43272. Closes: #1027165
diff --git a/debian/dcmtk.postrm b/debian/dcmtk.postrm
index 98e717c..b8efc7e 100644
--- a/debian/dcmtk.postrm
+++ b/debian/dcmtk.postrm
@@ -15,7 +15,7 @@ if [ "$1" = "purge" ] ; then
    fi
 
    if [ -d /var/lib/dcmtk/db/STORESCP ]; then
-      rm -f /var/lib/dcmtk/db/STORESCP
+      rm -rf /var/lib/dcmtk/db/STORESCP
    fi
 fi
 

Reply to: