Red Hat Bugzilla – Bug 487323
yum-builddep fails on start
Last modified: 2014-01-21 18:08:17 EST
Description of problem:
# LANG=C yum-builddep subversion-1.5.4-3.src.rpm
Excluding Packages in global exclude list
warning: rpmts_HdrFromFdno: Header V3 DSA signature: NOKEY, key ID 4ebfc273
Traceback (most recent call last):
File "/usr/bin/yum-builddep", line 147, in <module>
util = YumBuildDep()
File "/usr/bin/yum-builddep", line 42, in __init__
File "/usr/bin/yum-builddep", line 65, in main
File "/usr/bin/yum-builddep", line 112, in get_build_deps
File "/usr/lib/python2.5/site-packages/yum/packages.py", line 1466, in __init__
'Could not open local rpm file: %s' % self.localpath
yum.Errors.MiscError: Could not open local rpm file: subversion-1.5.4-3.src.rpm
Strange error, because it is normal file on regular filesystem:
# ls -l subversion-1.5.4-3.src.rpm
-rw-r--r-- 1 pasha users 6755184 Окт 31 03:42 subversion-1.5.4-3.src.rpm
Version-Release number of selected component (if applicable):
# rpm -qa | egrep 'rpm|yum'
run rpm -K -v on that file, please.
The specific problem causing this traceback has been fixed upstream
yum-utils checking: e5f10900eb37c5b92a7198488f5066153954a991
(In reply to comment #1)
> run rpm -K -v on that file, please.
# LANG=C rpm -K -v subversion-1.5.4-3.src.rpm
Header V3 DSA signature: NOKEY, key ID 4ebfc273
Header SHA1 digest: OK (067e94e73a2634aeda909621fa14d4b12cbc24d1)
MD5 digest: OK (32ee7d18927a48dd825d1730aaa4676a)
V3 DSA signature: NOKEY, key ID 4ebfc273
File from official Fedora repository.
> The specific problem causing this traceback has been fixed upstream
> yum-utils checking: e5f10900eb37c5b92a7198488f5066153954a991
Is there update in our repos? May be in tesing?
I don't think a yum-utils update has been pushed, yet.
And if you import the gpg key for fedora 10 into your rpmdb the error will stop for you, too.
(In reply to comment #3)
> I don't think a yum-utils update has been pushed, yet.
Can you provide link on koji build that should provide fix?
> And if you import the gpg key for fedora 10 into your rpmdb the error will stop
> for you, too.
Hm... Why it is not done automaticaly by example how yum do it? What I must do for that?
it'll be in the next upstream yum-utils release. Right now, not, yet, out.