Re: yum 3.2.4

seth vidal <[email protected]>
Newsgroups gmane.linux.rpm.yum
Message-ID <1188910733.14826.6.camel@cutter>
On Thu, 2007-08-30 at 08:18 +0700, Fajar A. Nugraha wrote:
> seth vidal wrote:
> > Feel free to apply your patch to step around the index error b/c I kinda
> > need transaction-all, too, if you have it.
> >   
> That's the thing. There is no transcation-all file.
> Repeated with yum-3.2.4 patched with all the patches I sent earlier,
> still the same result.
> 

okay could you make a small change to rpmtrans.py
look for this:


    def _transStart(self, bytes, total, h):
        if bytes == 6:
            self.total_actions = total
            if self.test: return

            self.ts_all() # write out what transaction will do


and change it to this:

    def _transStart(self, bytes, total, h):
        print bytes
        print total
        if bytes == 6:
            self.total_actions = total
            if self.test: return

            self.ts_all() # write out what transaction will do

thanks,
-sv
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.