I discovered while testing my work on Bcfg2's Yum driver that PO.verify() doesn't handle multiplib packages correctly. I did this testing on the RHEL 6 Beta with pam-1.1.1-4.el6.i686 and pam-1.1.1-4.el6.x86_64 installed. My debug output looked like this:
Verifying: 0:pam-1.1.1-4.el6.x86_64
/etc/pam.d/smartcard-auth in ignore list, skipping
/etc/pam.d/password-auth in modlist, skipping
/etc/pam.d/fingerprint-auth in ignore list, skipping
/etc/pam.d/system-auth in modlist, skipping
Verify Problems:
/usr/share/man/man5/pam_env.conf.5.gz
mtime: mtime does not match
/usr/share/doc/pam-1.1.1/html/sag-pam_mail.html
mtime: mtime does not match
/usr/share/doc/pam-1.1.1/html/sag-pam_group.html
mtime: mtime does not match
/usr/share/locale/nl/LC_MESSAGES/Linux-PAM.mo
mtime: mtime does not match
/usr/share/doc/pam-1.1.1/txts/README.pam_cracklib
mtime: mtime does not match
/usr/share/locale/ko/LC_MESSAGES/Linux-PAM.mo
mtime: mtime does not match
/usr/share/man/man8/pam_lastlog.8.gz
mtime: mtime does not match
/usr/share/man/man5/access.conf.5.gz
mtime: mtime does not match
/usr/share/locale/nb/LC_MESSAGES/Linux-PAM.mo
mtime: mtime does not match
/usr/share/man/man8/mkhomedir_helper.8.gz
mtime: mtime does not match
/usr/share/doc/pam-1.1.1/html/sag-pam_xauth.html
mtime: mtime does not match
/usr/share/doc/pam-1.1.1/Linux-PAM_SAG.txt
mtime: mtime does not match
/usr/share/locale/sr/LC_MESSAGES/Linux-PAM.mo
mtime: mtime does not match
/usr/share/man/man8/pam_sepermit.8.gz
mtime: mtime does not match
/usr/share/locale/km/LC_MESSAGES/Linux-PAM.mo
mtime: mtime does not match
/usr/share/doc/pam-1.1.1/txts/README.pam_access
mtime: mtime does not match
/usr/share/doc/pam-1.1.1/html/sag-configuration-example.html
mtime: mtime does not match
/usr/share/doc/pam-1.1.1/txts/README.pam_namespace
mtime: mtime does not match
/etc/security/opasswd
mtime: mtime does not match
/etc/security/access.conf
mtime: mtime does not match
/usr/share/doc/pam-1.1.1/html/sag-pam_issue.html
mtime: mtime does not match
/usr/share/doc/pam-1.1.1/txts/README.pam_faildelay
mtime: mtime does not match
/usr/share/locale/si/LC_MESSAGES/Linux-PAM.mo
mtime: mtime does not match
/usr/share/doc/pam-1.1.1/html/sag-pam_listfile.html
mtime: mtime does not match
/usr/share/doc/pam-1.1.1/html/sag-configuration-file.html
mtime: mtime does not match
/usr/share/man/man8/pam_console_apply.8.gz
mtime: mtime does not match
/usr/share/doc/pam-1.1.1/html/sag-pam_pwhistory.html
mtime: mtime does not match
/usr/share/locale/sk/LC_MESSAGES/Linux-PAM.mo
mtime: mtime does not match
/usr/share/doc/pam-1.1.1/txts/README.pam_motd
mtime: mtime does not match
[skip a few]
/usr/share/doc/pam-1.1.1/html/sag-pam_env.html
mtime: mtime does not match
Verifying: 0:pam-1.1.1-4.el6.i686
/etc/pam.d/system-auth in modlist, skipping
/etc/pam.d/smartcard-auth in ignore list, skipping
/etc/pam.d/password-auth in modlist, skipping
/etc/pam.d/fingerprint-auth in ignore list, skipping
Verify Problems:
/sbin/unix_chkpwd
state: state is not normal
/sbin/pam_tally2
state: state is not normal
/sbin/unix_update
state: state is not normal
/sbin/pam_console_apply
state: state is not normal
/sbin/pam_timestamp_check
state: state is not normal
/sbin/mkhomedir_helper
state: state is not normal
(The files reported in 'modlist' or 'ignore list' are the files that Bcfg2 is altering or specifically told to ignore, respectively.)
Yum version: yum-3.2.27-12.el6.noarch
Clues to working around this for older Yum versions would also be handy. ;-)