Bug 375401

Summary: yum update don't handle packages changing arch
Product: [Fedora] Fedora Reporter: Ralf Corsepius <rc040203>
Component: yumAssignee: Seth Vidal <skvidal>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: low    
Version: 8CC: ffesti, james.antill, katzj, pmatilai, tim.lauridsen
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: yum-3.2.16 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-05-30 12:44:23 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Ralf Corsepius 2007-11-11 03:53:33 UTC
Description of problem:

yum doesn't properly handle packages changing their %arch

After a yum-based upgrade from FC-7 to FC-8, I ended up with

# rpm -q --qf '%{name}-%{version}-%{release}.%{arch}\n' xorg-x11-proto-devel
xorg-x11-proto-devel-7.2-9.fc7.i386
xorg-x11-proto-devel-7.3-3.fc8.noarch


Version-Release number of selected component (if applicable):
yum-3.2.7-1.fc8

How reproducible:
Deterministic, happened on all FC-7->FC-8 machines I upgraded so far.

Expected results:
yum to handle noarch->arch upgrades properly

Additional info:
This is on i386 (Not on x86_64)

Comment 1 Ralf Corsepius 2007-11-11 03:59:24 UTC
see also: https://bugzilla.redhat.com/show_bug.cgi?id=375411


Comment 2 Seth Vidal 2007-11-12 15:12:24 UTC
weird, I didn't get this on my i686 box upgraded from f7 to f8.

Were there any items in the log about not being able to remove the other
package? An rpm scriptlet error, by chance?


Comment 3 Ralf Corsepius 2007-11-12 16:19:24 UTC
(In reply to comment #2)
> weird, I didn't get this on my i686 box upgraded from f7 to f8.
As I said, I had this on all 3 boxes I upgraded so far (Pure yum based upgrades  ;)

I only noticed (package-cleanup also misses to report this) due having used apt
after the upgrade was supposed to have finished.

> Were there any items in the log about not being able to remove the other
> package? An rpm scriptlet error, by chance?
Yes, several. FC7->FC8 upgrades suffer from several such broken packages. 

The worst of them all I encountered is avahi's broken scriptlets packaging
(There is a BZ on it open for a while). Also intervening: SELinux.




Comment 4 Seth Vidal 2008-03-12 15:33:12 UTC
YUMBUGDAY

Comment 5 Florian Festi 2008-05-30 12:44:23 UTC
Problem should have been fixed udring upstream deveopment. Please reopen if
problem should still exist.