Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multilib/arch rpms may fail the "is this an update" test #238

Open
LukeHandle opened this issue Oct 14, 2020 · 1 comment
Open

Multilib/arch rpms may fail the "is this an update" test #238

LukeHandle opened this issue Oct 14, 2020 · 1 comment

Comments

@LukeHandle
Copy link

LukeHandle commented Oct 14, 2020

It's possible that multilib/multiarch packages that share certain files might never get updated. This is because they fail the "is this an update" test:

rpm -U --nodeps --test "$_package" &>/dev/null && rpms+=("$_package")

# rpm -q libstdc++
libstdc++-4.8.5-36.el7.x86_64
libstdc++-4.8.5-36.el7.i686

# rpm -U --nodeps --test /var/cache/auter/default/libstdc++-4.8.5-39.el7.x86_64.rpm; echo -e "\n\nExit: $?"
	file /usr/share/gcc-4.8.2/python/libstdcxx/v6/printers.pyc from install of libstdc++-4.8.5-39.el7.x86_64 conflicts with file from package libstdc++-4.8.5-36.el7.i686
	file /usr/share/gcc-4.8.2/python/libstdcxx/v6/printers.pyo from install of libstdc++-4.8.5-39.el7.x86_64 conflicts with file from package libstdc++-4.8.5-36.el7.i686


Exit: 2

# rpm -q pam
pam-1.1.8-22.el7.x86_64
pam-1.1.8-22.el7.i686

# rpm -U --nodeps --test /var/cache/auter/default/pam-1.1.8-23.el7.x86_64.rpm; echo -e "\n\nExit: $?"
	file /usr/share/doc/pam-1.1.8/Linux-PAM_SAG.txt from install of pam-1.1.8-23.el7.x86_64 conflicts with file from package pam-1.1.8-22.el7.i686
	file /usr/share/doc/pam-1.1.8/html/sag-pam_loginuid.html from install of pam-1.1.8-23.el7.x86_64 conflicts with file from package pam-1.1.8-22.el7.i686
	file /usr/share/doc/pam-1.1.8/html/sag-pam_wheel.html from install of pam-1.1.8-23.el7.x86_64 conflicts with file from package pam-1.1.8-22.el7.i686
	file /usr/share/doc/pam-1.1.8/txts/README.pam_loginuid from install of pam-1.1.8-23.el7.x86_64 conflicts with file from package pam-1.1.8-22.el7.i686
	file /usr/share/doc/pam-1.1.8/txts/README.pam_tty_audit from install of pam-1.1.8-23.el7.x86_64 conflicts with file from package pam-1.1.8-22.el7.i686
	file /usr/share/doc/pam-1.1.8/txts/README.pam_wheel from install of pam-1.1.8-23.el7.x86_64 conflicts with file from package pam-1.1.8-22.el7.i686
	file /usr/share/man/man5/access.conf.5.gz from install of pam-1.1.8-23.el7.x86_64 conflicts with file from package pam-1.1.8-22.el7.i686
	file /usr/share/man/man5/limits.conf.5.gz from install of pam-1.1.8-23.el7.x86_64 conflicts with file from package pam-1.1.8-22.el7.i686
	file /usr/share/man/man5/pam_env.conf.5.gz from install of pam-1.1.8-23.el7.x86_64 conflicts with file from package pam-1.1.8-22.el7.i686
	file /usr/share/man/man8/PAM.8.gz from install of pam-1.1.8-23.el7.x86_64 conflicts with file from package pam-1.1.8-22.el7.i686
	file /usr/share/man/man8/faillock.8.gz from install of pam-1.1.8-23.el7.x86_64 conflicts with file from package pam-1.1.8-22.el7.i686
	file /usr/share/man/man8/pam_access.8.gz from install of pam-1.1.8-23.el7.x86_64 conflicts with file from package pam-1.1.8-22.el7.i686
	file /usr/share/man/man8/pam_env.8.gz from install of pam-1.1.8-23.el7.x86_64 conflicts with file from package pam-1.1.8-22.el7.i686
	file /usr/share/man/man8/pam_exec.8.gz from install of pam-1.1.8-23.el7.x86_64 conflicts with file from package pam-1.1.8-22.el7.i686
	file /usr/share/man/man8/pam_faillock.8.gz from install of pam-1.1.8-23.el7.x86_64 conflicts with file from package pam-1.1.8-22.el7.i686
	file /usr/share/man/man8/pam_loginuid.8.gz from install of pam-1.1.8-23.el7.x86_64 conflicts with file from package pam-1.1.8-22.el7.i686
	file /usr/share/man/man8/pam_tty_audit.8.gz from install of pam-1.1.8-23.el7.x86_64 conflicts with file from package pam-1.1.8-22.el7.i686
	file /usr/share/man/man8/pam_unix.8.gz from install of pam-1.1.8-23.el7.x86_64 conflicts with file from package pam-1.1.8-22.el7.i686
	file /usr/share/man/man8/pam_userdb.8.gz from install of pam-1.1.8-23.el7.x86_64 conflicts with file from package pam-1.1.8-22.el7.i686
	file /usr/share/man/man8/pam_wheel.8.gz from install of pam-1.1.8-23.el7.x86_64 conflicts with file from package pam-1.1.8-22.el7.i686
	file /usr/share/man/man8/pwhistory_helper.8.gz from install of pam-1.1.8-23.el7.x86_64 conflicts with file from package pam-1.1.8-22.el7.i686


Exit: 2
@mark-hyde
Copy link
Contributor

Thanks Luke,

My first thought is 'multilibs are tricky' :D

I'll keep this open for now and see if we can work out what to do with them.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants