Gentoo Archives: gentoo-user

From: Alexander Kapshuk <alexander.kapshuk@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Use Flags and Updating
Date: Wed, 21 May 2014 13:47:19
Message-Id: 537CAF05.9010805@gmail.com
In Reply to: Re: [gentoo-user] Use Flags and Updating by Matti Nykyri
1 On 05/20/2014 10:13 PM, Matti Nykyri wrote:
2 > On May 20, 2014, at 14:49, Alexander Kapshuk
3 > <alexander.kapshuk@×××××.com <mailto:alexander.kapshuk@×××××.com>> wrote:
4 >
5 >> On 05/20/2014 02:40 PM, Hunter Jozwiak wrote:
6 >>>
7 >>>
8 >>>
9 >>>
10 >>>
11 >>> *From:*Alexander Kapshuk [mailto:alexander.kapshuk@×××××.com]
12 >>> *Sent:* Tuesday, May 20, 2014 7:44 AM
13 >>> *To:* gentoo-user@l.g.o
14 >>> *Subject:* Re: [gentoo-user] Use Flags and Updating
15 >>>
16 >>>
17 >>>
18 >>> On 05/20/2014 02:37 PM, Hunter Jozwiak wrote:
19 >>>
20 >>> Hi all. How do I get Portage to update all software to use my
21 >>> new USE flags? I made some modifications to the variable, and I
22 >>> want to make sure that all packages can use the flags.
23 >>>
24 >>> emerge(1)
25 >>> -N -- --newuse
26 >>>
27 >>> Thank you.
28 >>>
29 >> No worries.
30 >>
31 >> Here's what I usually run when updating the world.
32 >> Long version: emerge --ask --update --deep --with-bdeps=y --newuse @world
33 >> With '--with-bdeps=y' set in the file shown below:
34 >> grep bdeps /etc/portage/make.conf
35 >> EMERGE_DEFAULT_OPTS="--with-bdeps=y"
36 >>
37 >> Short version: emerge -avuND @world
38 >> -a [--ask]
39 >> -v [--verbose]
40 >> -u [--update]
41 >> -N [--newuse]
42 >> -D [--deep]
43 >
44 > And how to remember this... Make it a name:
45 >
46 > emerge -DuvaN @world
47 >
48 > Human mind is a complex organ ;)
49 >
50 > --
51 > -Matti
52
53 I just put this into a shell function.
54
55 sed -n '/chkupd/,/}/p' .bash_profile
56 chkupd(){
57 emerge --sync && emerge -avuND @world
58 }

Replies

Subject Author
Re: [gentoo-user] Use Flags and Updating ny6p01@×××××.com