Re: [SLUG] Safe ? or not !

From: Bob Stia (rnr@sanctum.com)
Date: Thu Feb 05 2004 - 23:54:46 EST


On Thursday 05 February 2004 10:44 am, Ian Blenke wrote:
> Bob Stia wrote:

> > Thanks for replying guys. Guess I will just leave them alone.
> > There may or may not be extraneous files/packages that exist there
> > and never to be used again, but how would one know for sure. Use
> > up a little extra space on the HD. Oh well !!
>
> Go into the directory in question and do an "rpm -q -f" on the file,
> ie:
>
> for dir in /usr/share/themes /usr/lib/gtk/themes/engines
> /usr/lib/gtk/themes /usr/lib/gtk-2.0/2.2.0/engines
> /usr/lib/gtk-2.0/2.2.0 /usr/lib/gtk-2.0 /usr/lib/gtk ; do
> for file in $dir/* ; do
> rpm -q -f "$file" ;
> done ;
> done | sort | uniq
>
> After a bit of churning, this should give you a list of packages that
> have files in those directories.

OK, thanks Ian, appreciate the help in learning how to do these things.

If I uderstood correctly, here is what I did:

cd'd to /usr/lib/gtk/themes then did an rpm -q -f "engines"

Got the reply
file engines is not owned by any package

OK Does that mean it is safe to delete the "engines" directory?? It is
not really a file; it is really a directory, right?

Bob Stia

-----------------------------------------------------------------------
This list is provided as an unmoderated internet service by Networked
Knowledge Systems (NKS). Views and opinions expressed in messages
posted are those of the author and do not necessarily reflect the
official policy or position of NKS or any of its employees.



This archive was generated by hypermail 2.1.3 : Fri Aug 01 2014 - 17:30:32 EDT