http://bugzilla.opensuse.org/show_bug.cgi?id=1175678 http://bugzilla.opensuse.org/show_bug.cgi?id=1175678#c1 Hans Schwimmbeck <hans@schwimmbeck.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |hans@schwimmbeck.de --- Comment #1 from Hans Schwimmbeck <hans@schwimmbeck.de> --- Because there is no equivalent to Debians apt autoremove in openSUSE, I made a little script which tries to mimic it and resides as zypper_autoremove in /usr/local/bin. ----------------- #!/bin/sh zypper rm -u $(zypper pa --unneeded | grep 'i |' | cut -d'|' -f3 | tr -d ' ' | uniq | tr '\n' ' ') ----------------- The command in brackets prints a list of unneeded packages separated by blanks. This list can be used by "zypper rm -u" to remove the packages recursively. It has to be run as root and should work as long as the output format of "zypper pa --unneeded" does not change. Of course it should be used with care! An "official" solution would be very much appreciated. -- You are receiving this mail because: You are on the CC list for the bug.