Red Hat Bugzilla – Bug 439618
yum throws an exception installing skype i586 pkg on x86_64
Last modified: 2014-01-21 18:02:07 EST
Description of problem:
I downloaded the Skype rpm from here: http://www.skype.com/go/getskype-linux-fc7
And tried to install it on my F9 Rawhide installation by double clicking the rpm
file on my desktop. Skype is an i586 package and this is an x86_64 machine with
no i386 packages installed at all. Yum throws the following exception:
Error Type: <type 'exceptions.KeyError'>
Error Value: 'unknown header tag'
See attached stack trace.
When installing with "rpm -ivh" in a terminal, it fails the dependency check and
lists missing deps. (As you'd expect because the appropriate i386 versions of
the dependencies are missing.)
Version-Release number of selected component (if applicable):
yum.noarch 3.2.13-1.fc9 installed
Trying to install skype-22.214.171.124-fc5.i586.rpm
Steps to Reproduce:
1. Download Skype Fedora rpm.
2. Double click to install.
Fail gracefully, at the very least by telling me deps are missing. (I'm not sure
what the correct behaviour is in this circumstance, but it certainly shouldn't
Created attachment 299585 [details]
Yum stack trace
You didn't actually install it with yum, you installed it through package kit
(by double clicking, right?)
That being the case it looks like the package kit backend for yum isn't catching
the exception of whatever is not found in that package's header.
Try installing it with yum using:
yum install /path/to/rpm and see if you get the same error.
(In reply to comment #2)
> You didn't actually install it with yum, you installed it through package kit
> (by double clicking, right?)
Yes that's right. I'm was mistaken in filing this bug under Yum instead of
PackageKit. The stack trace mentions yum a lot, you see... ;-)
> That being the case it looks like the package kit backend for yum isn't catching
> the exception of whatever is not found in that package's header.
> Try installing it with yum using:
> yum install /path/to/rpm and see if you get the same error.
Installing it the way you suggest works a treat.
And it looks like updating to the version of PackageKit that appeared in Rawhide
today (from 0.1.9-2.fc9 to 0.1.10-1.fc9) fixes it. Just updated all my
*packagekit* packages and tried again this time worked perfectly!