Bug 1188079 - openpgpkey: missing dependency on unbound
Summary: openpgpkey: missing dependency on unbound
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: hash-slinger
Version: 22
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Paul Wouters
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On: 1188080
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-02-02 01:34 UTC by Zbigniew Jędrzejewski-Szmek
Modified: 2016-04-21 01:47 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-04-21 01:47:27 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Zbigniew Jędrzejewski-Szmek 2015-02-02 01:34:31 UTC
Description of problem:
$ /usr/bin/openpgpkey
Traceback (most recent call last):
  File "/usr/bin/openpgpkey", line 15, in <module>
    import unbound
ImportError: No module named unbound

Version-Release number of selected component (if applicable):
hash-slinger-2.6-1.fc22.noarch

Comment 1 Zbigniew Jędrzejewski-Szmek 2015-02-02 01:36:43 UTC
Hm, hash-slinger has a dependency on unbound-python, but unbound-python is a Python 3 module. So something is definitely off here.

Comment 2 Jaroslav Reznik 2015-03-03 16:48:41 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 22 development cycle.
Changing version to '22'.

More information and reason for this action is here:
https://fedoraproject.org/wiki/Fedora_Program_Management/HouseKeeping/Fedora22

Comment 3 Juan Orti 2015-04-12 09:00:58 UTC
hash-slinger is not usable in F22 because of this.

Comment 4 Paul Wouters 2016-04-21 01:47:27 UTC
root@bofh:~# cat /etc/fedora-release 
Fedora release 22 (Twenty Two)
root@bofh:~# rpm -q unbound-python
package unbound-python is not installed
root@bofh:~# yum install hash-slinger
Yum command has been deprecated, redirecting to '/usr/bin/dnf install hash-slinger'.
See 'man dnf' and 'man yum2dnf' for more information.
To transfer transaction metadata from yum to DNF, run:
'dnf install python-dnf-plugins-extras-migrate && dnf-2 migrate'

Last metadata expiration check performed 23:54:24 ago on Tue Apr 19 21:50:27 2016.
Dependencies resolved.
================================================================================
 Package               Arch          Version               Repository      Size
================================================================================
Installing:
 hash-slinger          noarch        2.6-1.fc22            fedora          39 k
 python-unbound        x86_64        1.5.7-2.fc22          updates         91 k
Upgrading:
 unbound               x86_64        1.5.7-2.fc22          updates        586 k
 unbound-devel         x86_64        1.5.7-2.fc22          updates         47 k
 unbound-libs          x86_64        1.5.7-2.fc22          updates        367 k

Transaction Summary
================================================================================
Install  2 Packages
Upgrade  3 Packages

Total download size: 1.1 M
Is this ok [y/N]: y

[...]

Complete!
root@bofh:~# openpgpkey
usage: openpgpkey [-h] [--verify] [--fetch] [--create] [--version]
                  [--insecure] [--resolvconf RESOLVCONF]
                  [--rootanchor ROOTANCHOR] [--uid UID] [--debug] [--quiet]
                  [--output {generic,rfc,both}]
                  email
openpgpkey: error: too few arguments


So this has been fixed at some point in the past.


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