Gentoo Archives: gentoo-user

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

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies

Subject Author
Re: [gentoo-user] Use Flags and Updating Rich Freeman <rich0@g.o>