Home_greyopenFATE - openSUSE feature tracking > #309577
Dashboard | Search | Sign up | Login

Please login or register to be able to edit or vote this feature.

auto remove unused dependencies using YaST and zypper

Feature state

openSUSE-11.3
Done

Description

in Debian, you can apt-get --autoremove if you uninstall a package.

in Fedora, you can also find such feature.

but YaST, nope, I can't.

YaST only automatically install dependencies needed by packages you wanna install, but It does not automatically remove them. So after you tried lots of software to find your need.  Your system will be huge and full of useless dependencies. That might cause disk over-usage or security problems. 'Coz users only do system update in the way "zypper dup" instead of " zypper update", so obselete packages that have bugs remain.

Nowadays I have to write down dependencies mannually everytime I install softwares. That's boring.

Discussion


icons/user_comment.png P. R. wrote: (7 years ago)

> in Fedora, you can also find such feature

where exactly?

icons/user_comment.png R. M. wrote: (7 years ago)

There is no global "autoremove" option, but the removal of unused dependancies when deleting packages has been implemented in Libzypp 7.4/7.5.

See http://lists.opensuse.org/zypp-devel/2010-04/msg00033.html

icons/user_comment.png B. K. wrote: (5 years ago)

This is substantially different from what the requester asked for. Suppose the user uninstalls several packages with solver.cleandepsOnRemove = false, the default. Later on the user realizes that he wants to remove those packages' unneeded dependencies as well. Short of re-installing and then re-uninstalling those packages, there's no way to do this in zypper. In debian, one simply does apt-get --autoremove. This feature is very, very important to rolling release users (i.e. Tumbleweed).

Last change: 5 years ago
Voting
Score: 13
  • Negative: 1
  • Neutral: 0
  • Positive: 14
Feature Export
Application-xmlXML   Text-x-logPlaintext   PrinterPrint