Gentoo Archives: gentoo-user

From: Neil Bothwick <neil@××××××××××.uk>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] problems with depclean
Date: Tue, 15 Oct 2019 18:05:17
Message-Id: 20191015190503.64a96e42@digimed.co.uk
In Reply to: Re: [gentoo-user] problems with depclean by John Covici
1 On Tue, 15 Oct 2019 09:49:26 -0400, John Covici wrote:
2
3 > > > > Put this in /etc/portage/sets.conf
4 > > > >
5 > > > > [kernels]
6 > > > > class = portage.sets.dbapi.OwnerSet
7 > > > > world-candidate = False
8 > > > > files = /usr/src
9 > > > >
10 > > > > Then "emerge -n @kernels"
11 > > > >
12 > > > > Now depclean won't try to remove any kernels, or any other package
13 > > > > that installs files to /usr/src.
14 > > > Well, this didn't seem to work, when I tried to emerge -n @kernels
15 > > > it said nothing to emerge, after the calculating, etc.
16 > >
17 > > It won't emerge anything, that command adds the kernels set to
18 > > world_sets.
19 > > > and it certainly did not work.
20 > >
21 > > As in depclean still wants to remove kernels? Or as in nothing
22 > > /appeared/ to happen?
23 >
24 > As in depclean still wants to remove kernels.
25
26 Is @kernels in /var/lib/portage/world_sets?
27
28
29 --
30 Neil Bothwick
31
32 For every action, there is an equal and opposite malfunction.

Replies

Subject Author
Re: [gentoo-user] problems with depclean Manuel McLure <manuel@××××××.org>
Re: [gentoo-user] problems with depclean John Covici <covici@××××××××××.com>