Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 298298

Summary: emerge --depclean should summarize world-sets too
Product: Portage Development Reporter: Duncan <1i5t5.duncan>
Component: Enhancement/Feature RequestsAssignee: Portage team <dev-portage>
Status: RESOLVED FIXED    
Severity: enhancement CC: esigra
Priority: High Keywords: InVCS
Version: 2.2   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 144480, 445274    

Description Duncan 2009-12-25 10:57:11 UTC
portage-2.2_rc60

emerge --pretend --depclean

[snipped standard safety warning]

!!! You have no world file.
!!! Proceeding is likely to break your installation.

Calculating dependencies  ... done!
>>> No packages selected for removal by depclean
>>> To see reverse dependencies, use --verbose
Packages installed:   816
Packages in world:    0
Packages in system:   49
Required packages:    816
Number to remove:     0

No world file, 800+ packages installed, yet depclean reports nothing to remove.  How can this be?  No sane @system is that huge, and mine is no exception.

Simple.  I just finished converting my entire world file into sets.  As everything from the world file is now in sets, and all those sets are in world_sets, there's no longer a need for a world file, and I have none.

So now we need a new line in that summary, listing the number of packages in sets, and/or a line listing the number of sets in the world_sets file, so the summary will be complete and look sane once again. =:^)

(This should be simple enough to implement I hope.  I also hope it's not a dupe request as it seems common sense enough it's hard to believe I'm the first to think of it, but I couldn't find any other such bugs, so...)
Comment 2 Duncan 2012-12-18 08:41:04 UTC
Thanks.  Looking forward to seeing it in a 2.2.0-alpha in few days. =:^)
Comment 3 Zac Medico gentoo-dev 2013-01-10 15:32:56 UTC
This is fixed in 2.1.11.39 and 2.2.0_alpha150.