[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
Fri Nov 12 06:01:57 PST 2010
> I'm not sure what to suggest. I'm not sure calling
> gpk-install-package-name for non-native packages makes much sense. Is
> there a reason you want to specifically install the 32 bit package on
> a 64 bit machine? Is it a binary package that does not exist for 64
Yes, that is the case. Some softwares for internal use are available in 32
Linux Technology Center - Brasil
Richard Hughes <hughsient at gmail.com>
PackageKit users and developers list <packagekit at lists.freedesktop.org>
Re: [packagekit] How to install a i386 rpm in a RHEL6 x86_64 using
packagekit-bounces+rotru=br.ibm.com at lists.freedesktop.org
On 12 November 2010 05:20, <rotru at br.ibm.com> wrote:
> I trying to use gpk-install-package-name in a script to install some
> 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
> does not find the package.
Right, looking at gpk_dbus_task_install_package_names, i see:
pk_bitfield_from_enums (PK_FILTER_ENUM_ARCH, PK_FILTER_ENUM_NEWEST,
-1), packages, NULL,
(PkProgressCallback) gpk_dbus_task_progress_cb, dtask,
> Looking at the processes triggered when running the
> I see "someone" runs:
Someone is the gpk-update-icon process in RHEL6, or gpk-dbus-service
process on fedora.
> 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.
It's a good question. The session interface (which is what
gpk-install-package-names uses) is designed to be really easy to use,
and not have all the low level details like architecture and versions
and that kind of thing.
I'm not sure what to suggest. I'm not sure calling
gpk-install-package-name for non-native packages makes much sense. Is
there a reason you want to specifically install the 32 bit package on
a 64 bit machine? Is it a binary package that does not exist for 64
If that's the case, then I think somebody needs to pick up the
discussion on the mailing list (about searching arch's correctly when
there doesn't exist a 64 bit package) and write a patch or proposal.
PackageKit mailing list
PackageKit at lists.freedesktop.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the PackageKit