There is something strange with RPM packages. The listed contents, enumerated by
rpm -ql differ from the actually presented files. For instance, I downloaded a
openldap-servers-2.4.26-8.fc16.i686.rpm and ran the one-liner:
rpmfile=openldap-servers-2.4.26-8.fc16.i686.rpm; diff <(rpm2cpio $rpmfile | cpio -t | sed -e 's!^\.!!g') <(rpm -ql -p $rpmfile)
It compares the contents of the
rpm unpacked by
rpm2cpio with output from
9122 blocks 20a21,22 > /etc/openldap/slapd.conf > /etc/openldap/slapd.conf.bak 21a24 > /etc/pki/tls/certs/slapd.pem
rpm -ql states that there are 3 files in the package which actually are absent.
Is there an explanation for that?