Bug 1123843 - traceback with new-sources
Summary: traceback with new-sources
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: fedpkg
Version: 20
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Dennis Gilmore
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-07-28 12:24 UTC by Ales Kozumplik
Modified: 2014-09-30 23:42 UTC (History)
5 users (show)

Fixed In Version: fedpkg-1.18-1.fc19
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-08-08 08:40:16 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Ales Kozumplik 2014-07-28 12:24:01 UTC
fedpkg-1.16-1.fc20.noarch

[akozumpl@localhost ~/fedpkg/libsolv (master)]$ fedpkg new-sources /home/akozumpl/rpmbuild/SOURCES/libsolv-5bd9589.tar.xz
Traceback (most recent call last):
  File "/usr/bin/fedpkg", line 13, in <module>
    from fedpkg.__main__ import main
  File "/usr/lib/python2.7/site-packages/fedpkg/__init__.py", line 14, in <module>
    import cli
  File "/usr/lib/python2.7/site-packages/fedpkg/cli.py", line 23, in <module>
    import pkgdb2client
ImportError: No module named pkgdb2client

Comment 1 Mathieu Bridon 2014-07-28 12:31:54 UTC
The fix would be to add the missing:

    Requires: packagedb-cli

For those impacted, until this is fixed, you can install the package manually as a workaround:

    $ sudo yum install packagedb-cli

Comment 2 Pierre-YvesChibon 2014-07-28 12:34:54 UTC
Should we set a minimal version of packagedb-cli required in the fedpkg spec?

Comment 3 Fedora Update System 2014-07-30 12:56:06 UTC
fedpkg-1.18-1.fc19, rpkg-1.26-1.fc19 has been submitted as an update for Fedora 19.
https://admin.fedoraproject.org/updates/fedpkg-1.18-1.fc19,rpkg-1.26-1.fc19

Comment 4 Fedora Update System 2014-07-30 12:58:37 UTC
fedpkg-1.18-1.fc20, rpkg-1.26-1.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/fedpkg-1.18-1.fc20,rpkg-1.26-1.fc20

Comment 5 Fedora Update System 2014-07-30 21:55:37 UTC
Package fedpkg-1.18-1.fc20, rpkg-1.26-1.fc20:
* should fix your issue,
* was pushed to the Fedora 20 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing fedpkg-1.18-1.fc20 rpkg-1.26-1.fc20'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2014-9020/fedpkg-1.18-1.fc20,rpkg-1.26-1.fc20
then log in and leave karma (feedback).

Comment 6 Fedora Update System 2014-08-08 08:40:16 UTC
fedpkg-1.18-1.fc20, rpkg-1.26-1.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 7 Fedora Update System 2014-08-15 02:54:55 UTC
fedpkg-1.18-1.fc19, rpkg-1.26-1.fc19 has been pushed to the Fedora 19 stable repository.  If problems still persist, please make note of it in this bug report.


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