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
Attachment:
pgp00007.pgp
Description: PGP signature