Re: yup in the beta


Subject: Re: yup in the beta
From: jeramy b smith (jeramy@ash.penguinppc.org)
Date: Fri Mar 23 2001 - 01:07:52 MST


More progress. I tracedback to line 206 in
yuprpm.py and saw this:

        sys.stderr.write("%s\n" %(error))

I changed it to

        sys.stderr.write("%s\n" % str(error))

And now it gives:

Using cached copy of gdbm-1.8.0-5.ppc.rpm
Using cached copy of libtool-libs-1.3.6-0c.ppc.rpm
Reading packages... Done
Reading packages... Done
Errors running transaction set!
('file /sbin/clock from install of util-linux-2.10p-3 conflicts with file
from package clock-1.1-7', (7, '/sbin/clock', 0))

So, util-linux doesnt obsolete clock.

-jeramy b smith

On Fri, 23 Mar 2001, jeramy b smith wrote:

>
> Okay, i traced this back to a problem in yupurl.py.
> self.status is called without any args in on place and therefore
> does not provide the necessary integer for the code sequence.
>
> In vi just search for us) and you will find it.
>
> So, now yup update works but bombs out sfter getting all the packages.
>
> Using cached copy of gdbm-1.8.0-5.ppc.rpm
> Using cached copy of libtool-libs-1.3.6-0c.ppc.rpm
> Reading packages... Done
> Reading packages... Done
> Errors running transaction set!
> Traceback (innermost last):
> File "/usr/sbin/yup", line 29, in ?
> yup.main()
> File "yup.py", line 481, in main
> File "yuprpm.py", line 206, in DoList
> TypeError: not all arguments converted
>
> I am having ahard time believeing that you guys have actually tested this
> internally.
>
> -jeramy
>
>
> On Thu, 22 Mar 2001, jeramy smith wrote:
>
> > It's borked.
> >
> >
> > [root@localhost jeramy]# /usr/sbin/yup update
> > Reading RPM database... (100%)
> > Performing dependencies sanity check...
> > Checking for package list updates...
> > Traceback (innermost last):
> > File "/usr/sbin/yup", line 29, in ?
> > yup.main()
> > File "yup.py", line 425, in main
> > File "yupdb.py", line 1271, in UpdateDB
> > File "yuputils.py", line 50, in Retrieve
> > File "yupurl.py", line 463, in __init__
> > File "yupurl.py", line 425, in __init__
> > File "yupurl.py", line 263, in __init__
> > File "yupurl.py", line 293, in connect
> > File "yupurl.py", line 275, in setstatus
> > File "yupurl.py", line 441, in setstatus
> > TypeError: sequence index must be integer
> >
> > [root@localhost jeramy]# /usr/sbin/yup list
> > Reading RPM database... (100%)
> > Performing dependencies sanity check...
> > Checking for package list updates...
> > Traceback (innermost last):
> > File "/usr/sbin/yup", line 29, in ?
> > yup.main()
> > File "yup.py", line 425, in main
> > File "yupdb.py", line 1271, in UpdateDB
> > File "yuputils.py", line 50, in Retrieve
> > File "yupurl.py", line 463, in __init__
> > File "yupurl.py", line 425, in __init__
> > File "yupurl.py", line 263, in __init__
> > File "yupurl.py", line 293, in connect
> > File "yupurl.py", line 275, in setstatus
> > File "yupurl.py", line 441, in setstatus
> > TypeError: sequence index must be integer
> >
> >
> > I tried downloading the src.rpm to look for this error but the src.rpm
> > is 14MB!
> > 14?!?!
> >
> > The binary package is 65k so I am assuming that this is an error.
> >
> > -jeramy b smith
> >
>



This archive was generated by hypermail 2a24 : Fri Mar 23 2001 - 01:10:49 MST