Bug 577852

Summary: [CRM #1970840] Package sync fails on multilib packages
Product: Red Hat Enterprise Linux 4 Reporter: RHEL Program Management <pm-rhel>
Component: up2dateAssignee: Miroslav Suchý <msuchy>
Status: CLOSED ERRATA QA Contact: Petr Sklenar <psklenar>
Severity: high Docs Contact:
Priority: high    
Version: 4.8CC: jhutar, jkastner, jwest, liko, msuchy, plyons, pm-eus, psklenar, tao, vgaikwad
Target Milestone: rcKeywords: ZStream
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: up2date-4.8.1-33.el4_8.2 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-05-11 08:32:32 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:
Bug Depends On: 541508    
Bug Blocks:    

Description RHEL Program Management 2010-03-29 13:14:10 UTC
This bug has been copied from bug #541508 and has been proposed
to be backported to 4.8 z-stream (EUS).

Comment 3 Miroslav Suchý 2010-03-30 08:30:27 UTC
Built up2date-4.8.1-33.el4_8.2

Comment 5 Miroslav Suchý 2010-04-23 15:23:40 UTC
*** Bug 511085 has been marked as a duplicate of this bug. ***

Comment 6 Petr Sklenar 2010-04-26 10:22:04 UTC
test procedure:
register x86_64 machine install multi arch package (e.g. curl) in both i386 and x86_64. create snapshot upgrade both packages to newer version. rhn-profile-sync rollback to snapshot

1. register x86_64 machine and install multi arch package (alchemist) in both i386 and x86_64.
2. create snapshot
3. upgrade both packages to newer version
4. u2pdate -p for syncing profile
5. rollback to snapshot

OLD fails:
D: do_call packages.runTransaction ({'packages': [[['alchemist', '1.0.36', '1', '', 'x86_64'], 'e'], [['alchemist', '1.0.36', '1', '', 'i386'], 'e'], [['alchemist', '1.0.34', '1', '', 'i386'], 'i'], [['alchemist', '1.0.34', '1', '', 'x86_64'], 'i']]},)
D: availablePackageList::channels: <up2date_client.rhnChannel.rhnChannelList instance at 0x2a9aaa85a8>
D: listAllPackages Fetched via: diskcache
D: Sending back response (41, 'Failed: Some of the packages requested are not available.', {'missing_packages': [['alchemist', '1.0.34', '1', '', 'i386']], 'version': 0, 'name': 'packages.runTransaction.packages_not_available'})
D: do_call packages.checkNeedUpdate ('rhnsd=1',)
D: local action status:  (0, 'rpm database not modified since last update (or package list recently updated)', {})

NEW passed (up2date-4.8.1-33.el4_8.4)
D: do_call packages.runTransaction ({'packages': [[['alchemist', '1.0.36', '1', '', 'x86_64'], 'e'], [['alchemist', '1.0.36', '1', '', 'i386'], 'e'], [['alchemist', '1.0.34', '1', '', 'i386'], 'i'], [['alchemist', '1.0.34', '1', '', 'x86_64'], 'i']]},)
D: availablePackageList::channels: <up2date_client.rhnChannel.rhnChannelList instance at 0x2a9aaa85a8>
D: listAllPackages Fetched via: diskcache
D: getPackage ['alchemist', '1.0.34', '1', '', 'i386', '100477', 'rhel-x86_64-as-4']
D: Package ['alchemist', '1.0.34', '1', '', 'i386', '100477', 'rhel-x86_64-as-4'] Fetched via: get
D: getPackage ['alchemist', '1.0.34', '1', '', 'x86_64', '111462', 'rhel-x86_64-as-4']
D: Package ['alchemist', '1.0.34', '1', '', 'x86_64', '111462', 'rhel-x86_64-as-4'] Fetched via: get
D: Sending back response (0, 'packages.transaction ran successfully', {})
D: do_call packages.checkNeedUpdate ('rhnsd=1',)
D: Called refresh_rpmlist
D: local action status:  (0, 'rpmlist refreshed', {})

---
moved to verified

Comment 8 errata-xmlrpc 2010-05-11 08:32:32 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHBA-2010-0406.html