Bug#1019529: sysv-rc: tries to install lsb-base, but svsinit-utils replaces files
Samuel Thibault
sthibault at debian.org
Sun Sep 11 10:05:07 BST 2022
Package: sysv-rc
Version: 3.05-1
Severity: important
Tags: patch
Hello,
Since version 3.05-1, sysvinit-utils provides its own
/lib/lsb/init-functions, thus replacing the one from lsb-base. sysv-rc
is however still depending on lsb-base.
The problem is that apparently debootstrap doesn't handle Replaces, and
thus ends up with
I: Extracting sysvinit-utils...
E: Tried to extract package, but file already exists. Exit...
because it unpacked lsb-base then tried to unpack sysvinit-utils but
that ships a file already shipped by lsb-base. The same happens with
initscripts.
This is basically making any non-systemd debootstrap fail.
Could you please drop the dependency as the attached patch does?
Thanks,
Samuel
-- System Information:
Debian Release: bookworm/sid
APT prefers testing
APT policy: (990, 'testing'), (500, 'unstable-debug'), (500, 'testing-debug'), (500, 'stable-security'), (500, 'stable-debug'), (500, 'proposed-updates'), (500, 'oldstable-proposed-updates'), (500, 'oldoldstable'), (500, 'buildd-unstable'), (500, 'unstable'), (500, 'stable'), (500, 'oldstable'), (1, 'experimental-debug'), (1, 'buildd-experimental'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386, arm64
Kernel: Linux 5.19.0 (SMP w/8 CPU threads; PREEMPT)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages sysv-rc depends on:
ii insserv 1.24.0-1
ii lsb-base 11.2
ii startpar 0.65-1
ii sysvinit-utils 3.04-1
sysv-rc recommends no packages.
sysv-rc suggests no packages.
-- debconf information excluded
--
Samuel
---
Pour une évaluation indépendante, transparente et rigoureuse !
Je soutiens la Commission d'Évaluation de l'Inria.
-------------- next part --------------
--- debian/control.original 2022-09-11 08:55:33.000000000 +0000
+++ debian/control 2022-09-11 09:00:32.000000000 +0000
@@ -76,9 +76,8 @@
Multi-Arch: foreign
Depends:
insserv,
- lsb-base,
startpar (>= 0.62-1~),
- sysvinit-utils (>= 2.86.ds1-62),
+ sysvinit-utils (>= 3.05-1),
${misc:Depends},
Description: System-V-like runlevel change mechanism
This package provides support for the System-V like system
@@ -89,7 +88,7 @@
Architecture: all
Multi-Arch: foreign
Depends:
- lsb-base,
+ sysvinit-utils (>= 3.05-1),
sysv-rc | file-rc | openrc,
${misc:Depends},
Recommends:
@@ -102,7 +101,7 @@
Package: bootlogd
Architecture: any
Depends:
- lsb-base,
+ sysvinit-utils (>= 3.05-1),
${misc:Depends},
${shlibs:Depends},
Breaks: manpages-fr (<< 4.15.0-9~),
More information about the Debian-init-diversity
mailing list