[gentoo-user] Questions on the number of packages listed by 'emerge --depclean'
When I run 'emerge --depclean' I get this at the end as output: Packages installed: 2305 Packages in world:1762 Packages in system: 64 Unique package names: 2283 Required packages:2322 1. It seems I'm missing 17 (2322 - 2305 = 17) packages. How can find out the names of these packages? 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? B. How did they get onto my system? 3. It seems that I have 22 (2305 - 2283 = 22) packages that are slotted. How can I check this? Thanks. --- Vladimir -- Vladimir G. Ivanovic [EMAIL PROTECTED] -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Questions on the number of packages listed by 'emerge --depclean'
Vladimir G. Ivanovic wrote: When I run 'emerge --depclean' I get this at the end as output: Packages installed: 2305 Packages in world:1762 Packages in system: 64 Unique package names: 2283 Required packages:2322 1. It seems I'm missing 17 (2322 - 2305 = 17) packages. How can find out the names of these packages? I don't know about this one, someone else can answer this. 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? B. How did they get onto my system? They are dependencies of packages in your world file (world includes system). The only packages in world are those you specified on the command line. Example: emerge pysol would emerge pysol and it's dependencies, like pysol-sound-server. Only pysol will actually be in the world file. emerge -p --emptytree world may show you all the packages, but you'll want to pipe it to a pager, cause it'll be a long list. 3. It seems that I have 22 (2305 - 2283 = 22) packages that are slotted. How can I check this? emerge -p --prune world will show you, but don't run it without the -p option, you may very well need some of those. Thanks. --- Vladimir PaulNM -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Questions on the number of packages listed by 'emerge --depclean'
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
Re: [gentoo-user] Questions on the number of packages listed by 'emerge --depclean'
Paul, Thanks for your help. One more question... Does 'emerge --update --deep' look for updates to packages like, using your example, pysol-sound-server, i.e. packages not in my world file? --- Vladimir On Thu, 2006-07-20 at 15:47 -0400, PaulNM wrote: They are dependencies of packages in your world file (world includes system). The only packages in world are those you specified on the command line. Example: emerge pysol would emerge pysol and it's dependencies, like pysol-sound-server. Only pysol will actually be in the world file. -- Vladimir G. Ivanovic [EMAIL PROTECTED] -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Questions on the number of packages listed by 'emerge --depclean'
On Thu, 20 Jul 2006 13:08:21 -0700, Vladimir G. Ivanovic wrote: Does 'emerge --update --deep' look for updates to packages like, using your example, pysol-sound-server, i.e. packages not in my world file? emerge --update would catch this particular example. It updates the packages listed plus any dependencies in their ebuilds. Adding --deep makes emerge also consider the dependencies of those dependencies and so on right down the tree. -- Neil Bothwick Yes, I am an agent of Satan, but my duties are largely ceremonial. signature.asc Description: PGP signature
Re: [gentoo-user] Questions on the number of packages listed by 'emerge --depclean'
Richard Fish wrote: snip emerge --prune --pretend world Do *NOT* run this command without the --pretend option. -Richard AMEN. BE VERY CAREFUL with that one. It can bite you badly. Dale :-) :-) -- gentoo-user@gentoo.org mailing list