Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.
Bug 227680 - createrepo should want python-urlgrabber
Summary: createrepo should want python-urlgrabber
Alias: None
Product: Fedora
Classification: Fedora
Component: createrepo
Version: 6
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Paul Nasrat
QA Contact:
Depends On:
TreeView+ depends on / blocked
Reported: 2007-02-07 15:20 UTC by Viacheslav Kaloshin
Modified: 2014-01-21 22:57 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2007-03-14 11:22:51 UTC

Attachments (Terms of Use)

Description Viacheslav Kaloshin 2007-02-07 15:20:00 UTC
# rpm -qa|grep createrepo

when i want to create new rpm:

# rpmbuild -ba vztmpl.spec
createrepo .
Traceback (most recent call last):
  File "/usr/share/createrepo/", line 30, in ?
    import urlgrabber
ImportError: No module named urlgrabber
make[1]: *** [repo] Error 1
make[1]: Leaving directory `/usr/src/redhat/BUILD/fedora-core-6/addons'
make: *** [addons] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.12568 (%build)

RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.12568 (%build)

yum install python-urlgrabber fix this error

Comment 1 Seth Vidal 2007-02-08 05:37:04 UTC
The urlgrabber dependency has been removed from upstream createrepo

this isn't really a fix for fc6 but I thought it should be noted.

Comment 2 Andreas Hanke 2007-02-16 13:51:46 UTC
In the meantime, everything is the other way round: On the rpm level, createrepo
now requires python-urlgrabber (#214388), but it does not actually use it any more:

Please remove the dependency again for createrepo >= 0.4.6 packages.

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