Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 298298 - emerge --depclean should summarize world-sets too
Summary: emerge --depclean should summarize world-sets too
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Enhancement/Feature Requests (show other bugs)
Hardware: All Linux
: High enhancement
Assignee: Portage team
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks: 144480 445274
  Show dependency tree
 
Reported: 2009-12-25 10:57 UTC by Duncan
Modified: 2013-01-10 15:32 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.