Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Bug#1019529: sysv-rc: tries to install lsb-base, but svsinit-utils replaces files

49 views
Skip to first unread message

Samuel Thibault

unread,
Sep 11, 2022, 5:10:04 AM9/11/22
to
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.
patch

Mark Hindley

unread,
Sep 11, 2022, 7:00:03 AM9/11/22
to
Samuel,

On Sun, Sep 11, 2022 at 11:05:07AM +0200, Samuel Thibault wrote:
> Package: sysv-rc
> Version: 3.05-1
> Severity: important
> Tags: patch

Thanks very much for this.

The patch seems fine to me as far as it goes. However your clear analysis
suggests to me that any debootstrap that includes a package with an lsb-base
dependency is also broken.

I will do some testing.

Mark

Samuel Thibault

unread,
Sep 11, 2022, 7:10:04 AM9/11/22
to
Mark Hindley, le dim. 11 sept. 2022 11:49:07 +0100, a ecrit:
> The patch seems fine to me as far as it goes. However your clear analysis
> suggests to me that any debootstrap that includes a package with an lsb-base
> dependency is also broken.

Yes, but only for the "required" set, so it's not that bad.

Samuel

Samuel Thibault

unread,
Sep 11, 2022, 10:30:04 AM9/11/22
to
Samuel Thibault, le dim. 11 sept. 2022 13:07:28 +0200, a ecrit:
Also the "base" set. Apparently only dirmngr is concerned.

Samuel

Thorsten Glaser

unread,
Sep 11, 2022, 4:40:04 PM9/11/22
to
On Sun, 11 Sep 2022, Samuel Thibault wrote:

> The problem is that apparently debootstrap doesn't handle Replaces, and

Apparently, it also doesn’t handle Provides (which would fix this).
Sad.

bye,
//mirabilos
--
Infrastrukturexperte • tarent solutions GmbH
Am Dickobskreuz 10, D-53121 Bonn • http://www.tarent.de/
Telephon +49 228 54881-393 • Fax: +49 228 54881-235
HRB AG Bonn 5168 • USt-ID (VAT): DE122264941
Geschäftsführer: Dr. Stefan Barth, Kai Ebenrett, Boris Esser, Alexander Steeg

****************************************************
/⁀\ The UTF-8 Ribbon
╲ ╱ Campaign against Mit dem tarent-Newsletter nichts mehr verpassen:
 ╳  HTML eMail! Also, https://www.tarent.de/newsletter
╱ ╲ header encryption!
****************************************************
0 new messages