Red Hat Bugzilla – Bug 174138
yum/python/libselinux 32/64-bit dependency problems
Last modified: 2014-03-16 22:57:00 EDT
After a rawhide 'yum update' today, yum no longer worked.
It had installed 64-bit python, including /usr/bin/python, because libselinux
When yum was run with the 64-bit /usr/bin/python, it refused to load
/usr/lib/python2.4/site-packages/rpm/_rpmmodule.so, because that's a 32-bit library.
This 'fixed' it:
rpm -e python.ppc64 libselinux.ppc64 hal.ppc64 dbus.ppc64 pam.ppc64
dbus-glib.ppc64 nss_ldap.ppc64 pam_krb5.ppc64
rpm -Uhv python-2.4.2-2.ppc.rpm --force
Perhaps /usr/bin/python and libpython should be in separate binary packages, if
there are going to be biarch dependencies on libpython? Or perhaps the
libselinux python bindings should be put in a separate package?
I'd suspect both, possibly.
Any python bindings will require the actual same bitwidth of an interpreter.
Split libselinux out into separate packages. libselinux-python should solve the