Bug 509569 - gpk-install-package-name installs all arches
Summary: gpk-install-package-name installs all arches
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: gnome-packagekit
Version: 11
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Richard Hughes
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-07-03 16:59 UTC by Tim Waugh
Modified: 2009-08-10 09:57 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-08-10 09:57:43 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Tim Waugh 2009-07-03 16:59:41 UTC
Description of problem:
'gpk-install-package-name gutenprint' tries to install gutenprint.i586 as well as gutenprint.x86_64.

Why doesn't it work in the same way as 'yum install gutenprint', which only suggests gutenprint.x86_64?

Version-Release number of selected component (if applicable):
gnome-packagekit-2.27.2-1.fc11.x86_64

How reproducible:
100%

Steps to Reproduce:
1.yum remove gutenprint
2.gpk-install-package-name gutenprint
  
Actual results:
Wants to install an entire set of i586 packages to satisfy gutenprint.i586.

Expected results:
Just installs gutenprint.x86_64.

Comment 1 Mathieu Bridon 2009-08-07 19:33:13 UTC
I just saw it with gnome-packagekit-2.27.3-1.fc11.x86_64.

However, this doesn't seem really consistent.

I tried running:
$ gpk-install-package-name libtool
$ rpm -q libtool
libtool-2.2.6-11.fc11.x86_64

So it only installed the x86_64 version.

However, if I run:
$ rpm -qa | grep i586
$ gpk-install-package-name librsvg2-devel
$ rpm -qa | grep i586
  [a lot of i586 packages that were dragged as dependencies]
$ rpm -q librsvg2-devel
librsvg2-devel-2.26.0-1.fc11.x86_64
librsvg2-devel-2.26.0-1.fc11.i586

So it doesn't seem to happen for all packages :-/

Comment 2 Richard Hughes 2009-08-10 09:57:43 UTC
commit 031734781e2c4d922ea24e2c3cdcfadf769359bb
Author: Richard Hughes <richard>
Date:   Mon Aug 10 10:56:30 2009 +0100

    Only install the newest native-arch package when using the session methods. Fixes rh#509569


Note You need to log in before you can comment on or make changes to this bug.