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 16:33:54
Message-Id: c4hg9d$a2q$1@sea.gmane.org
1 Is there an easy way to tell emerge to update a package to the newest
2 version available in a given SLOT? Say I wanted to update to the latest
3 unstable version of gtk1. If I try:
4
5 $ ACCEPT_KEYWORDS="~x86" emerge -pvu \>=x11-libs/gtk+-1.2.10-r10
6
7 ...it shows all the packages for the latest unstable version of gtk2.
8 I'd love to see an option like "sameslot", which would check the slot of
9 the version specified in the atom, and update to the latest version in
10 this same slot. For example:
11
12 $ ACCEPT_KEYWORDS="~x86" emerge -pvu --sameslot \>=x11-libs/gtk+-1.2.10-r10
13
14 ...would give me gtk+-1.2.10-r11.
15
16 I know this can be done by masking out (through package.mask or
17 carefully chosen package atoms on the command line) versions in
18 different slots, but this requires knowing which versions are in which
19 slots. I believe it would be best if portage hid the details of slots
20 from its users.
21
22 -Eamon
23
24 NB: I apologize if any of you already read this in gentoo-user: I hate
25 double-posting, but this seems like a more appropriate place to ask.
26
27
28
29 --
30 gentoo-dev@g.o mailing list

Replies

Subject Author
Re: [gentoo-dev] Re: Emerge Update Slot Spider <spider@g.o>