[CentOS-devel] updated yum packages are now available in c5-testing

Axel Thimm Axel.Thimm at ATrpms.net
Mon Dec 22 21:57:29 UTC 2008


On Mon, Dec 22, 2008 at 10:34:55PM +0100, Dag Wieers wrote:
> On Mon, 22 Dec 2008, James Antill wrote:
> 
> > On Mon, 2008-12-22 at 12:29 -0800, Akemi Yagi wrote:
> >> On Fri, Dec 12, 2008 at 4:56 PM, Karanbir Singh <mail-lists at karan.org> wrote:
> >
> > [...]
> >>   File "/usr/lib/python2.4/site-packages/yum/sqlitesack.py", line 470,
> >> in _sql_pkgKey2po
> >>     pkg = self._packageByKey(repo, ob['pkgKey'])
> >>   File "/usr/lib/python2.4/site-packages/yum/sqlitesack.py", line 413,
> >> in _packageByKey
> >>     po = self.pc(repo, cur.fetchone())
> >>   File "/usr/lib/python2.4/site-packages/yum/sqlitesack.py", line 68,
> >> in __init__
> >>     self._read_db_obj(db_obj)
> >>   File "/usr/lib/python2.4/site-packages/yum/sqlitesack.py", line 94,
> >> in _read_db_obj
> >>     setattr(self, item, _share_data(db_obj[item]))
> >> TypeError: unsubscriptable object
> >
> > This is more understandable upstream by:
> >
> > http://yum.baseurl.org/gitweb?p=yum.git;a=commitdiff;h=3120676a73219b018d317d8adaac0d858d751a3b;hp=54bd2c6eebf6be6b2596e25538bff6b35e34c443
> >
> > ...which gives a "nice" message. There is also a change to
> > yum-metadata-parser, which should work around the problem in atrpms.
> > The short term. fixes are:
> >
> > 1. Don't use atrpms.
> >
> > 2. Use "yum clean metadata"
> 
> Can you be a little bit more specific ? Is there a thread describing the 
> issue ? Is there going to be a real fix for it ?
> 
> I really don't feel good with this patch. The error does not indicate 
> to a user that a "yum clean metadata" resolves their problem.
> 
> If we are going to have all our users that use atrpms go through this by 
> default, then I think we should avoid it at all cost.

I also don't understand the patch mentioned above. What at ATrpms
upsets the new yum that way? If it's something I can fix on my end,
I'd gladly do so, but I'm just using plain createrepo (and this seems
to work with the yum version in question with other distros).
-- 
Axel.Thimm at ATrpms.net
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://lists.centos.org/pipermail/centos-devel/attachments/20081222/659cdfac/attachment.sig>


More information about the CentOS-devel mailing list