[opensuse] Removing dependencies of already deleted packages
Hello,
I recently found that the following command:
sudo zypper rm --clean-deps
Dne So 26. října 2013 23:02:16, AP napsal(a):
Hello,
I recently found that the following command:
sudo zypper rm --clean-deps
just removes the dependencies which are no more used in the system (associated with the particular package which is to be deleted). But earlier, if I have uninstalled many packages (I don't remember the names of all the packages) and the dependencies of all those already deleted packages still reside in the system, can those dependencies be deleted in some form using the above command (which is package specific), like adding * somewhere in that command which works simultaneously for all the deleted packages' dependencies. I know it won't take much space in the hard-disk, but interested to know if it is possible. I also saw there was nothing in "Orphaned Packages" in YaST.
Thans.
Hi, I use rpmorphan for that purpose. It's not 100% reliable, but it's good starting point when cleaning systém. All the best, Vojtěch -- Vojtěch Zeisek Komunita openSUSE GNU/Linuxu Community of the openSUSE GNU/Linux http://www.opensuse.org/ http://trapa.cz/
On Sat, Oct 26, 2013 at 11:02:16PM +0530, AP wrote:
Hello,
I recently found that the following command:
sudo zypper rm --clean-deps
just removes the dependencies which are no more used in the system (associated with the particular package which is to be deleted). But earlier, if I have uninstalled many packages (I don't remember the names of all the packages) and the dependencies of all those already deleted packages still reside in the system, can those dependencies be deleted in some form using the above command (which is package specific), like adding * somewhere in that command which works simultaneously for all the deleted packages' dependencies. I know it won't take much space in the hard-disk, but interested to know if it is possible. I also saw there was nothing in "Orphaned Packages" in YaST.
"Orphaned Packages" is the wrong category, have a look at "Unneeded Packages". orphaned: neither does a package with the same name exist in the repositories, not does a package in the repos obsolete this package. unneeded: no other package relies on this package. Cheers, Michael. -- Michael Schroeder mls@suse.de SUSE LINUX Products GmbH, GF Jeff Hawn, HRB 16746 AG Nuernberg main(_){while(_=~getchar())putchar(~_-1/(~(_|32)/13*2-11)*13);} -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
participants (3)
-
AP
-
Michael Schroeder
-
Vojtěch Zeisek