On Thu, 29 Jul 2021 21:29:46 -0000 (UTC), Grant Edwards wrote:

> > Indeed, and it won't delete anything crucial for your system, and even
> > more, it won't delete anything what you need. But you have to tell
> > portage *what* you need and *what* is crucial for your system.
> > The handbook contains the instruction how to do this: Put the packages
> > you need into the @world file.  
> 
> I've been using Gentoo for 20 years, and this is the first time I've
> heard about the user being required to add the default init system
> (e.g. openrc) to the world file to prevent it from being
> "accidentally" removed by emerge --depclean.

Except that Alan has added an init system to @world, daemontools. so that
becomes the default init system, even if it is not the one he wants to be
the default.

Having added daemontools to @world, he then needs to let portage know
that this is not the init system he wants to use, by adding openrc to
@world.

In a normal situation, with only one init system installed, there is no
need to do anything, because the virtual takes care of making sure it is
not deleted. This is not a normal situation.


-- 
Neil Bothwick

Do they have reserved parking for non-handicapped people at the Special
Olympics?

Attachment: pgpAWyum2FjlP.pgp
Description: OpenPGP digital signature

Reply via email to