Ticket #986 (closed defect: fixed)

Opened 12 years ago

Last modified 12 years ago

yum 3.2.20 returns None for arch of gpg-pubkey packages

Reported by: Owned by:
Priority: major Milestone: Bcfg2 1.2.0 Release
Component: bcfg2-client Version: 1.0
Keywords: Cc:


Yum 3.2.20 on SLES 11.1 returns None (instead of "noarch") for the arch attribute of gpg-pubkey packages. This breaks YUMng, which expects "noarch" (which is what happens with, e.g. yum 3.2.22 on CentOS 5.5). For example:

import yum yb = yum.YumBase?() for pkg in yb.rpmdb.searchNevra(name='gpg-pubkey'):

... print "%s.%s" % (, pkg.arch) ... gpg-pubkey.None

I've attached a patch that backports some functionality from the tool to scrub package epochs and archs that are set to None and make the tool more resilient.


yum-3.2.20-gpg-pubkey-arch.patch (787 bytes) - added by 12 years ago.

Change History

Changed 12 years ago by

comment:1 Changed 12 years ago by

comment:2 Changed 12 years ago by

  • Owner changed from desai to
  • Status changed from new to accepted

comment:3 Changed 12 years ago by

  • Status changed from accepted to closed
  • Resolution set to fixed

WARNING! You need to establish a session before you can create or edit tickets. Otherwise the ticket will get treated as spam.


Add a comment

Modify Ticket

Change Properties
<Author field>
as closed
The resolution will be deleted. Next status will be 'reopened'

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.