Gentoo Archives: gentoo-user

From: Iain Buchanan <iaindb@××××××××××××.au>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] [query] How to avoid installing a particular package(like gcc) in each update
Date: Tue, 05 Feb 2008 23:25:53
Message-Id: 1202253922.7485.28.camel@orpheus
In Reply to: Re: [gentoo-user] [query] How to avoid installing a particular package(like gcc) in each update by Alan McKinnon
1 On Tue, 2008-02-05 at 18:50 +0200, Alan McKinnon wrote:
2 > On Tuesday 05 February 2008, dell core2duo wrote:
3 > > Hi All,
4 > > Each time i run "emerge -auDNv gnome' some packages got updated
5 > > each time. I want to avoid continue update of big packages like
6 > > gcc,glibc, because updating these packages took too much time.
7 > > Is there any way i can avoid he same ?
8 >
9 > Perhaps you mean 'emerge -avuND world' instead of gnome ? :-)
10
11 well, this is exactly what emerge -u world is supposed to do... If you
12 don't want to upgrade then don't upgrade! Alternatively you could
13 specify the packages you want to upgrade, instead of world.
14
15 > You can temporarily create a file in /etc/portage/package.mask/ to block
16 > out some big ebuilds. Say you want to leave the latest gcc and glibc
17 > for later, then put this in it:
18 >
19 > >=sys-devel/gcc-4.2.2
20 > >=sys-libs/glibc-2.5.1
21 >
22 > Do your emerge world, those versions will be ignored. Later on you when
23 > you have time can delete this temp file and rerun emerge world.
24 >
25 > There are several ways you could accomplish this result, the above is
26 > what I tend to do
27
28 another few things I'd add: You probably want to use the stable keyword
29 (eg ACCEPT_KEYWORDS="x86" not ~x86 in /etc/make.conf) - that way you'll
30 get a few less upgrades (and downgrades).
31
32 Also, perhaps you only want to upgrade in case of security releases -
33 `emerge gentoolkit` and then try `glsa-check -v -t all` to see what
34 applies.
35
36 HTH,
37 --
38 Iain Buchanan <iaindb at netspace dot net dot au>
39
40 QOTD:
41 "Wouldn't it be wonderful if real life supported control-Z?"
42
43 --
44 gentoo-user@l.g.o mailing list