On Wed, 2004-03-31 at 16:01 +0200, Michael Schwendt wrote:
On Wed, 31 Mar 2004 14:53:41 +0200, Chris Chabot wrote:
> 3) While trying to do a big upgrade from FC2-test1 to the recent
> development tree, YUM crashed out on me.. After some digging in it's
> python sources i found that it fails on a RPM package version compare,
> where one package has no 'release' tag.. While it looks like YUM should
> deal with the release being 'None', it didn't.. The workaround i
> applied to get things working again was to edit
> /usr/share/yum/rpmUtils.py and at line 121 add these lines:
> if r2 == None:
> r2 = '0'
Huh? A package without %release?! Which one is it?
Curiously it isn't yum crashing out it's rpmlib. The bindings get CRANKY
when you give them values they don't expect.
I think I've caught this in cvs versions of yum, not positive though. If
you are getting a traceback could you bugzilla it?