SUSE & openSUSE

Tips,Tricks, Tutorials,How Tos and Troubleshooting suse linux

rpmorphan – Find & delete orphaned packages in openSUSE

Posted by admin on February 4th, 2009

rpmorphan is a free opensource utility to find orphaned packages on your openSUSE installation. rpmorphan determines which packages on the system has no other package(s) depending on their installation, and lists these packages. rpmorphan intends to be a clon to the deborphan utility for Debian Linux. rpmorphan has a simple GUI interface to list the orphaned packages and to show the details of the packages and to delete them if you choose to. rpmorphan can also run from commandline as a normal user.

Command line utilities include

/usr/bin/rpmorphan – Find orphaned RPM packages
/usr/bin/rpmusage – Displays RPM packages last usage
/usr/bin/rpmdep – Displays full dependency of an installed package
/usr/bin/rpmduplicates – Duplicate installations with different versions

Install rpmorphan

To install Sockso, click this 1-click installer from PackmanĀ  supported on openSUSE 11.1/11.0/10.3/10.2

Sockso 1-click install

This should download the YMP file and automatically launch the YaST package manager to add the required Repositories and download and install rpmorphan and theĀ  dependencies. Click next on the rpmorphan installation screen and Next again on the installation proposal window. This should start adding the required repositories, download and install rpmorphan and its required dependencies. Click Finish when the installation completes successfully.

NOTE: Click here for a how to on enabling 1-click install in openSUSE 10.2

rpmorphan1 rpmorphan2

rpmorphan3 rpmorphan4

This should install rpmorphan under “Applications – Utilities – More Programs”. The command line utilities are installed under

/usr/bin/rpmorphan
/usr/bin/rpmusage
/usr/bin/rpmdep


When you launch rpmorphan, you will see a list of orphaned packages which you can select and choose to look into its info or delete the package from the system.

rpmorphan5 rpmorphan6

rpmorphan7

The command line utility rpmduplicates looks or programs installed with several versions.

saihari@opensuse11:/usr/bin> rpmduplicates
no duplicate found !

For more information and details on the project, click here to visit the project homepage.

4 Responses to “rpmorphan – Find & delete orphaned packages in openSUSE”

  1. Koen De Jaeger Says:

    Thanks. Very useful.

  2. Mace Moneta Says:

    A package that has no packages depending on it doesn’t sound like an “orphan”. It sounds like a “leaf” package (from a family tree perspective).

    What would you call a package that is not in any configured repository? That’s what I’d call an orphan.

  3. Clean up utility - openSUSE Forums Says:

    [...] Clean up utility Hi, maybe this rpmorphan – Find & delete orphaned packages in openSUSE | SUSE & openSUSE is what you are searching for when you mean orphaned rpms (libraries). Hope this [...]

  4. Looking for equivalent of Deborphan in openSUSE 11.3 Says:

    [...] with it, so can't really offer any further advice. You might want to do a little reading first: rpmorphan – Find & delete orphaned packages in openSUSE | SUSE & openSUSE Reply With Quote + Reply to Thread « Previous Thread | Next [...]

Leave a Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>