[issue29] CRASHES before starts up

Gustavo Niemeyer at Labix Tracker tracker at labix.org
Tue Oct 18 11:58:41 PDT 2005


Gustavo Niemeyer <gustavo at niemeyer.net> added the comment:

Just out of curiosity, is this a SuSE system?

Yesterday Pascal Bleser and Christoph Thiel reported and helped me debugging the
same issue, and it looks to be a problem in RPM 4.1.1 which is being released
with SuSE.

The current Smart version in the repository already has a workaround for that
issue. Here is the patch, in case you want to apply it now:

--- header.py   (revision 630)
+++ header.py   (working copy)
@@ -231,6 +231,8 @@
             if n:
                 f = h[1048] # RPMTAG_REQUIREFLAGS
                 v = h[1050] # RPMTAG_REQUIREVERSION
+                if type(f) != list:
+                    f = [f]
                 reqdict = {}
                 for i in range(len(n)):
                     ni = n[i]

----------
nosy: +niemeyer
status: unread -> resolved

_______________________________________
Labix issue tracker <tracker at labix.org>
<http://tracker.labix.org/issue29>
_______________________________________



More information about the Smart mailing list