Gentoo Archives: gentoo-user

From: tuxic@××××××.de
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Forced rebuild of a package...how?
Date: Sun, 04 Feb 2018 04:54:32
Message-Id: 20180204045410.rpozw3cfwprets2w@solfire
In Reply to: Re: [gentoo-user] Forced rebuild of a package...how? by Dale
1 On 02/03 10:41, Dale wrote:
2 > tuxic@××××××.de wrote:
3 > > Hi,
4 > >
5 > > after installing linux-4.15.1 (downloaded from kernel.org) I want to
6 > > reinstall (beside others) nvidia drivers.
7 > >
8 > > Emerge told me:
9 > > | >emerge nvidia-drivers
10 > > | Calculating dependencies... done!
11 > > | >>> Jobs: 0 of 0 complete Load avg: 1.05, 0.65, 0.34
12 > > | >>> Auto-cleaning packages...
13 > > |
14 > > | >>> No outdated packages were found on your system.
15 > >
16 > >
17 > > That is valid for the previous installed kernel...but not for the one
18 > >
19 > > This was updated just before
20 > > Sun Feb 4 04:21:46 2018 <<< sys-apps/portage-2.3.23
21 > > Sun Feb 4 04:21:51 2018 >>> sys-apps/portage-2.3.24
22 > >
23 > > My make.conf has this options:
24 > > EMERGE_DEFAULT_OPTS="--jobs=4 --load-average=4 --changed-deps-report=n --changed-deps"
25 > >
26 > >
27 > > Thanks for any help in advance!
28 > >
29 > > Cheers
30 > > Meino
31 > >
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
51 Hi Dale,
52
53 thanks for the info and help!
54
55 Just a few seconds before I found the reason for all that reasons :)
56
57 It seems that -- exactly as you said -- this option prevents
58 reemergeing of the same packages again.
59
60 If you want to force an update "gnu/foobar" (for example) you need to
61 submit
62
63 emerge --selective=n gnu/foobar
64
65 which temporarily overwrites --changed-deps.
66
67 By the way: I appreciate helps like yours much more than just pointing
68 to the obvious docs. ;)
69
70 Cheers!
71 Meino

Replies

Subject Author
Re: [gentoo-user] Forced rebuild of a package...how? Dale <rdalek1967@×××××.com>