rpm -Uhv --oldpackage loses configs
Elan Ruusamäe
glen at delfi.ee
Tue Jun 7 18:51:36 CEST 2016
On 07.06.2016 17:48, Jeff Johnson wrote:
> 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.
yes. present:
root at glen 1465233457/1# ls -ld ../*pam**.rpm
-rw-r--r-- 1 root root 333764 6. juuni 20:17 ../pam-1.1.8-8.x86_64.rpm
-rw-r--r-- 1 root root 35353 6. juuni 20:17 ../pam-libs-1.1.8-8.x86_64.rpm
root at glen 1465233457/1# rpm2cpio ../*pam**.rpm | cpio -itv|grep -E
'/etc/security/namespace.init|/etc/security/limits.conf|/etc/pam.d/system-auth'
-rw-r--r-- 1 root root 1066 Oct 11 2015
./etc/pam.d/system-auth
-rw-r--r-- 1 root root 1824 Feb 25 2015
./etc/security/limits.conf
-rwxr-xr-x 1 root root 1019 Feb 25 2015
./etc/security/namespace.init
2511 blocks
--
glen
More information about the pld-devel-en
mailing list