Red Hat Bugzilla – Bug 568903
debuginfo-install ignores --nogpgcheck parameter
Last modified: 2014-01-21 18:13:57 EST
Description of problem:
running debuginfo-install --nogpgcheck fails with an inability to install packages as they are unsigned.
It also fails if yum.conf has nogpgcheck=1 or 0...
Version-Release number of selected component (if applicable):
Steps to Reproduce:
unable to install unsigned packages
Can you include the complete output you're seeing from debuginfo-install?
The only thing I can think of is that value for the debuginfo repos is not being set when we add/enable those repos.
Please test this patch to debuginfo-install.
I think it will do what you want.
I'll test it out tonight... I'm a bit part time at the moment but will provide info once I have had a chance to test...
It seems to work, however as I don't know if the packages have been now signed so may be false positive... Not sure how to verify that. rpm -K on all previously downloaded packages in the yum repo look like they are signed but I'm not sure if I'm reading that correctly.
rpm -K -v file.rpm
the -v makes it easier to read.
looks like they are signed now so I can't really test that it is properly passing it through...
*** Bug 571012 has been marked as a duplicate of this bug. ***
Seems to be working now. I'm a bit confused as to how honestly since it seems the version in F13 is the same as the one I reported against, but it works...
debuginfo-install --disablerepo=* --enablerepo=rawhide bash
Package yum-plugin-auto-update-debug-info-1.1.26-3.fc14.noarch.rpm is not signed
debuginfo-install --nogpgcheck --disablerepo=* --enablerepo=rawhide bash
ncurses-debuginfo.i686 0:5.7-7.20100130.fc13 yum-plugin-auto-update-debug-info.noarch 0:1.1.26-3.fc14
both /etc/yum.conf and /etc/yum.repos.d/fedora-rawhide.repo had nogpgcheck removed and gpgcheck=1
I think it is safe to close