Bug 487323

Summary: yum-builddep fails on start
Product: [Fedora] Fedora Reporter: Pavel Alexeev <pahan>
Component: yum-utilsAssignee: Seth Vidal <skvidal>
Status: CLOSED UPSTREAM QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: urgent Docs Contact:
Priority: medium    
Version: 9CC: james.antill, pmatilai, tim.lauridsen
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-02-27 19:37:13 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Pavel Alexeev 2009-02-25 14:05:48 UTC
Description of problem:
# LANG=C yum-builddep subversion-1.5.4-3.src.rpm
Excluding Packages in global exclude list
Finished
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__
    self.main()
  File "/usr/bin/yum-builddep", line 65, in main
    self.get_build_deps()
  File "/usr/bin/yum-builddep", line 112, in get_build_deps
    srpms.append(yum.packages.YumLocalPackage(self.ts, arg))
  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'
rpmdevtools-7.0-1.fc9.noarch
yum-metadata-parser-1.1.2-9.fc9.i386
yum-utils-1.1.19-1.fc9.noarch
rpm-4.4.2.3-3.fc9.i386
rpm-build-4.4.2.3-3.fc9.i386
yum-3.2.21-2.fc9.noarch
redhat-rpm-config-9.0.2-1.fc9.noarch
rpm-libs-4.4.2.3-3.fc9.i386
rpm-python-4.4.2.3-3.fc9.i386

Comment 1 seth vidal 2009-02-27 19:37:13 UTC
run rpm -K -v on that file, please.

The specific problem causing this traceback has been fixed upstream

yum-utils checking: e5f10900eb37c5b92a7198488f5066153954a991

Comment 2 Pavel Alexeev 2009-02-27 19:56:31 UTC
(In reply to comment #1)
> run rpm -K -v on that file, please.
No problem:
# LANG=C rpm -K -v subversion-1.5.4-3.src.rpm 
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?

Comment 3 seth vidal 2009-02-27 20:03:22 UTC
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.

Comment 4 Pavel Alexeev 2009-02-27 20:09:50 UTC
(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?

Comment 5 seth vidal 2009-02-27 20:19:50 UTC
it'll be in the next upstream yum-utils release. Right now, not, yet, out.

Comment 6 Pavel Alexeev 2009-02-27 20:32:17 UTC
Okay, wait.
Thank you.