Bug 669842

Summary: "protected multilib versions" mixup with wrong architecture
Product: [Fedora] Fedora Reporter: John Reiser <jreiser>
Component: yumAssignee: Seth Vidal <skvidal>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: rawhideCC: ffesti, james.antill, maxamillion, pmatilai, tla
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-01-17 14:55:19 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
output from "yum install report-gtk"
none
rpm -qa | sort none

Description John Reiser 2011-01-14 23:22:15 UTC
Created attachment 473617 [details]
output from "yum install report-gtk"

Description of problem: "yum install report-gtk.x86_64" on x86_64 with no i386 and no i686 packages installed, gives an error:
   Error: Protected multilib versions: report-0.20-0.fc15.i686 != report-0.20-1.fc14.x86_64
which makes no sense because no multilib was requested.  "yum check" gives no complaint.

Version-Release number of selected component (if applicable):
yum-3.2.29-2.fc15.noarch


How reproducible: every time


Steps to Reproduce:
1. yum install report-gtk.x86_64
2.
3.
  
Actual results:
Error: Protected multilib versions: report-0.20-0.fc15.i686 != report-0.20-1.fc14.x86_64


Expected results: no complaint


Additional info: Will attach output from "rpm -qa | sort", and complete console output of yum session.

Comment 1 John Reiser 2011-01-14 23:24:25 UTC
Created attachment 473618 [details]
rpm -qa | sort

List of all packages installed.  All are x86_64, none are i386 or i686.

Comment 2 James Antill 2011-01-17 14:55:19 UTC
 This is exactly the kind of problem that the feature was supposed to detect:

--> Package report-gtk.x86_64 0:0.20-0.fc15 will be installed
--> Processing Dependency: report = 0.20-0.fc15 for package: report-gtk-0.20-0.fc15.x86_64
--> Processing Dependency: pygtk2 for package: report-gtk-0.20-0.fc15.x86_64
--> Running transaction check
---> Package pygtk2.x86_64 0:2.17.0-7.fc15 will be installed
--> Processing Dependency: pygobject2 for package: pygtk2-2.17.0-7.fc15.x86_64
--> Processing Dependency: pycairo for package: pygtk2-2.17.0-7.fc15.x86_64
---> Package report.i686 0:0.20-0.fc15 will be installed

...so:

1. You have report-0.20-1.fc14.x86_64 installed.

2. You want to install report-gtk-0.20-0.fc15.x86_64, which has a dep. on repo = 0.20-0.fc15 (and older version than what you have installed).

3. Yum won't auto downgrade the x86_64 version, and the package doesn't use _isa, so yum thinks it can solve the problem by installing report-0.20-0.fc15.i686.

...while this is technically valid, nothing good ever comes from it ... so we now error due to the multilib version mismatch.