[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

RE: The status of files created after installs



Title: RE: The status of files created after installs

Hi!
Thanks for the reply.
Actually the samples are small C programs which when run on target machine creates .out files or assembly files. The rpm only deletes the files which has been installed by the package i.e which are specified in files macro. It says that it is unable to remove these .out files. It also not removes the files which I have defined as documentation using %doc macro. I understand if dosen't removes the newly generated files. But of the files I have specified as documentation are also not removed.

Please guide me on this.
Thanks & Regards
Rekha

-----Original Message-----
From: Jag [mailto:agrajag@linuxpower.org]
Sent: Friday, December 21, 2001 10:53 AM
To: Rekha Deshmukh
Cc: rpm-list@redhat.com
Subject: Re: The status of files created after installs


On Fri, 21 Dec 2001, Rekha Deshmukh wrote:

> Hi!
>
> My rpm installs some samples on the target machine. These samples when
> executed create some output files. When the package is erased rpm is
> unable to delete those files. Is there any method by which I am able to
> delete all the files on target machine of my package? Or writing shell
> commands to delete all is the only solution?

RPM removes the files that were intsalled.  As for files that are
created when a program is run, I can think of three types: data files,
config files, and temporary files.   You don't want to automatically
remove data files or config files, and the program itself should remove
any temporary files.  Not knowing what program you're actually talking
about, I'm tempted to either say the output is temporary files and the
program is at fault for not removing them, or they're data files, which
means they shouldn't be removed with the program.


Jag


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index] []