DNF Crash Installing Package and Resolving Keys

Stephen Morris samorris at netspace.net.au
Sun Jun 29 03:15:41 UTC 2014


Hi,
     I was trying to install mysql packages from the yum repository for 
Fedora 20 provided by Oracle and the fist package dnf tried to install 
needed to have a key loaded from the key file specified in the 
repository definition but crashed with the following stack trace. Has 
anybody else seen this?
     As a side issue to this, after getting the failure I tried sudo yum 
upgrade and that just kept looping complaining that yum-cron was holding 
the yum lock, is this normal?

warning: 
/var/cache/dnf/x86_64/20/mysql56-community/packages/mysql-community-client-5.6.19-1.fc20.x86_64.rpm: 
V3 DSA/SHA1 Signature, key ID 5072e1f5: NOKEY
Retrieving key from file:/etc/pki/rpm-gpg/RPM-GPG-KEY-mysql
Traceback (most recent call last):
   File "/bin/dnf", line 36, in <module>
     main.user_main(sys.argv[1:], exit_code=True)
   File "/usr/lib/python2.7/site-packages/dnf/cli/main.py", line 206, in 
user_main
     errcode = main(args)
   File "/usr/lib/python2.7/site-packages/dnf/cli/main.py", line 82, in main
     return _main(base, args)
   File "/usr/lib/python2.7/site-packages/dnf/cli/main.py", line 141, in 
_main
     ret = resolving(cli, base)
   File "/usr/lib/python2.7/site-packages/dnf/cli/main.py", line 169, in 
resolving
     return_code, resultmsgs = base.do_transaction()
   File "/usr/lib/python2.7/site-packages/dnf/cli/cli.py", line 227, in 
do_transaction
     if self.gpgsigcheck(downloadpkgs) != 0:
   File "/usr/lib/python2.7/site-packages/dnf/cli/cli.py", line 262, in 
gpgsigcheck
     self.getKeyForPackage(po, fn)
   File "/usr/lib/python2.7/site-packages/dnf/base.py", line 1995, in 
getKeyForPackage
     keys = self._retrievePublicKey(keyurl, repo)
   File "/usr/lib/python2.7/site-packages/dnf/base.py", line 1894, in 
_retrievePublicKey
     ucd(e))
TypeError: not all arguments converted during string formatting


regards,
Steve



-------------- next part --------------
A non-text attachment was scrubbed...
Name: samorris.vcf
Type: text/x-vcard
Size: 130 bytes
Desc: not available
URL: <http://lists.fedoraproject.org/pipermail/users/attachments/20140629/f9614df1/attachment.vcf>


More information about the users mailing list