https://bugzilla.novell.com/show_bug.cgi?id=638736
https://bugzilla.novell.com/show_bug.cgi?id=638736#c5
--- Comment #5 from David Rankin 2010-09-14 19:00:01 UTC ---
Guys, FYI, I updated to rpm-5.1.9 and createrepo 0.9.8. There appear to be
additional sensitivities in 0.9.8. In my case, all my repos built fine with
0.4.4 (except for the nasm package). Now my 11.3 repo still builds fine with
0.9.8, but my 11.0 repo craters with:
[13:55 nirvana:/home/backup/rpms] # createrepo --update -d openSUSE_11.0/
1149/6790 - i586/libopencore-amrwb0-0.1.2-0.pm.1.1.i586.rpm
Traceback (most recent call last):
File "/usr/share/createrepo/genpkgmetadata.py", line 249, in <module>
main(sys.argv[1:])
File "/usr/share/createrepo/genpkgmetadata.py", line 223, in main
mdgen.doPkgMetadata()
File "/usr/lib/python2.6/site-packages/createrepo/__init__.py", line 367, in
doPkgMetadata
self.writeMetadataDocs(packages)
File "/usr/lib/python2.6/site-packages/createrepo/__init__.py", line 531, in
writeMetadataDocs
self.primaryfile.write(po.xml_dump_primary_metadata())
File "/usr/lib/python2.6/site-packages/yum/packages.py", line 1168, in
xml_dump_primary_metadata
msg += misc.to_unicode(self._dump_format_items())
File "/usr/lib/python2.6/site-packages/yum/packages.py", line 1039, in
_dump_format_items
msg += self._dump_requires()
File "/usr/lib/python2.6/site-packages/yum/packages.py", line 1097, in
_dump_requires
mylist = self._requires_with_pre()
File "/usr/lib/python2.6/site-packages/yum/packages.py", line 1369, in
_requires_with_pre
pre = map(self._is_pre_req, lst)
File "/usr/lib/python2.6/site-packages/yum/packages.py", line 1359, in
_is_pre_req
rpm.RPMSENSE_SCRIPT_PRE |
AttributeError: 'module' object has no attribute 'RPMSENSE_PREREQ'
What is this AttributeError: 'module' object has no attribute
'RPMSENSE_PREREQ'?
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.