Rpm removal does not remove delivered dirs and leaves garbage
Posted
by
Jim
on Server Fault
See other posts from Server Fault
or by Jim
Published on 2012-04-06T09:51:49Z
Indexed on
2012/04/06
11:33 UTC
Read the original article
Hit count: 224
I deliver an application via an RPM.
This application delivers various directories and files.
E.g. under /opt/internal/com
a file structure is being copied.
I was expecting that on rpm -e
all the file structure delivered under /opt/internal/com
will be removed.
But it does not.
There are directories in the file structure that are non-empty.
Is this the reason? But these (non-empty) directories were created by the RPM installation. So I would expect that they would be "owned" by RPM and removed automatically.
Is this wrong? Am I supposed to remove them manually?
© Server Fault or respective owner