1 |
On 6/20/19 11:10 AM, Dale wrote: |
2 |
> Kai Peter wrote: |
3 |
>>> |
4 |
>>> The bad thing about this, sometimes I have to use exclude gentoo-sources |
5 |
>>> from things such as --depclean. It's annoying but it's the only way I |
6 |
>>> could come up with to do this. |
7 |
>>> |
8 |
>> You can do an 'emerge --noreplace' - one time. |
9 |
>> |
10 |
> |
11 |
> |
12 |
> I read the man page for this option, I'm not sure how it would help. |
13 |
> All that does is prevent it from recording that it is installed in the |
14 |
> world file. Since I have -1 set as a default, it does that when I |
15 |
> emerge single packages already. If I want to keep it and it not be |
16 |
> --depcleaned, then I use -n --select y to add it to the world file. |
17 |
> Thing is, some packages require some sort of kernel to be installed as a |
18 |
> dependency last I checked. |
19 |
> |
20 |
> Or am I missing something? |
21 |
> |
22 |
|
23 |
Yep. --select and --noreplace both record the package specified in the |
24 |
world file. The difference is you use --noreplace when the package |
25 |
specified is already installed, this prevents it from being reinstalled |
26 |
(it will record it in the world file without reinstalling the package.) |
27 |
|
28 |
If you know you want to keep it (as in: have --oneshot as a default |
29 |
option) and you use --select, it will record it in the world file and |
30 |
install the package. |
31 |
|
32 |
Dan |