[Yum] [yum 1.8 20030307] Infinite Loop bug; epoch bug; testsuite
Axel Thimm
Axel.Thimm at physik.fu-berlin.de
Mon Mar 24 07:36:07 UTC 2003
I have found some more bugs im yum-arch and yum and created a small testsuite
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==0, conflicts==0, unresolvable==0
Updating: test-badrequireswithprovides, i386
Not a kernel, adding to ts
# of Deps = 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.
--
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/20030324/ecdf491d/attachment-0001.pgp
More information about the Yum
mailing list