Gentoo Archives: gentoo-user

From: Dale <rdalek1967@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Forced rebuild of a package...how?
Date: Sun, 04 Feb 2018 05:25:20
Message-Id: 717ccf2c-761d-c474-7ac1-c5ca0a945bee@gmail.com
In Reply to: Re: [gentoo-user] Forced rebuild of a package...how? by tuxic@posteo.de
1 tuxic@××××××.de wrote:
2 > On 02/03 10:41, Dale wrote:
3 >> tuxic@××××××.de wrote:
4 >>> Hi,
5 >>>
6 >>> after installing linux-4.15.1 (downloaded from kernel.org) I want to
7 >>> reinstall (beside others) nvidia drivers.
8 >>>
9 >>> Emerge told me:
10 >>> | >emerge nvidia-drivers
11 >>> | Calculating dependencies... done!
12 >>> | >>> Jobs: 0 of 0 complete Load avg: 1.05, 0.65, 0.34
13 >>> | >>> Auto-cleaning packages...
14 >>> |
15 >>> | >>> No outdated packages were found on your system.
16 >>>
17 >>>
18 >>> That is valid for the previous installed kernel...but not for the one
19 >>>
20 >>> This was updated just before
21 >>> Sun Feb 4 04:21:46 2018 <<< sys-apps/portage-2.3.23
22 >>> Sun Feb 4 04:21:51 2018 >>> sys-apps/portage-2.3.24
23 >>>
24 >>> My make.conf has this options:
25 >>> EMERGE_DEFAULT_OPTS="--jobs=4 --load-average=4 --changed-deps-report=n --changed-deps"
26 >>>
27 >>>
28 >>> Thanks for any help in advance!
29 >>>
30 >>> Cheers
31 >>> Meino
32 >>>
33 >> I tested this here.  Like you, I added --changed-deps to make.conf with
34 >> the plan to remove it later.  It seems when that is put there, it
35 >> doesn't emerge like it usually would.  It acts like it is looking for a
36 >> update not a re-emerge of the same version.  However, when I removed
37 >> that option, it works as it should.  I don't know why it does that but
38 >> that is what it is doing.  So, remove --changed-deps and try again.  It
39 >> should work.
40 >>
41 >> Is that a bug?  Don't know.  It may be that it is intentional but maybe
42 >> it shouldn't be. 
43 >>
44 >> Hope that helps.
45 >>
46 >> Dale
47 >>
48 >> :-)  :-) 
49 >>
50 > Hi Dale,
51 >
52 > thanks for the info and help!
53 >
54 > Just a few seconds before I found the reason for all that reasons :)
55 >
56 > It seems that -- exactly as you said -- this option prevents
57 > reemergeing of the same packages again.
58 >
59 > If you want to force an update "gnu/foobar" (for example) you need to
60 > submit
61 >
62 > emerge --selective=n gnu/foobar
63 >
64 > which temporarily overwrites --changed-deps.
65 >
66 > By the way: I appreciate helps like yours much more than just pointing
67 > to the obvious docs. ;)
68 >
69 > Cheers!
70 > Meino
71 >
72
73 I noticed this behavior the other day.  I just didn't have a chance to
74 look into it at the time then forgot about it.  When I saw your post, it
75 reminded me that I ran into the same issue.  It was time to look into it
76 and see if it made that difference.  Now we know. 
77
78 With that option, I don't know if the module-rebuild set would work or
79 not.  I suspect it may result in the same.  To be honest, I don't use it
80 because the only one there is for me is nvidia-drivers. 
81
82 Glad to help.  It's not like I don't get help from this list on
83 occasion.  ;-) 
84
85 Dale
86
87 :-)  :-)