Control: tags 990669 + patch
Control: tags 990669 + pending

Dear maintainer,

I've prepared an NMU for debian-crossgrader (versioned as 0.0.3+nmu3) 
and uploaded it to DELAYED/2. Please feel free to tell me if I should 
cancel it.

I would also be willing to sponsor a maintainer upload with similar 
change instead, if this is preferred.

cu
Adrian
diff -Nru debian-crossgrader-0.0.3+nmu2/debian/changelog debian-crossgrader-0.0.3+nmu3/debian/changelog
--- debian-crossgrader-0.0.3+nmu2/debian/changelog	2020-12-12 23:22:05.000000000 +0200
+++ debian-crossgrader-0.0.3+nmu3/debian/changelog	2021-07-14 20:23:38.000000000 +0300
@@ -1,3 +1,12 @@
+debian-crossgrader (0.0.3+nmu3) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Purge with --force-remove-protected in the third stage to
+    avoid failures due to packages that recently became protected.
+    (Closes: #990669)
+
+ -- Adrian Bunk <b...@debian.org>  Wed, 14 Jul 2021 20:23:38 +0300
+
 debian-crossgrader (0.0.3+nmu2) unstable; urgency=medium
 
   * NMU
diff -Nru debian-crossgrader-0.0.3+nmu2/debian_crossgrader/__main__.py debian-crossgrader-0.0.3+nmu3/debian_crossgrader/__main__.py
--- debian-crossgrader-0.0.3+nmu2/debian_crossgrader/__main__.py	2020-09-06 19:13:29.000000000 +0300
+++ debian-crossgrader-0.0.3+nmu3/debian_crossgrader/__main__.py	2021-07-11 19:22:28.000000000 +0300
@@ -138,7 +138,7 @@
             return
 
         if cont == 'y':
-            subprocess.check_call(['dpkg', '--purge'] + targets)
+            subprocess.check_call(['dpkg', '--purge', '--force-remove-protected'] + targets)
             remaining = apt_utils.get_arch_packages(foreign_arch)
             if args.packages:
                 remaining = [pkg_name for pkg_name in remaining if pkg_name not in args.packages]

Reply via email to