[Bug 637211] New: Show a group of unneeded packages in package manager and button to clean all such packages
https://bugzilla.novell.com/show_bug.cgi?id=637211 https://bugzilla.novell.com/show_bug.cgi?id=637211#c0 Summary: Show a group of unneeded packages in package manager and button to clean all such packages Classification: openSUSE Product: openSUSE 11.4 Version: Milestone 1 of 6 Platform: All OS/Version: SuSE Other Status: NEW Severity: Enhancement Priority: P5 - None Component: YaST2 AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: badshah400@gmail.com QAContact: jsrain@novell.com Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-GB; rv:1.9.2.8) Gecko/20100723 SUSE/3.6.8-0.1.1 Firefox/3.6.8 In the Software Management module in YaST, there is now [since 11.3] an option to clean unneeded packages at the time of uninstalling a package. It might be useful though to have a package group or filter to show the "Unneeded packages" left in the system for a user not inclined to clean up packages at every uninstall. For that user a button/menu item somewhere that goes "search for and weed out all unneeded installed packages" might be of great help. A user might want to reserve some unneeded packages, for example to help him with building stuff, and use such a button every once in 2--3 months to do a weeding :) Reproducible: Always Steps to Reproduce: 1. 2. 3. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=637211
https://bugzilla.novell.com/show_bug.cgi?id=637211#c1
Ricardo Cruz
https://bugzilla.novell.com/show_bug.cgi?id=637211
https://bugzilla.novell.com/show_bug.cgi?id=637211#c2
--- Comment #2 from Ricardo Cruz
https://bugzilla.novell.com/show_bug.cgi?id=637211
https://bugzilla.novell.com/show_bug.cgi?id=637211#c3
Ricardo Cruz
https://bugzilla.novell.com/show_bug.cgi?id=637211
https://bugzilla.novell.com/show_bug.cgi?id=637211#c4
Ricardo Cruz
https://bugzilla.novell.com/show_bug.cgi?id=637211
https://bugzilla.novell.com/show_bug.cgi?id=637211#c5
Michael Andres
Michael, would you like to have a look at the feasibility of this feature request?
The Achilles' heel on all this is the method "pkg.onSystemByUser()". .. Any other problems I'm not foreseeing? Solutions?
The problem is that most probably far too many packages appear NOT to be installed by user, specially all packages required or recommended by patterns. But there's no reliable information stored in the system telling whether a pattern was selected by user or solver. We could assume that all satisfied patterns are 'wanted by user' and see whether this produces some reasonable result. Your main issue "if pkgA.requires(pkgB) then" is IMO nothing you need to compute. The resolver is able to compute the set, IFF we are able to correctly denote the set of byUser installed packages. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=637211
https://bugzilla.novell.com/show_bug.cgi?id=637211#c6
--- Comment #6 from Ricardo Cruz
https://bugzilla.novell.com/show_bug.cgi?id=637211
https://bugzilla.novell.com/show_bug.cgi?id=637211#c
Duncan Mac-Vicar
participants (1)
-
bugzilla_noreply@novell.com