[packagekit] How to install a i386 rpm in a RHEL6 x86_64 using gpk-install-package-name ?
rotru at br.ibm.com
rotru at br.ibm.com
Thu Nov 11 21:20:18 PST 2010
Hi all,
I have a RHEL6-64 running:
gnome-packagekit-2.28.3-3.el6.x86_64
PackageKit-0.5.8-13.el6.x86_64
yum-3.2.27-14.el6.noarch
I trying to use gpk-install-package-name in a script to install some
package dynamically from my repos which have 32 and 64 rpms.
Problem is that when I try to install a RPM that is only 32 bits the tool
does not find the package.
Digging in the internet I found there was a requirement to install only
newest native-arch packages:
https://bugzilla.redhat.com/show_bug.cgi?id=509569
Looking at the processes triggered when running the
gpk-install-package-name I see "someone" runs:
- /usr/bin/python /usr/share/PackageKit/helpers/yum/yumBackend.py
resolve newest;arch MYPACKAGE
that does not find MYPACKAGE.i386.
But, it finds if I run like:
- /usr/bin/python /usr/share/PackageKit/helpers/yum/yumBackend.py
resolve newest;i386 MYPACKAGE
So, I wonder if there is a way that allows me to install the 32 bits
packages using the gpk-install-package-name on a 64 machine.
Maybe I have missed something, but I searched in the sources and did not
find any parameter to pass or option to set somewhere.
Thanks in advance.
Regards
Rodrigo Trujillo
Software Engineer
Linux Technology Center - Brasil
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/packagekit/attachments/20101112/f3861674/attachment-0003.htm>
More information about the PackageKit
mailing list