Bug 711865 - error while creating a repository with RPMs for Fedora 14
Summary: error while creating a repository with RPMs for Fedora 14
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: createrepo
Version: 15
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Luke Macken
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-06-08 19:35 UTC by Cristian Ciupitu
Modified: 2016-09-20 02:42 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-07-28 21:20:24 UTC
Type: ---


Attachments (Terms of Use)
ls -rlaL (the files are really symlinks) (141.13 KB, text/plain)
2011-06-08 19:35 UTC, Cristian Ciupitu
no flags Details

Description Cristian Ciupitu 2011-06-08 19:35:38 UTC
Created attachment 503771 [details]
ls -rlaL (the files are really symlinks)

Description of problem:
I have a directory with RPMs for Fedora 14 from various repositories, fedora, updates, rpmfusion-free, rpmfusion-free-updates and tmz-puppet to be more precise. I tried to create a repository from it and createrepo failed.

Version-Release number of selected component (if applicable):
createrepo-0.9.9-3.fc15.noarch

How reproducible:
Every time

Steps to Reproduce:
1. Create a directory with the RPMs mentioned in the attachment.
2. Run createrepo -v .
  
Actual results:
Spawning worker 0 with 1716 pkgs
Worker 0: reading abuse-0.7.1-5.fc14.x86_64.rpm
Worker 0: Traceback (most recent call last):
Worker 0: reading accountsdialog-0.6-3.fc14.x86_64.rpm
Worker 0:   File "/usr/share/createrepo/worker.py", line 101, in <module>
Worker 0: reading accountsservice-0.6.1-1.fc14.x86_64.rpm
Worker 0:     main(sys.argv[1:])
Worker 0: reading AcetoneISO-6.7-7.fc12.x86_64.rpm
Worker 0:   File "/usr/share/createrepo/worker.py", line 84, in main
Worker 0: reading acpid-2.0.7-1.fc14.i686.rpm
Worker 0:     pri.write(pkg.xml_dump_primary_metadata())
Worker 0: reading adanaxisgpl-1.2.5-5.fc12.x86_64.rpm
Worker 0:   File "/usr/lib/python2.7/site-packages/yum/packages.py", line 1208, in xml_dump_primary_metadata
Worker 0: reading adns-1.4-9.fc14.x86_64.rpm
Worker 0:     msg += misc.to_unicode(self._dump_format_items())
Worker 0: reading adonthell-0.3.5-0.9.fc14.x86_64.rpm
Worker 0:   File "/usr/lib/python2.7/site-packages/yum/packages.py", line 1076, in _dump_format_items
Worker 0: reading alex4-1.0-9.fc12.x86_64.rpm
Worker 0:     msg += self._dump_requires()
Worker 0: reading alienblaster-1.1.0-6.fc12.x86_64.rpm
Worker 0:   File "/usr/lib/python2.7/site-packages/yum/packages.py", line 1145, in _dump_requires
Worker 0: reading allegro-4.2.3-3.fc14.x86_64.rpm
Worker 0:     best = rest.pop()
Worker 0: reading anaconda-14.22-1.fc14.x86_64.rpm
Worker 0: IndexError: pop from empty list
Worker 0: reading anaconda-yum-plugins-1.0-5.fc12.noarch.rpm
Worker 0: reading ants-1.4-7.fc12.x86_64.rpm
Worker exited with non-zero value: 1. Fatal.
Worker exited with non-zero value: 1. Fatal.

Expected results:
No errors or at least a less cryptic error.

Additional info:

Comment 1 seth vidal 2011-07-28 21:20:24 UTC
this is actually over in yum and it is fixed in rawhide/upstream


Note You need to log in before you can comment on or make changes to this bug.