[PLUG] What program is using a library?

John Jason Jordan johnxj at comcast.net
Wed Mar 21 03:22:01 UTC 2007


On Tue, 20 Mar 2007 20:02:05 -0700
"William A Morita" <wamorita at hevanet.com> dijo:

> Jason,
> 
> You may have removed the packages, but the libraries that were loaded to
> support those packages do not automatically get removed.
> 
> 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.
> 
> I suggest doing this after removing programs.

Bill,

That sounds like exactly what I need!

Unfortunately, "deborphan" got me "command not found," and a search in
Synaptic revealed that it exists but was not installed. The search also
popped up gtkdeborphan, which is a GUI front end for it. I marked them
for installation and then discovered that the Ubuntu repositories seem
to be down. :(

Actually, Synaptic does a pretty good job of listing orphaned stuff, If
you click on the Status button it will show you things that are
"residual - auto removable." Unfortunately, sometimes it doesn't work.
I think where it fails is when you have installed a program and then
you install a plugin or extension or something for it. Synaptic doesn't
know that the additional stuff is connected to another package, so if
you remove the package the extra stuff gets left behind. At least
that's my theory.

I also googled on the mysterious aqbanking stuff and it turns out that
it is somehow connected to GnuCash. I just did a complete removal on
all of them. So far everything on my little computer remains happy.



More information about the PLUG mailing list