[Yum] 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]

 



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

[moved this to the yum list]

On Fri, Mar 21, 2003 at 09:29:38AM -0500, seth vidal wrote:
> On Fri, 2003-03-21 at 09:15, Axel Thimm wrote:
> > On Fri, Mar 21, 2003 at 08:32:52AM -0500, seth vidal wrote:
> > > > Is this an rpm 4.1 vs rpm 4.2 thing, or something else? Would rebui=
lding yum
> > > > from src.rpm help?
> > > no - rebuilding won't help - two different branches.
> > Will http://www.linux.duke.edu/projects/yum/download/daily/2.0/yum-2003=
0307.tar.gz
> > do?
> Is that the latest one?
> If so then yah - or just grab the rpm.

O.K., I have now the following setup:

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

Up to this point everything works fine. I have managed to build and maintain
rh80 rpms and repositories with rpm 4.2. In fact, it works better than with
rpm < 4.2 (no more spurious hangs).

If I try to build the latest yum sources, or use the built rpm for phoebe,
http://linux.duke.edu/projects/yum/download/2.0/daily/yum-phoebe-1.8-200303=
07.1.noarch.rpm
I get the following:

Gathering package information from servers
Getting headers from: Phoebe Beta 3 - 8.0.94
Traceback (most recent call last):
  File "/usr/bin/yum", line 45, in ?
    yummain.main(sys.argv[1:])
  File "yummain.py", line 158, in main
  File "clientStuff.py", line 675, in get_package_info_from_servers
  File "clientStuff.py", line 301, in urlgrab
  File "/usr/lib/python2.2/urllib2.py", line 138, in urlopen
    return _opener.open(url, data)
  File "/usr/lib/python2.2/urllib2.py", line 322, in open
    '_open', req)
  File "/usr/lib/python2.2/urllib2.py", line 301, in _call_chain
    result =3D func(*args)
  File "keepalive.py", line 153, in http_open
  File "keepalive.py", line 134, in do_open
  File "/usr/lib/python2.2/httplib.py", line 593, in getresponse
    response =3D self.response_class(self.sock)
  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=3D0):

Does yum 1.8/2.0 require a python upgrade?
--=20
Axel.Thimm@xxxxxxxxxxxxxxxxxxx

--wRRV7LY7NUeQGEoC
Content-Type: application/pgp-signature
Content-Disposition: inline

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

iD8DBQE+ezCFQBVS1GOamfERAtByAJ9HZnpaC+sZIslM+MGnR/NT92iKPACfYsmH
Lssuu7mfP5w/0e/SbWu0xHk=
=6KZt
-----END PGP SIGNATURE-----

--wRRV7LY7NUeQGEoC--


[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