[Yum] Re: yum for rpm 4.2 on RH80 (was: yum: errors and `unsolicited' updates.)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



--C7zPtVaVf+AK4Oqc
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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)
> >=20
> > 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=3D0):
> > Does yum 1.8/2.0 require a python upgrade?
>=20
> 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 ... :(
--=20
Axel.Thimm@xxxxxxxxxxxxxxxxxxx

--C7zPtVaVf+AK4Oqc
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE+e1jCQBVS1GOamfERAtEnAJ0Rdp9Xd3khCb4J4TvrlQ/GK/9l+ACfQA5P
zPDbrZcjVnWrzqlWDMq3PuQ=
=J0M6
-----END PGP SIGNATURE-----

--C7zPtVaVf+AK4Oqc--


[Index of Archives]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux