On Tue, 25 Nov 2003, James Olin Oden wrote: > On Mon, 24 Nov 2003, Tim Mooney wrote: > > > In regard to: Using rpm to patch several conf files, Marcelo Mercio Dandrea...: > > > > > Sorry if this a newbie question, Im a begginer on using RPMs.. I > > > scanned the list archives but wasnt able to find information > > > regarding it. Im trying to create a rpm to automatically patch > > > several conf files... On my rpm, I have the "original" conf file > > > as it is installed by its package and a patch file to be applied. > > > I can build and install the RPM with no problem at all, but the > > > install part only works with the --force option, since I modify > > > files referred by other packages... (file X from install of Y > > > conflicts with file from package Z). Is there a way to avoid this > > > ? Am I trying to use RPMs in a way it wasnt supposed to be used ? > > > > Probably. You can avoid `--force' if you investigate the > > `--replace-files' option to RPM, though I have no idea whether that's any > > more "gentle" or not. > > > Is the --replace-files option documented anywhere? I have heard about it > here and there but I never quite caught/understood all the details on > using it. > > Thanks...james How about 'man rpm'? You will find the following. --replacefiles Install the packages even if they replace files from other, already installed, packages. If this is not enough, the source code might be the next step. :) Best regards. Liguo _______________________________________________ Rpm-list mailing list Rpm-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/rpm-list