yum / createrepo version for CentOS 5 builder

Jonathan Dieter jdieter at gmail.com
Fri Jun 18 07:52:41 UTC 2010


On Thu, 2010-06-17 at 14:06 -0500, Dennis Gilmore wrote:
> you need python-hashlib though koji should be pulling that in for you.  you 
> will need to get a rpm that has xz support to actually install the fedora-13 
> rpms there is one available inside of  
> http://infrastructure.fedoraproject.org/builder-rpms/

Ok, still getting the error message.  I'm putting it, with slightly more
context at the bottom.

$ rpm -q python-hashlib createrepo
python-hashlib-20081119-4.el5.x86_64
createrepo-0.4.11-3.el5.noarch

I have updated rpm to the version available at the link above, but, as
expected, it made no difference.

To give a bit more context, I've followed the instructions at
http://fedoraproject.org/wiki/Koji/ExternalRepoServerBootstrap, using a
local mirror, with updates having a priority of 1 and release having a
priority of 2.

The error is happening on the newRepo task, which is run whenever I
start kojira.

Jonathan

The last few lines of the error for x86_64, i386 is essentially the
same:
16958/16961 - net6-1.3.9-3.fc12.x86_64
16959/16961 - junit-demo-3.8.2-6.4.fc12.x86_64
16960/16961 - perl-DateTime-Event-Recurrence-0.16-9.fc13.noarch
16961/16961 - perl-XML-XPath-1.13-10.fc13.noarch

Saving Primary metadata
Saving file lists metadata
Saving other metadata
Generating sqlite DBs
Starting other db creation: Fri Jun 18 09:36:54 2010
Ending other db creation: Fri Jun 18 09:37:01 2010
Starting filelists db creation: Fri Jun 18 09:37:03 2010
Ending filelists db creation: Fri Jun 18 09:42:19 2010
Starting primary db creation: Fri Jun 18 09:42:22 2010
Traceback (most recent call last):
  File "/usr/libexec/kojid/mergerepos", line 229, in ?
    main(sys.argv[1:])
  File "/usr/libexec/kojid/mergerepos", line 224, in main
    merge.write_metadata()
  File "/usr/libexec/kojid/mergerepos", line 205, in write_metadata
    mdgen.doRepoMetadata()
  File "/usr/lib/python2.4/site-packages/createrepo/__init__.py", line 789, in doRepoMetadata
    rp.getPrimary(complete_path, csum)
  File "/usr/lib64/python2.4/site-packages/sqlitecachec.py", line 42, in getPrimary
    self.repoid))
TypeError: Parsing primary.xml error: attributes construct error

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
Url : http://lists.fedoraproject.org/pipermail/buildsys/attachments/20100618/87cfe081/attachment.bin 


More information about the buildsys mailing list