Gentoo Archives: gentoo-ppc-user

From: Ruben Vandeginste <Ruben.Vandeginste@××××××××××××××.be>
To: Eric Pretorious <eric@××××××××××.net>
Cc: Gentoo Linux <gentoo-ppc-user@g.o>
Subject: Re: [gentoo-ppc-user] Downgrading to a stable version of a package...
Date: Thu, 24 Jul 2003 07:49:42
Message-Id: Pine.LNX.4.44.0307240938200.9341-100000@eagle.cs.kuleuven.ac.be
In Reply to: Re: [gentoo-ppc-user] Downgrading to a stable version of a package... by Eric Pretorious
1 > > How can I tell if a particular package version is "stable" or
2 > > "unstable"?
3 >
4 just look inside the ebuild of that package.
5 first do 'emerge -s packagename' so you know where the package is located
6 in the tree...
7 then look in the file
8 /usr/portage/<place-in-tree>/packagename/packagename-version.ebuild
9 (for example /usr/portage/dev-util/eclipse-sdk/eclipse-sdk-2.1.ebuild, or
10 something like that, i'm not running Gentoo right now)
11
12 somewhere in the ebuild you will find a string like "x86 ~ppc -sparc"
13 this means that the package is stable for x86, (~) unstable for ppc, and
14 (-) will not run on sparc architecture..
15
16 and the way to revert to a stable package is if you just do an emerge of
17 that package again... start with 'emerge -p package'. Then you can see
18 whether it will revert to the latest stable package, but normally it
19 should. (unless you specified 'ACCEPT_KEYWORDS="~ppc" in your environment
20 or in /etc/make.conf)
21
22 My explanation is probably not the best way to figure this out, but it
23 works for me :)
24
25 Another thing you should be carefull with, is that you should *never*
26 downgrade the C/C++ libraries (glibc); because that way none of your
27 executables will run anymore. You might get a couple of problems if you
28 downgrade certain other libraries, which can usually be solved by just
29 recompiling the programs using these libraries.
30
31 Hope this was a bit of help.
32
33 Ruben
34
35 > Am I correct in concluding that there is no mechanism for determining
36 if a
37 > package-version is stable/unstable and there is no mechanism for reverting
38 > from an unstable version to the stable version?
39 >
40 > Jeez - If portage can't report that kind of information and/or manage
41 > package status, what does it offer that RPM and APT don't?!
42
43
44 --
45 gentoo-ppc-user@g.o mailing list