Bug 1188079

Summary: openpgpkey: missing dependency on unbound
Product: [Fedora] Fedora Reporter: Zbigniew Jędrzejewski-Szmek <zbyszek>
Component: hash-slingerAssignee: Paul Wouters <pwouters>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 22CC: jorti, pwouters
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-04-21 01:47:27 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1188080    
Bug Blocks:    

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.