1 |
On 7/20/06, Vladimir G. Ivanovic <vgivanovic@×××××××.net> wrote: |
2 |
> When I run 'emerge --depclean' I get this at the end as output: |
3 |
> |
4 |
> Packages installed: 2305 |
5 |
> Packages in world: 1762 |
6 |
|
7 |
WOW! That is a *huge* number of packages in world! |
8 |
|
9 |
> 1. It seems I'm missing 17 (2322 - 2305 = 17) packages. How can |
10 |
> find out the names of these packages? |
11 |
|
12 |
They are in the depclean output. If it shows up in depclean, it is |
13 |
not in world or system, nor a dependancy of something in world or |
14 |
system. |
15 |
|
16 |
> 2. It seems that I have 479 (2305 - 1762 - 64 = 479) packages that |
17 |
> are in neither world nor system. |
18 |
> A. What are the names of these packages? |
19 |
|
20 |
emerge -Devp system | awk -F'] ' '{ print $2 }' | awk '{ print $1 }' > |
21 |
~/system_pkgs.txt |
22 |
equery -i list | grep "/" | while read pkg; do |
23 |
pkg="${pkg%-[0-9]*}" |
24 |
grep "$pkg" /var/lib/portager/world >/dev/null && continue |
25 |
grep "$pkg" ~/system_pkgs.txt >/dev/null && continue |
26 |
echo $pkg |
27 |
done |
28 |
|
29 |
> B. How did they get onto my system? |
30 |
|
31 |
They are dependancies of something in world or system. "equery depends <pkg>". |
32 |
|
33 |
> 3. It seems that I have 22 (2305 - 2283 = 22) packages that are |
34 |
> slotted. How can I check this? |
35 |
|
36 |
"emerge --prune --pretend world" |
37 |
|
38 |
Do *NOT* run this command without the --pretend option. |
39 |
|
40 |
-Richard |
41 |
-- |
42 |
gentoo-user@g.o mailing list |