Gentoo Archives: gentoo-user

From: Dale <dalek1967@×××××××××.net>
To: gentoo-user@l.g.o
Subject: [gentoo-user] emerge --depclean -p output looks weird
Date: Sat, 05 Apr 2008 06:27:59
Message-Id: 47F71BDB.5030701@bellsouth.net
1 Hi,
2
3 I run --depclean on occasion just to clean out some old cruft. I got
4 this output a bit ago and it is well . . . confusing me. Here it is:
5
6 root@smoker / # emerge -p --depclean
7
8 *** WARNING *** Depclean may break link level dependencies. Thus, it is
9 *** WARNING *** recommended to use a tool such as `revdep-rebuild` (from
10 *** WARNING *** app-portage/gentoolkit) in order to detect such breakage.
11 *** WARNING ***
12 *** WARNING *** Also study the list of packages to be cleaned for any
13 obvious
14 *** WARNING *** mistakes. Packages that are part of the world set will
15 always
16 *** WARNING *** be kept. They can be manually added to this set with
17 *** WARNING *** `emerge --noreplace <atom>`. Packages that are listed in
18 *** WARNING *** package.provided (see portage(5)) will be removed by
19 *** WARNING *** depclean, even if they are part of the world set.
20 *** WARNING ***
21 *** WARNING *** As a safety measure, depclean will not remove any packages
22 *** WARNING *** unless *all* required dependencies have been resolved.
23 As a
24 *** WARNING *** consequence, it is often necessary to run
25 *** WARNING *** `emerge --update --newuse --deep world` prior to depclean.
26
27 Calculating dependencies... done!
28
29
30 >>> These are the packages that would be unmerged:
31
32 sys-kernel/gentoo-sources
33 selected: 2.6.23-r8
34 protected: none
35 omitted: 2.6.23-r3 2.6.24-r4
36
37 sys-kernel/gentoo-sources
38 selected: 2.6.23-r9
39 protected: none
40 omitted: 2.6.23-r3 2.6.24-r4
41
42 sys-kernel/gentoo-sources
43 selected: 2.6.24-r3
44 protected: none
45 omitted: 2.6.23-r3 2.6.24-r4
46
47 >>> 'Selected' packages are slated for removal.
48 >>> 'Protected' and 'omitted' packages will not be removed.
49
50 Packages installed: 857
51 Packages in world: 298
52 Packages in system: 52
53 Unique package names: 857
54 Required packages: 854
55 Number to remove: 3
56 root@smoker / #
57
58 What looks weird you ask, why is it listing them that way? They are
59 separately listed and I don't recall ever seeing it listed that way
60 before. They are usually in one section.
61
62 Another odd thing is this:
63
64 root@smoker / # uname -r
65 2.6.23-gentoo-r8
66 root@smoker / # ls -al /usr/src/
67 total 3
68 drwxr-xr-x 4 root root 176 2008-04-04 16:58 .
69 drwxr-xr-x 17 root root 496 2008-01-23 09:31 ..
70 -rw-r--r-- 1 root root 0 2006-08-03 09:23 .keep
71 lrwxrwxrwx 1 root root 32 2008-04-04 16:58 linux ->
72 /usr/src/linux-2.6.23-gentoo-r8/
73 drwxr-xr-x 20 root root 1424 2008-04-04 17:21 linux-2.6.23-gentoo-r8
74 drwxr-xr-x 21 root root 1472 2008-04-03 22:32 linux-2.6.24-gentoo-r4
75 root@smoker / #
76
77 It wants to remove the currently running kernel as well. Seems it used
78 to leave that one in the past. I may be wrong tho.
79
80 Thoughts?
81
82 Dale
83
84 :-) :-)
85 --
86 gentoo-user@l.g.o mailing list

Replies

Subject Author
Re: [gentoo-user] emerge --depclean -p output looks weird Zac Medico <zmedico@g.o>