[Yum] Re: yum for rpm 4.2 on RH80 (was: yum: errors and `unsolicited' updates.)
Axel Thimm
Axel.Thimm at physik.fu-berlin.de
Fri Mar 21 18:24:02 UTC 2003
On Fri, Mar 21, 2003 at 12:37:57PM -0500, Michael Stenner wrote:
> On Fri, Mar 21, 2003 at 04:32:21PM +0100, Axel Thimm wrote:
> > o Red Hat 8.0
> > o rpm-4.2-0.70 (including all needed updates, elfutils etc.)
> > o a working apt for rpm 4.2
> > File "keepalive.py", line 177, in __init__
> > TypeError: __init__() takes at most 3 arguments (4 given)
> >
> > This is due to a call to
> > httplib.HTTPResponse.__init__(self, sock, debuglevel, strict),
> > while python-2.2.1-17 has (in /usr/lib/python2.2/httplib.py):
> > def __init__(self, sock, debuglevel=0):
> > Does yum 1.8/2.0 require a python upgrade?
>
> OK, here's the story. I wrote the keepalive code on RHL 7.3 and
> tested on phoebe (8.1 beta). Both of those have python 2.2.2. It did
> not occur to me that 8.0 might have something older than the versions
> before and after it :(
That is strange indeed ...
> I'll take a look at it tonight, but I don't know how tough it's gonna
> be to fix.
The fix was easy for this one, simply don't pass the forth argument
(strict). yum check-update worked afterwards.
But I now stumbled on a new obstacle. If I use yum-arch I get the following:
File "/usr/bin/yum-arch", line 23, in ?
pullheaders.main()
File "pullheaders.py", line 130, in main
File "pullheaders.py", line 202, in genhdrs
File "rpmUtils.py", line 58, in compareEVR
TypeError: argument 1, item 0 must be string or None, not int
O.K., so I decided to jump on (rawhide's) python 2.2.2. and tried
yum-phoebe-1.8-20030307.1.noarch.rpm, but it doesn't like me ... :(
--
Axel.Thimm at physik.fu-berlin.de
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.baseurl.org/pipermail/yum/attachments/20030321/ed13e0f8/attachment-0001.pgp
More information about the Yum
mailing list