Gentoo Archives: gentoo-user

From: Albert Hopkins <marduk@g.o>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Math symbols with emerge -C
Date: Fri, 01 Jun 2007 07:56:19
Message-Id: 1180684242.5404.8.camel@blackwidow.nbk
In Reply to: [gentoo-user] Math symbols with emerge -C by reader@newsguy.com
1 On Thu, 2007-05-31 at 19:09 -0400, reader@×××××××.com wrote:
2 > I always stumble around endlessly whenever I attempt to use math
3 > symbols in emerge commands.
4 >
5 > To Neil B and others who have patiently explained this to me on
6 > several occasions... I can only plead deep seated idiocy but I'm not
7 > getting why this happens.
8 >
9 >
10 > I want to `unmerge' (-C) versions of gentoo-sources prior to -2.6.20-r6
11 >
12 > However this fails:
13 >
14 > root # emerge -vpC "<"gentoo-sources-2.6.20-r6
15 >
16 > >>> These are the packages that would be unmerged:
17 >
18 > --- Couldn't find '<gentoo-sources-2.6.20-r6' to unmerge.
19
20 > >>> No packages selected for removal by unmerge
21
22 Question: do you have a gentoo-sources less than 2.6.20-r6 installed?
23 If not, then the output is appropriate (can't unmerge what you haven't
24 merged).
25
26 >
27 > ==================================================
28 >
29 > However the same command run in `install' mode works:
30 >
31 > root # emerge -vp "<"gentoo-sources-2.6.20-r6
32 >
33 > These are the packages that would be merged, in order:
34 >
35 > Calculating dependencies... done!
36 > [ebuild NS ] sys-kernel/gentoo-sources-2.6.20-r5 \
37 > USE="-build -symlink" 42,570 kB
38 >
39
40 The "NS" indicates that this version (2.6.20-r5) is not installed, which
41 would make sense if the answer to the above question is yes.
42
43 e.g:
44 $ epm -q automake
45 automake-1.9.6-r2
46 automake-1.10
47 automake-1.7.9-r1
48 automake-1.8.5-r3
49 automake-1.5
50 automake-1.6.3
51
52 $ emerge -Cp '<automake-1.7'
53
54 >>> These are the packages that would be unmerged:
55
56 sys-devel/automake
57 selected: 1.5 1.6.3
58 protected: none
59 omitted: 1.9.6-r2 1.10 1.7.9-r1 1.8.5-r3
60
61 $ emerge -Cp '<automake-1.5'
62
63 >>> These are the packages that would be unmerged:
64
65 --- Couldn't find '<automake-1.5' to unmerge.
66
67
68
69
70 --
71 Albert W. Hopkins
72
73 --
74 gentoo-user@g.o mailing list