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$
In Reply to: Re: [gentoo-dev] Re: Emerge Update Slot by Spider
Spider <spider@g.o> wrote:
> Eamon Caddigan <ecaddiga@××××.edu> wrote: > >> Is there an easy way to tell emerge to update a package to the newest >> version available in a given SLOT? Say I wanted to update to the >> latest >> unstable version of gtk1. If I try: >> >> $ ACCEPT_KEYWORDS="~x86" emerge -pvu \>=x11-libs/gtk+-1.2.10-r10 > > I'd go with > ACCEPT_KEYWORDS="~x86" emerge -vpu '<x11-libs/gtk+-2'
That's great for manual updates, but this idea came to me while trying to automate things. I was working on a script that updated or rebuilt every package for which the USE flags have changed. It did the trick for me, but it's *way* too ugly to share... in part because of the hardcoded SLOT kludges. -Eamon -- gentoo-dev@g.o mailing list