Mailinglist Archive: opensuse-softwaremgmt (13 mails)

< Previous Next >
Re: [softwaremgmt] software manager: provide aid in removing unused libraries (uninstall)
  • From: Maciej Pilichowski <macias@xxxxxxxxxxxxxxxx>
  • Date: Sun, 30 Sep 2007 13:12:58 +0200
  • Message-id: <200709301312.59086.macias@xxxxxxxxxxxxxxxx>
Hello,

> > 3) did user install it explictly or it was SM call (fullfilling
> > requirements)
> It must be tracked by the package manager because RPM won't tell
> you. 

True, but this could be used to assign "points" to each package. 
Points would be used to show sorted list of unused packages. That way 
top packages would be libraries, at bottom you would find 
applications.

> And then you get into the problem that it would only work if 
> the user always uses yast (or maybe it could be done in libzypp).
> If he uses "rpm -i" or smart or yum or whatever else just once, it
> won't be tracked.
> IMO point 3) is not feasible.

Here I differ in opinion, if you use rpm you are likely not a regular 
user, so seeing list:
OpenOffice
libsomething

  you should also easily judge if it is a library or an app.

> And the problem in the first place is that you can't just use "rpm
> --whatrequires" to find out whether a package is needed or not,
> because rpm only reports Requires: with package names there. But
> must of the dependencies are on filenames (e.g. "libxml2.so.2" or
> "/bin/bash").

Yes, it could be time consuming. But the good news it is possible. 
It could be option not to check the whole system but to 
examine "suspicious" package if it is still required -- this would be 
also useful.

have a nice day, bye
-- 
Maciej Pilichowski
-- 
To unsubscribe, e-mail: opensuse-softwaremgmt+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-softwaremgmt+help@xxxxxxxxxxxx

< Previous Next >
List Navigation
Follow Ups