rpm -Uhv --oldpackage loses configs

Jeff Johnson n3npq at mac.com
Tue Jun 7 16:48:51 CEST 2016


On Jun 7, 2016, at 10:44 AM, Elan Ruusamäe wrote:

> 
>> Do the repackaged rpm’s contain those files.?
> 
> the config files are present in .rpm file and in rpmdb where i installed the .rpm file:
> 
> # rpm -qplvc 1465233457/pam-1.1.8-8.x86_64.rpm|grep auth
> -rw-r--r--    1 root    root             1016 veebr 25  2015 /etc/pam.d/system-auth
> 
> # rpm -qc pam|grep /etc/pam.d/system-auth
> /etc/pam.d/system-auth
> 
> and still marked as %config

Sorry for not being precise.

Yes the metadata header contains those files.

Are the files in the payload?
	rpm2cpio *.rpm | cpio -itv

If the files  are not in the payload, then they will not be installed.

73 de Jeff



More information about the pld-devel-en mailing list