[PLUG] What program is using a library?

John Jason Jordan johnxj at comcast.net
Wed Mar 21 06:03:42 UTC 2007


On Tue, 20 Mar 2007 20:22:01 -0700
John Jason Jordan <johnxj at comcast.net> dijo:

> On Tue, 20 Mar 2007 20:02:05 -0700
> "William A Morita" <wamorita at hevanet.com> dijo:
> > You can find out what libraries you have loaded that are no longer
> > referenced by programs using "deborphan".
> > 
> > To remove these packages use:
> > 	apt-get =y --force-yes --purge remove $(deborphan)
> > 
> > After running, run deborphan again to see if there are secondary references
> > that are not longer needed.
> > Use the apt-get command above as many times as needed to get to a state
> > where deborphan returns no libraries.

> That sounds like exactly what I need!

Well, the Ubuntu repositories finally came back and I installed
deborphan and gtkorphan. I used gtkorphan because it's easier. It
listed 41 orphaned packages, but I uninstalled only seven of them. The
problem is that I can't tell if something might actually need it. For
example, one of them was libtar. Gtkorphan lets you right-click and get
information about the package. Among other things, for libtar it said:

Description: C library for manipulating tar archives
 libtar allows programs to create, extract and test tar archives.
 It supports both the strict POSIX tar format and many of the
commonly-used GNU extensions.

So if I remove it, what will I break? I don't know the answer to that,
so I decided to leave it. And the others are all equally confusing. 

Deborphan is a good tool, but I need a database or something where I
can look up a library and see what packages use it.



More information about the PLUG mailing list