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

RPM Bug? Upgrade/downgrade handling of config file



Title: RPM Bug? Upgrade/downgrade handling of config file

Hi,

I've got the following problem:

1. Version A of /etc/foo in bar.rpm version 1.0 is not a config file.
2. Version A of /etc/foo in bar.rpm version 1.1 becomes a config file.
3. After upgrading bar.rpm from version 1.0 to 1.1,  /etc/foo is modified and become version B.
4. Any re-install of bar.rpm version 1.1 will keep /etc/foo as version B. This is correct.
5. After downgrading bar.rpm from version 1.1 to 1.0, /etc/foo keeps version B. This is unexpected. In 1.0, /etc/foo is not a config file. So, the content should have been the same as in the bar.rpm version.

Looks like a bug to me. Right now, the only option to me is to create a new file replacing /etc/foo in bar.rpm version 1.1.

Is there an option that I can use to get rid of this behavior?

Is there another way to solve it not involving creating a new file?

Thanks,

Tom


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