Gentoo Archives: gentoo-user

From: Dale <rdalek1967@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Preventing new versions of gentoo-sources…
Date: Fri, 21 Jun 2019 03:08:15
Message-Id: b8008e9c-45f2-495e-0192-5c287ba99040@gmail.com
In Reply to: Re: [gentoo-user] Preventing new versions of gentoo-sources… by Daniel Frey
1 Daniel Frey wrote:
2 > On 6/20/19 11:10 AM, Dale wrote:
3 >> Kai Peter wrote:
4 >>>>
5 >>>> The bad thing about this, sometimes I have to use exclude
6 >>>> gentoo-sources
7 >>>> from things such as --depclean.  It's annoying but it's the only way I
8 >>>> could come up with to do this.
9 >>>>
10 >>> You can do an 'emerge --noreplace' - one time.
11 >>>
12 >>
13 >>
14 >> I read the man page for this option, I'm not sure how it would help.
15 >> All that does is prevent it from recording that it is installed in the
16 >> world file.  Since I have -1 set as a default, it does that when I
17 >> emerge single packages already.  If I want to keep it and it not be
18 >> --depcleaned, then I use -n --select y to add it to the world file.
19 >> Thing is, some packages require some sort of kernel to be installed as a
20 >> dependency last I checked.
21 >>
22 >> Or am I missing something?
23 >>
24 >
25 > Yep. --select and --noreplace both record the package specified in the
26 > world file. The difference is you use --noreplace when the package
27 > specified is already installed, this prevents it from being
28 > reinstalled (it will record it in the world file without reinstalling
29 > the package.)
30 >
31 > If you know you want to keep it (as in: have --oneshot as a default
32 > option) and you use --select, it will record it in the world file and
33 > install the package.
34 >
35 > Dan
36 >
37 >
38
39
40 That's what I do now tho.  I'm trying to figure out how this is
41 different since it ends with the same result.  The reason I have to add
42 --exclude gentoo-sources to --depclean is so that it won't remove
43 kernels I still have installed and may even be using or keeping as a
44 fall back.  I've tried different ways to accomplish this, except for the
45 one Neil posted, and any of them has some sort of issue that has to be
46 addressed in one way or another. 
47
48 Me confused.  :/
49
50 Dale
51
52 :-)  :-) 

Replies

Subject Author
Re: [gentoo-user] Preventing new versions of gentoo-sources… Peter Humphrey <peter@××××××××××××.uk>
[gentoo-user] Re: Preventing new versions of gentoo-sources… "»Q«" <boxcars@×××.net>