Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1080569 - createrepo doesn't work at all: ValueError: <package> has no attribute suggests
Summary: createrepo doesn't work at all: ValueError: <package> has no attribute suggests
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: yum
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Packaging Maintenance Team
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: TRACKER-bugs-affecting-libguestfs
TreeView+ depends on / blocked
 
Reported: 2014-03-25 17:16 UTC by Richard W.M. Jones
Modified: 2014-03-25 18:44 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-03-25 18:44:09 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Richard W.M. Jones 2014-03-25 17:16:12 UTC
Description of problem:

createrepo is broken in Rawhide:

$ createrepo .
Worker 0: Traceback (most recent call last):
Worker 0:   File "/usr/share/createrepo/worker.py", line 116, in <module>
Worker 0:     main(sys.argv[1:])
Worker 0:   File "/usr/share/createrepo/worker.py", line 105, in main
Worker 0:     output(pkg.xml_dump_primary_metadata(),
Worker 0:   File "/usr/lib/python2.7/site-packages/yum/packages.py", line 1313, in xml_dump_primary_metadata
Worker 0:     msg += self._dump_format_items()
Worker 0:   File "/usr/lib/python2.7/site-packages/yum/packages.py", line 1186, in _dump_format_items
Worker 0:     msg += self._dump_pco('suggests')
Worker 0:   File "/usr/lib/python2.7/site-packages/yum/packages.py", line 1200, in _dump_pco
Worker 0:     mylist = getattr(self, pcotype)
Worker 0:   File "/usr/lib/python2.7/site-packages/yum/packages.py", line 1519, in __getattr__
Worker 0:     raise ValueError, "%s has no attribute %s" % (self, thing)
Worker 0: ValueError: SDL2-2.0.3-1.fc21.i686 has no attribute suggests
Worker 1: Traceback (most recent call last):
Worker 1:   File "/usr/share/createrepo/worker.py", line 116, in <module>
Worker 1:     main(sys.argv[1:])
Worker 1:   File "/usr/share/createrepo/worker.py", line 105, in main
Worker 1:     output(pkg.xml_dump_primary_metadata(),
Worker 1:   File "/usr/lib/python2.7/site-packages/yum/packages.py", line 1313, in xml_dump_primary_metadata
Worker 1:     msg += self._dump_format_items()
Worker 1:   File "/usr/lib/python2.7/site-packages/yum/packages.py", line 1186, in _dump_format_items
Worker 1:     msg += self._dump_pco('suggests')
Worker 1:   File "/usr/lib/python2.7/site-packages/yum/packages.py", line 1200, in _dump_pco
Worker 1:     mylist = getattr(self, pcotype)
Worker 1:   File "/usr/lib/python2.7/site-packages/yum/packages.py", line 1519, in __getattr__
Worker 1:     raise ValueError, "%s has no attribute %s" % (self, thing)
Worker 1: ValueError: SLOF-0.1.git20140304-1.fc21.noarch has no attribute suggests
Worker 2: Traceback (most recent call last):
Worker 2:   File "/usr/share/createrepo/worker.py", line 116, in <module>
Worker 2:     main(sys.argv[1:])
Worker 2:   File "/usr/share/createrepo/worker.py", line 105, in main
Worker 2:     output(pkg.xml_dump_primary_metadata(),
Worker 2:   File "/usr/lib/python2.7/site-packages/yum/packages.py", line 1313, in xml_dump_primary_metadata
Worker 2:     msg += self._dump_format_items()
Worker 2:   File "/usr/lib/python2.7/site-packages/yum/packages.py", line 1186, in _dump_format_items
Worker 2:     msg += self._dump_pco('suggests')
Worker 2:   File "/usr/lib/python2.7/site-packages/yum/packages.py", line 1200, in _dump_pco
Worker 2:     mylist = getattr(self, pcotype)
Worker 2:   File "/usr/lib/python2.7/site-packages/yum/packages.py", line 1519, in __getattr__
Worker 2:     raise ValueError, "%s has no attribute %s" % (self, thing)
Worker 2: ValueError: acl-2.2.52-4.fc21.i686 has no attribute suggests
Worker 3: Traceback (most recent call last):
Worker 3:   File "/usr/share/createrepo/worker.py", line 116, in <module>
Worker 3:     main(sys.argv[1:])
Worker 3:   File "/usr/share/createrepo/worker.py", line 105, in main
Worker 3:     output(pkg.xml_dump_primary_metadata(),
Worker 3:   File "/usr/lib/python2.7/site-packages/yum/packages.py", line 1313, in xml_dump_primary_metadata
Worker 3:     msg += self._dump_format_items()
Worker 3:   File "/usr/lib/python2.7/site-packages/yum/packages.py", line 1186, in _dump_format_items
Worker 3:     msg += self._dump_pco('suggests')
Worker 3:   File "/usr/lib/python2.7/site-packages/yum/packages.py", line 1200, in _dump_pco
Worker 3:     mylist = getattr(self, pcotype)
Worker 3:   File "/usr/lib/python2.7/site-packages/yum/packages.py", line 1519, in __getattr__
Worker 3:     raise ValueError, "%s has no attribute %s" % (self, thing)
Worker 3: ValueError: alsa-lib-1.0.27.2-2.fc21.i686 has no attribute suggests
Worker 4: Traceback (most recent call last):
Worker 4:   File "/usr/share/createrepo/worker.py", line 116, in <module>
Worker 4:     main(sys.argv[1:])
Worker 4:   File "/usr/share/createrepo/worker.py", line 105, in main
Worker 4:     output(pkg.xml_dump_primary_metadata(),
Worker 4:   File "/usr/lib/python2.7/site-packages/yum/packages.py", line 1313, in xml_dump_primary_metadata
Worker 4:     msg += self._dump_format_items()
Worker 4:   File "/usr/lib/python2.7/site-packages/yum/packages.py", line 1186, in _dump_format_items
Worker 4:     msg += self._dump_pco('suggests')
Worker 4:   File "/usr/lib/python2.7/site-packages/yum/packages.py", line 1200, in _dump_pco
Worker 4:     mylist = getattr(self, pcotype)
Worker 4:   File "/usr/lib/python2.7/site-packages/yum/packages.py", line 1519, in __getattr__
Worker 4:     raise ValueError, "%s has no attribute %s" % (self, thing)
Worker 4: ValueError: at-spi2-atk-2.12.0-1.fc21.i686 has no attribute suggests
Worker exited with non-zero value: 1. Fatal.
Worker exited with non-zero value: 1. Fatal.
Spawning worker 0 with 125 pkgs
Spawning worker 1 with 125 pkgs
Spawning worker 2 with 125 pkgs
Spawning worker 3 with 125 pkgs
Spawning worker 4 with 125 pkgs

Version-Release number of selected component (if applicable):

createrepo-0.10.3-2.fc21.noarch

Comment 1 Richard W.M. Jones 2014-03-25 17:18:02 UTC
yum version is 3.4.3-143.fc21.noarch.

Comment 2 James Antill 2014-03-25 17:22:20 UTC
 This should fix it, built in rawhide but won't hit until tomorrow:

http://koji.fedoraproject.org/koji/taskinfo?taskID=6671971

Comment 3 James Antill 2014-03-25 17:53:06 UTC
 Ok, sorry that was a different bug ... this should fix the createrepo problem:

http://koji.fedoraproject.org/koji/taskinfo?taskID=6672622

Comment 4 Richard W.M. Jones 2014-03-25 18:44:09 UTC
Looks like -144 is working now, thanks.


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