Package: release.debian.org
Severity: normal
User: release.debian....@packages.debian.org
Usertags: unblock

Please unblock package debian-crossgrader

  * Purge with --force-remove-protected in the third stage to
    avoid failures due to packages that recently became protected.
    (Closes: #990669)

This regression caused by changes in bullseye was hidden
when #968458 in python-apt made crossgrader fail even earlier.
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