[Yum-devel] small fix to yum/rpmtrans.py

Christoph Thiel cthiel at suse.de
Thu Oct 18 11:16:38 UTC 2007


Hey everyone,

to get the latests yum (3.2.7) to run on openSUSE, I had to patch
yum/rpmtrans.py like this:

--- yum/rpmtrans.py
+++ yum/rpmtrans.py
@@ -165,7 +165,7 @@
                     fcntl.fcntl(self._readpipe.fileno(),
                                 fcntl.F_GETFL) | os.O_NONBLOCK)
         self._writepipe = os.fdopen(w, 'w')
-        self.base.ts.ts.scriptFd = self._writepipe.fileno()
+        self.base.ts.scriptFd = self._writepipe.fileno()
         rpm.setVerbosity(rpm.RPMLOG_INFO)
         rpm.setLogFile(self._writepipe)


Best,
Christoph
-- 
Christoph Thiel, Tech. Project Management, Research & Development
SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg)



More information about the Yum-devel mailing list