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

Re: rpm file overwriting query



Tapan Kamat wrote:

Hello everybody

Can somebody tell me the difference between .rpmorig, .rpmsave and .rpmnew files in simple
words. I am unable to understand when any of them
would be created.



All are used iff %config attribute is attached to file being installed.


.rpmorig is used to save copy of preexsiting, but not in a package, file.

.rpmsave is used to save modified, previously installed, contents.

.rpmnew is used to save incoming if %config(noreplace) was used, and previously installed contents are modified. Note that if previous contents are not modified, then previous is simply replaced, not saved in in .rpmsave, incoming not saved in .rpmnew.

73 de Jeff




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