Gentoo Archives: gentoo-dev

From: Eamon Caddigan <ecaddiga@××××.edu>
To: gentoo-dev@l.g.o
Subject: [gentoo-dev] Re: Emerge Update Slot
Date: Thu, 01 Apr 2004 18:02:48
Message-Id: c4hlg4$pa1$1@sea.gmane.org
In Reply to: Re: [gentoo-dev] Re: Emerge Update Slot by Spider
1 Spider <spider@g.o> wrote:
2 > Eamon Caddigan <ecaddiga@××××.edu> wrote:
3 >
4 >> Is there an easy way to tell emerge to update a package to the newest
5 >> version available in a given SLOT? Say I wanted to update to the
6 >> latest
7 >> unstable version of gtk1. If I try:
8 >>
9 >> $ ACCEPT_KEYWORDS="~x86" emerge -pvu \>=x11-libs/gtk+-1.2.10-r10
10 >
11 > I'd go with
12 > ACCEPT_KEYWORDS="~x86" emerge -vpu '<x11-libs/gtk+-2'
13
14 That's great for manual updates, but this idea came to me while trying
15 to automate things. I was working on a script that updated or rebuilt
16 every package for which the USE flags have changed. It did the trick for
17 me, but it's *way* too ugly to share... in part because of the hardcoded
18 SLOT kludges.
19
20 -Eamon
21
22
23 --
24 gentoo-dev@g.o mailing list