Gentoo Archives: gentoo-user

From: Dale <teendale@×××××××××××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Exercising a bit of caution with prune
Date: Mon, 17 Jul 2006 08:32:45
Message-Id: 44BB49C1.70602@vista-express.com
In Reply to: Re: [gentoo-user] Exercising a bit of caution with prune by Neil Bothwick
1 Neil Bothwick wrote:
2 >
3 > --prune removed slotted packages, which are usually slotted for a reason.
4 > This not only applies to autocont, db etc. but also to things like the
5 > GNOME/GTK library packages in your list.
6 >
7 > If you want to find packages that are no longer needed, you should be
8 > using "emerge --depclean -p".
9 >
10 >
11 >
12
13 OK, I got this:
14
15 > root@smoker / # emerge --depclean -p
16 >
17 > *** WARNING *** --depclean is known to be broken. It is highly
18 > recommended
19 > *** WARNING *** that `emerge --update --newuse --deep world` be ran
20 > before
21 > *** WARNING *** commencing. However, using --depclean may still break
22 > link
23 > *** WARNING *** level consistency within your system. `revdep-rebuild`
24 > *** WARNING *** from app-portage/gentoolkit can help to detect breakage.
25 > *** WARNING ***
26 > *** WARNING *** Also study the list of packages to be cleaned for any
27 > *** WARNING *** obvious mistakes. Packages can be manually added to the
28 > *** WARNING *** world list by running `emerge --noreplace <atom>`.
29 > *** WARNING ***
30 > *** WARNING *** It is normal for packages that are masked or listed in
31 > *** WARNING *** package.provided to be removed by depclean. These
32 > are the most
33 > *** WARNING *** likely reasons that depclean will remove a package
34 > even though
35 > *** WARNING *** it is in the world or system package set. In order to
36 > *** WARNING *** troubleshoot these types of problems, it is often
37 > helpful to
38 > *** WARNING *** look at the output of `grep -r <atom> /etc/portage`.
39 > *** WARNING ***
40 > *** WARNING *** Make sure you have a backup.
41 >
42 > Calculating dependencies... done!
43 >
44 > >>> These are the packages that would be unmerged:
45 >
46 > media-libs/netpbm
47 > selected: 10.30-r1
48 > protected: none
49 > omitted: none
50 >
51 > dev-libs/libcdio
52 > selected: 0.73
53 > protected: none
54 > omitted: none
55 >
56 > dev-cpp/libgnomemm
57 > selected: 2.6.0
58 > protected: none
59 > omitted: none
60 >
61 > media-video/avifile
62 > selected: 0.7.41.20041001-r1
63 > protected: none
64 > omitted: none
65 >
66 > gnome-base/libgnomeprintui
67 > selected: 2.12.1
68 > protected: none
69 > omitted: none
70 >
71 > media-video/vcdimager
72 > selected: 0.7.21
73 > protected: none
74 > omitted: none
75 >
76 > app-shells/sash
77 > selected: 3.7
78 > protected: none
79 > omitted: none
80 >
81 > media-libs/urt
82 > selected: 3.1b-r1
83 > protected: none
84 > omitted: none
85 >
86 > app-arch/ncompress
87 > selected: 4.2.4-r1
88 > protected: none
89 > omitted: none
90 >
91 > sys-devel/bc
92 > selected: 1.06-r6
93 > protected: none
94 > omitted: none
95 >
96 > app-text/jadetex
97 > selected: 3.13-r1
98 > protected: none
99 > omitted: none
100 >
101 > dev-cpp/libglademm
102 > selected: 2.6.1
103 > protected: none
104 > omitted: none
105 >
106 > net-nds/openldap
107 > selected: 2.3.24-r1
108 > protected: none
109 > omitted: none
110 >
111 > dev-perl/TermReadKey
112 > selected: 2.30
113 > protected: none
114 > omitted: none
115 >
116 > net-print/libgnomecups
117 > selected: 0.2.0
118 > protected: none
119 > omitted: none
120 >
121 > net-analyzer/iftop
122 > selected: 0.16
123 > protected: none
124 > omitted: none
125 >
126 > sys-libs/lib-compat
127 > selected: 1.4.1
128 > protected: none
129 > omitted: none
130 >
131 > dev-cpp/gnome-vfsmm
132 > selected: 2.6.1
133 > protected: none
134 > omitted: none
135 >
136 > virtual/perl-digest-base
137 > selected: 1.13
138 > protected: none
139 > omitted: none
140 >
141 > dev-tex/latex2html
142 > selected: 2002.2.1_pre20041025
143 > protected: none
144 > omitted: none
145 >
146 > app-crypt/dirmngr
147 > selected: 0.9.4
148 > protected: none
149 > omitted: none
150 >
151 > gnome-base/libgnomeprint
152 > selected: 2.12.1
153 > protected: none
154 > omitted: none
155 >
156 > dev-cpp/libgnomeuimm
157 > selected: 2.6.0
158 > protected: none
159 > omitted: none
160 >
161 > dev-cpp/libgnomecanvasmm
162 > selected: 2.6.1
163 > protected: none
164 > omitted: none
165 >
166 > media-libs/xvid
167 > selected: 1.0.3
168 > protected: none
169 > omitted: none
170 >
171 > perl-core/digest-base
172 > selected: 1.13
173 > protected: none
174 > omitted: none
175 >
176 > media-libs/libsndfile
177 > selected: 1.0.11
178 > protected: none
179 > omitted: none
180 >
181 > kde-base/kdat
182 > selected: 3.5.1
183 > protected: none
184 > omitted: none
185 >
186 > x11-base/opengl-update
187 > selected: 3.0.0
188 > protected: none
189 > omitted: none
190 >
191 > dev-java/blackdown-jre
192 > selected: 1.4.2.03
193 > protected: none
194 > omitted: none
195 >
196 > >>> 'Selected' packages are slated for removal.
197 > >>> 'Protected' and 'omitted' packages will not be removed.
198 >
199 >
200 > Packages installed: 885
201 > Packages in world: 163
202 > Packages in system: 59
203 > Unique package names: 854
204 > Required packages: 877
205 > Number to remove: 30
206 > root@smoker / #
207
208 I don't have gnome installed on here but I think something else uses
209 it. Maybe it doesn't need it anymore. I also use java but I think I
210 use the one from Sun that has the fetch restriction thing on it. Just
211 to see if my thinking is right, should I do a equery depends <name of
212 each thing in the list> to make sure nothing needs it before I remove
213 it? This doesn't pick up all the different versions of kernels. I
214 still need to check the prune one I guess. For that at least.
215
216 Gosh, 885 installed. Holy molly. That's a lot.
217
218 Thanks
219
220 Dale
221 :-) :-)
222 --
223 gentoo-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-user] Exercising a bit of caution with prune Neil Bothwick <neil@××××××××××.uk>