Modify ↓
Ticket #966 (closed defect: fixed)
YUMNg multiarch bug
Reported by: | jjneely | Owned by: | desai |
---|---|---|---|
Priority: | minor | Milestone: | Bcfg2 1.2.0 Release |
Component: | bcfg2-client | Version: | 1.0 |
Keywords: | Cc: |
Description
Reported on the bcfg-dev list by Esa V
I tried to search is someone has already reported about this, but did not find. So here we go.. It looks like in the transition from 1.0.1 to 1.1.0 the YumNG driver has been lost it's ability to handle multiarch cases. I try to demonstrate the issue with a simplest possible example, removing the server side from the equation by fetching the configuration from local file. Below is the content of local file and what happens when running it using 1.0.1 and 1.1.0. The platform is 64bit RHEL6 , and the expected result is installation of missing 32bit zlib. 1.0.1 seems to work correctly. 1.1.0 whines about wrong version being installed, tries to fix it but fails. esa ================ conf file =================== # cat tmpcfg <?xml version='1.0' encoding='UTF-8'?> <Configuration version="2.0" revision="-1"> <Bundle name="tmp"> <Package name='zlib' type='yum'> <Instance version='1.2.3' release='25.el6' arch='x86_64'/> <Instance version='1.2.3' release='25.el6' arch='i686'/> </Package> </Bundle> </Configuration> ================ 1.0.1 =================== # rpm -q bcfg2 bcfg2-1.0.1-1.noarch # bcfg2 -vf tmpcfg /usr/lib/python2.6/site-packages/Bcfg2/Client/Tools/rpmtools.py:24: DeprecationWarning: the md5 module is deprecated; use hashlib instead import md5 Loaded plugins: priorities, refresh-packagekit, rhnplugin This system is not registered with RHN. RHN support will be disabled. Loaded tool drivers: Action Chkconfig POSIX YUMng 1.2.3-25.el6.i686 is not installed. Package zlib failed verification. Phase: initial Correct entries: 0 Incorrect entries: 1 Total managed entries: 1 Unmanaged entries: 844 Running YUMng.Install() Attempting to install packages Single Pass for Install Succeeded The Following Bundles have been modified: tmp Phase: final Correct entries: 1 Incorrect entries: 0 Total managed entries: 1 Unmanaged entries: 844 ================ 1.1.0 =================== # rpm -q bcfg2 bcfg2-1.1.0-2.el6.noarch [[email protected] ~]# bcfg2 -vf tmpcfg Loaded plugins: priorities, refresh-packagekit, rhnplugin This system is not registered with RHN. RHN support will be disabled. Loaded tool drivers: Action Chkconfig POSIX YUMng Wrong version installed. Want zlib-1.2.3-25.el6.i686, but have zlib-1.2.3- 25.el6.x86_64 Phase: initial Correct entries: 0 Incorrect entries: 1 Total managed entries: 1 Unmanaged entries: 845 Attempting to upgrade packages Downloading Packages Running Test Transaction Running rpm_check_debug Running Transaction Single Pass for Install Succeeded Wrong version installed. Want zlib-1.2.3-25.el6.i686, but have zlib-1.2.3- 25.el6.x86_64 Phase: final Correct entries: 0 Incorrect entries: 1 Package:zlib Total managed entries: 1 Unmanaged entries: 845
Attachments
Change History
comment:1 Changed 12 years ago by solj
- Milestone changed from Bcfg2 1.1.2 Release (Bugfix) to Bcfg2 1.2.0 Release
comment:2 Changed 12 years ago by solj
- Status changed from new to closed
- Resolution set to fixed
This should be fixed by a combination of 29e43063c2e8eb58e916da2dfbb375b4c64d3919 and b4c708c2f9ea913d28c2c8bc75c65c525b00c7ed.
Note: See
TracTickets for help on using
tickets.