[Yum] yum daily 2.0.X branch - "I broke my promise"

Josko Plazonic plazonic at Math.Princeton.EDU
Tue Feb 24 05:13:34 UTC 2004


seth vidal wrote:

>
>I tried this as well as expandFileList() to know avail. I'm going to up
>the rpm debug level and see if it can tell me what's happening.
>  
>

There is a typo :(...  I just tested your version with this fix for an 
non installed rpm (not in updates) and it installed fine. Without this 
fix - crash.  I still think you need hdr.fullFilelist() as the header 
otherwise won't have file info (just rechecked on fc1).

Josko

--- clientStuff.py.change       2004-02-23 02:13:17.000000000 -0500
+++ clientStuff.py      2004-02-24 00:09:34.000000000 -0500
@@ -871,7 +871,7 @@
                 pass
         if fd2:
             try:
-                rpm.mergeHeaderListFromFD(hdrlist, fd, 1000004)
+                rpm.mergeHeaderListFromFD(hdrlist, fd2, 1000004)
             except rpm.error:
                 pass





More information about the Yum mailing list