Control: tags -1 patch pending

On Fri, 07 Mar 2025 01:05:48 +0000 Luca Boccassi <bl...@debian.org>
wrote:
> Source: runit
> Version: 2.1.2-61
> Severity: serious
> Justification: stops other packages from migrating to testing
> 
> Dear Maintainer(s),
> 
> The runit init-switch autopkgtest switches init package, but they are
> now Protected: yes so this fails. apt needs to be called with --
allow-
> remove-essential systemd-sysv (or similar for other protected
packages)
> in order to work, or something along those lines. Please apply these
> changes and upload to unstable to stop other packages from being able
> to migrate to testing.

Given this blocks other packages from migrating to testing, I have
uploaded an NMU with the fix for autopkgtest to DELAYED/1. debdiff
attached. If there are any problems with the patch, please let me know
and I can cancel the upload.


diff -Nru runit-2.1.2/debian/changelog runit-2.1.2/debian/changelog
--- runit-2.1.2/debian/changelog	2025-01-25 10:28:00.000000000 +0000
+++ runit-2.1.2/debian/changelog	2025-03-07 15:36:56.000000000 +0000
@@ -1,3 +1,11 @@
+runit (2.1.2-61.1) unstable; urgency=high
+
+  * Non-maintainer upload.
+  * Fix autopkgtest to be able to remove sysvinit-core/systemd-sysv despite
+    the new Proteced:yes flags in the "init-switch" suite. (Closes: #1099717)
+
+ -- Luca Boccassi <bl...@debian.org>  Fri, 07 Mar 2025 15:36:56 +0000
+
 runit (2.1.2-61) unstable; urgency=medium
 
   [ Lorenzo Puliti ]
diff -Nru runit-2.1.2/debian/tests/init-switch runit-2.1.2/debian/tests/init-switch
--- runit-2.1.2/debian/tests/init-switch	2024-07-13 11:00:37.000000000 +0100
+++ runit-2.1.2/debian/tests/init-switch	2025-03-07 15:36:56.000000000 +0000
@@ -49,7 +49,7 @@
 	#2 steps because of changes in apt(2.3.12) #1005881
 	#apt-get remove -y -allow-remove-essential init # no longer works....use dpkg
 	dpkg -r --force-remove-protected init
-	apt-get install -y  runit-init
+	apt-get install -y --allow-remove-essential runit-init sysvinit-core- systemd-sysv-
 	ls -l /etc/service/
 	update-service --remove  dbus.dep-fixer
 	if [ -e /tmp/autopkgtest-reboot ]; then

Reply via email to