openSUSE / zypper

World's most powerful command line package manager
http://en.opensuse.org/Portal:Zypper
Other
392 stars 107 forks source link

New option --remove-orphaned to remove all orphaned packages in dup. #538

Closed mlandres closed 3 months ago

mlandres commented 3 months ago

bsc#1221525

karlmistelberger commented 3 months ago

Nice option. Many users ask for --remove-unneeded: https://forums.opensuse.org/search?q=zypper%20packages%20--unneeded%20order%3Alatest They currently use something like:

zypper packages --unneeded | grep "^i" | cut -d"|" -f3 | xargs zypper remove --clean-deps
mlandres commented 3 months ago

There will appear a zypper remove --remove-unneeded in #540

ivan-mingolov-blue-technologies commented 2 weeks ago

There will appear a zypper remove --remove-unneeded in #540

Is that still the case, because I can't find such a change in #540 or you're planning to expose such an option in future PR?

mlandres commented 2 weeks ago

@ivan-mingolov-blue-technologies It will appear in a future PR. We got interrupted and releases what we dis so far.