Gentoo Archives: gentoo-user

From: Zac Medico <zmedico@g.o>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] emerge --depclean -p output looks weird
Date: Sat, 05 Apr 2008 07:27:48
Message-Id: 47F72A14.8060208@gentoo.org
In Reply to: [gentoo-user] emerge --depclean -p output looks weird by Dale
1 -----BEGIN PGP SIGNED MESSAGE-----
2 Hash: SHA1
3
4 Dale wrote:
5 > Calculating dependencies... done!
6 >
7 >
8 >>>> These are the packages that would be unmerged:
9 >
10 > sys-kernel/gentoo-sources
11 > selected: 2.6.23-r8
12 > protected: none
13 > omitted: 2.6.23-r3 2.6.24-r4
14 >
15 > sys-kernel/gentoo-sources
16 > selected: 2.6.23-r9
17 > protected: none
18 > omitted: 2.6.23-r3 2.6.24-r4
19 >
20 > sys-kernel/gentoo-sources
21 > selected: 2.6.24-r3
22 > protected: none
23 > omitted: 2.6.23-r3 2.6.24-r4
24 >
25 [snip]
26 > What looks weird you ask, why is it listing them that way? They are
27 > separately listed and I don't recall ever seeing it listed that way
28 > before. They are usually in one section.
29
30 That's a side effect from the fix for this bug:
31
32 http://bugs.gentoo.org/show_bug.cgi?id=201045
33
34 The code was never written to preserve unmerge order, but now that
35 it's been tweaked to do so, it displays a bit differently in cases
36 like this. It would be possible to make it look like it used to in
37 cases when the order doesn't matter, but since it's only
38 superficial, it's not a really a high priority.
39
40 > Another odd thing is this:
41 >
42 > root@smoker / # uname -r
43 > 2.6.23-gentoo-r8
44 > root@smoker / # ls -al /usr/src/
45 > total 3
46 > drwxr-xr-x 4 root root 176 2008-04-04 16:58 .
47 > drwxr-xr-x 17 root root 496 2008-01-23 09:31 ..
48 > -rw-r--r-- 1 root root 0 2006-08-03 09:23 .keep
49 > lrwxrwxrwx 1 root root 32 2008-04-04 16:58 linux ->
50 > /usr/src/linux-2.6.23-gentoo-r8/
51 > drwxr-xr-x 20 root root 1424 2008-04-04 17:21 linux-2.6.23-gentoo-r8
52 > drwxr-xr-x 21 root root 1472 2008-04-03 22:32 linux-2.6.24-gentoo-r4
53 > root@smoker / #
54 >
55 > It wants to remove the currently running kernel as well. Seems it used
56 > to leave that one in the past. I may be wrong tho.
57
58 That's this bug:
59
60 http://bugs.gentoo.org/show_bug.cgi?id=198200
61
62 With <portage-2.2_pre the only solution is to add the versions that
63 you want to keep to the world file, like this:
64
65 emerge --noreplace =gentoo-sources-2.6.23-r8
66
67 After you do that, depclean shouldn't want to remove that one.
68
69 Zac
70 -----BEGIN PGP SIGNATURE-----
71 Version: GnuPG v2.0.9 (GNU/Linux)
72
73 iEYEARECAAYFAkf3KhMACgkQ/ejvha5XGaNLHwCeKY/EGULFLrcTknYIs59ZzXBH
74 EfcAn2GeHj7uhyMW/70YUIKOyn64xr7s
75 =yDS1
76 -----END PGP SIGNATURE-----
77 --
78 gentoo-user@l.g.o mailing list

Replies

Subject Author
Re: [gentoo-user] emerge --depclean -p output looks weird Dale <dalek1967@×××××××××.net>