Gentoo Archives: gentoo-user

From: Wols Lists <antlists@××××××××××××.uk>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] --depclean wants to remove openrc. Yikes!
Date: Sun, 25 Jul 2021 07:11:43
Message-Id: 60FD0E2E.5030908@youngman.org.uk
In Reply to: Re: [gentoo-user] --depclean wants to remove openrc. Yikes! by Alan Mackenzie
1 On 24/07/21 22:09, Alan Mackenzie wrote:
2 > I'm actually using s/qmail, tarball direct from its maintainer, since
3 > there's no ebuild for it. Originally, I had daemontools from the same
4 > place, until I discovered there was an ebuild for it.
5
6 THAT LOOKS LIKE YOUR PROBLEM.
7
8 If daemontools has been pulled in because it's explicitly named in
9 world, then emerge will (quite reasonably) assume that openrc (which is
10 an implied dependency) can be dispensed with.
11
12 In other words, if one member of a virtual package is explicitly
13 installed, all the other members can be dispensed with. Changing this is
14 likely to cause breakage all over the place!!!
15
16 Okay, it's a nasty surprise to discover that installing a package with
17 multiple uses can make the system assume you're using it for things
18 you're not, but I think the only *workable* fix is, as others have said,
19 to add openrc to the world set.
20
21 You've explicitly pulled in a boot manager package. You can't expect
22 portage to keep a bunch of implicit package managers (systemd, sysV,
23 openrc etc) lying around when you haven't asked for them. I've installed
24 postfix as my mailer - I don't want exim, sendmail, etc etc lying around
25 "just in case".
26
27 Cheers,
28 Wol