Re: [SLUG] Safe ? or not !

From: Eben King (eben1@tampabay.rr.com)
Date: Wed Feb 04 2004 - 02:17:53 EST


On Tue, 3 Feb 2004, Bob Stia wrote:

> Need advice on a procedural kind of thing.
>
> Recently upgraded some files. RPM gives me the following message after
> having completed the upgrade.
>
> cannot remove /usr/share/themes - directory not empty
> cannot remove /usr/lib/gtk/themes/engines - directory not empty
> cannot remove /usr/lib/gtk/themes - directory not empty
> cannot remove /usr/lib/gtk-2.0/2.2.0/engines - directory not empty
> cannot remove /usr/lib/gtk-2.0/2.2.0 - directory not empty
> cannot remove /usr/lib/gtk-2.0 - directory not empty
> cannot remove /usr/lib/gtk - directory not empty
>
> Question is can I go in and delete them manually? Afraid to do that
> because I am not sure whether they are needed or not and I will break
> something. There is an awful lot of stuff in there using a lot of
> space if it is not needed.

To test, you can move the contents of /usr/share/themes and
/usr/libgtk/themes and /usr/lib/gtk-2.0 and /usr/lib/gtk temporarily (say,
tar | bz2 and rm, or move to /some/location) temporarily and see if you
notice some ill effect. I suspect you will, although there's probably
some stuff in there left behind when you upraded a program.

RPM is probably just trying to be tidy by removing directories, which will
only succeed if they're empty.

-- 
-eben    ebQenW1@EtaRmpTabYayU.rIr.OcoPm    home.tampabay.rr.com/hactar

They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety. -- Ben Franklin

----------------------------------------------------------------------- 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:21:58 EDT