On 7/20/06, Vladimir G. Ivanovic <[EMAIL PROTECTED]> wrote:
When I run 'emerge --depclean' I get this at the end as output:
Packages installed: 2305
Packages in world: 1762
WOW! That is a *huge* number of packages in world!
1. It seems I'm missing 17 (2322 - 2305 = 17) packages. How can
find out the names of these packages?
They are in the depclean output. If it shows up in depclean, it is
not in world or system, nor a dependancy of something in world or
system.
2. It seems that I have 479 (2305 - 1762 - 64 = 479) packages that
are in neither world nor system.
A. What are the names of these packages?
emerge -Devp system | awk -F'] ' '{ print $2 }' | awk '{ print $1 }' >
~/system_pkgs.txt
equery -i list | grep "/" | while read pkg; do
pkg="${pkg%-[0-9]*}"
grep "$pkg" /var/lib/portager/world >/dev/null && continue
grep "$pkg" ~/system_pkgs.txt >/dev/null && continue
echo $pkg
done
B. How did they get onto my system?
They are dependancies of something in world or system. "equery depends <pkg>".
3. It seems that I have 22 (2305 - 2283 = 22) packages that are
slotted. How can I check this?
"emerge --prune --pretend world"
Do *NOT* run this command without the --pretend option.
-Richard
--
gentoo-user@gentoo.org mailing list