[Bug 864198] New: Showing or deleting unneeded dependencies not possible
https://bugzilla.novell.com/show_bug.cgi?id=864198 https://bugzilla.novell.com/show_bug.cgi?id=864198#c0 Summary: Showing or deleting unneeded dependencies not possible Classification: openSUSE Product: openSUSE 13.1 Version: Final Platform: All OS/Version: openSUSE 13.1 Status: NEW Severity: Normal Priority: P5 - None Component: libzypp AssignedTo: zypp-maintainers@forge.provo.novell.com ReportedBy: joshua.kraemer@gmail.com QAContact: qa-bugs@suse.de Found By: --- Blocker: --- User-Agent: Opera/9.80 (X11; Linux i686) Presto/2.12.388 Version/12.16 It is requested for a long time to be able to show and delete unneeded dependencies, which is possible in other package managers (e.g. apt and yum). Unneeded means: not needed by installed packages and not explicitly installed by the user. It is therefor needed to track which packages are installed explicitly by the user and which are automatically installed as dependencies. Both the feature to show and the feature to remove unneeded packages are marked as "Done" in openFATE: https://features.opensuse.org/300758 https://features.opensuse.org/309577 However, neither works. The package group "Unneeded packages" in YaST shows also explicitly installed packages. And there is also no command available to delete unneeded packages. "zypper remove --clean deps", as suggested on openFATE, is not a valid command. Reproducible: Always Steps to Reproduce: 1. Install a package (e.g. mplayer). 2. Install a package that depends on the previously installed package (e.g. smplayer), including all additionally necessary dependencies. 3. Remove the second package (smplayer). Actual Results: There is no way to show and remove all automatically installed dependencies that are no longer needed. Expected Results: There should be a way to show and remove all automatically installed dependencies that are no longer needed. In the example above, it should be possible to show/remove the additionally, automatically installed dependencies of smplayer, but keep mplayer. -- 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=864198
https://bugzilla.novell.com/show_bug.cgi?id=864198#c1
--- Comment #1 from Michael Andres
https://bugzilla.novell.com/show_bug.cgi?id=864198
https://bugzilla.novell.com/show_bug.cgi?id=864198#c2
--- Comment #2 from Joshua Krämer
https://bugzilla.novell.com/show_bug.cgi?id=864198
https://bugzilla.novell.com/show_bug.cgi?id=864198#c3
--- Comment #3 from Michael Andres
However, "zypper packages --unneeded" does not work as expected. It shows packages like "grub" and "xorg-x11", which definitely can't be considered unneeded.
Yes. But due to the way we currently use patterns during installation, too many packages are automatically selected by the resolver, thus potential candidates for cleanup. We need to solve our pattern issues before we can improve the cleanup. Maybe 13.2. will behave better.
"Zypper 1.9 brings a number of bugfixes but no new features."
Maybe the author considered this missing option to be bug, rather than a new feature. -- 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=864198
https://bugzilla.novell.com/show_bug.cgi?id=864198#c4
Michael Andres
Additionally, there is an "unneeded" package group in YaST's Qt interface (which seems to show the same packages as "zypper packages --unneeded"), but it's missing in the GTK and Ncurses interfaces.
@Gabi: Maybe you can enhance the ncurses interface, if the group is missing. Please add also the GTK maintainer to this bug. Thanks. -- 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=864198
https://bugzilla.novell.com/show_bug.cgi?id=864198#c6
Gabriele Mohr
https://bugzilla.novell.com/show_bug.cgi?id=864198
https://bugzilla.novell.com/show_bug.cgi?id=864198#c7
--- Comment #7 from Michael Andres
https://bugzilla.novell.com/show_bug.cgi?id=864198
https://bugzilla.novell.com/show_bug.cgi?id=864198#c8
--- Comment #8 from Joshua Krämer
https://bugzilla.novell.com/show_bug.cgi?id=864198
https://bugzilla.novell.com/show_bug.cgi?id=864198#c9
--- Comment #9 from Joshua Krämer
https://bugzilla.novell.com/show_bug.cgi?id=864198
https://bugzilla.novell.com/show_bug.cgi?id=864198#c10
--- Comment #10 from Swamp Workflow Management
participants (1)
-
bugzilla_noreply@novell.com