Bug 577852 - [CRM #1970840] Package sync fails on multilib packages
Summary: [CRM #1970840] Package sync fails on multilib packages
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 4
Classification: Red Hat
Component: up2date
Version: 4.8
Hardware: All
OS: Linux
high
high
Target Milestone: rc
: ---
Assignee: Miroslav Suchý
QA Contact: Petr Sklenar
URL:
Whiteboard:
: 511085 (view as bug list)
Depends On: 541508
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-03-29 13:14 UTC by RHEL Program Management
Modified: 2013-01-11 02:52 UTC (History)
10 users (show)

Fixed In Version: up2date-4.8.1-33.el4_8.2
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-05-11 08:32:32 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2010:0406 0 normal SHIPPED_LIVE up2date bug fix update 2010-05-11 08:32:25 UTC

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


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