[Yum] [yum 1.8 20030307] Infinite Loop bug; epoch bug; testsuite

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

 



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

I have found some more bugs im yum-arch and yum and created a small testsui=
te
which demonstrates them. Maybe you want to create a regression test suite
based on that?

The testsuite is attached. Simply unpack and run make. It will stop at the
first bug below.

Here come the bugs reports:

o yum-arch: If there are packages with different epochs in the repository
  yum-arch bails out with:

Digesting rpm - test-multiepochs-0-0.i386.rpm - 6/8
Digesting rpm - test-multiepochs-1-0.i386.rpm - 7/8
Traceback (most recent call last):
  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

This also happens when a package has an epoch and another has '(none)'.

o yum: Infinite 'restarting dependency loop':
  If a package has unresolved dependencies AND provides anything yum enters=
 an
  infinite loop:

Restarting Dependency Loop
CheckDeps=3D=3D0, conflicts=3D=3D0, unresolvable=3D=3D0
Updating: test-badrequireswithprovides, i386
Not a kernel, adding to ts
# of Deps =3D 1

In order to test the latter you need to disable test-multiepochs which
triggers the above bug, so that yum-arch can build the meta-data.
--=20
Axel.Thimm@xxxxxxxxxxxxxxxxxxx

--RnlQjJ0d97Da+TV1
Content-Type: application/pgp-signature
Content-Disposition: inline

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

iD8DBQE+frVnQBVS1GOamfERAoAUAJ9ITdQ+KYCvAFbc9sXhVA+jt/7ArQCdEgcX
Oe6RsG1mLwV111O8QQ80rSY=
=EZiP
-----END PGP SIGNATURE-----

--RnlQjJ0d97Da+TV1--


[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