Bug 1381216 - --nogpgcheck doesn't work properly
--nogpgcheck doesn't work properly
Status: CLOSED RAWHIDE
Product: Fedora
Classification: Fedora
Component: dnf (Show other bugs)
rawhide
Unspecified Unspecified
high Severity unspecified
: ---
: ---
Assigned To: rpm-software-management
Fedora Extras Quality Assurance
: Triaged
: 1383768 (view as bug list)
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2016-10-03 08:44 EDT by Igor Gnatenko
Modified: 2016-12-02 10:21 EST (History)
9 users (show)

See Also:
Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2016-12-02 10:21:34 EST
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Igor Gnatenko 2016-10-03 08:44:34 EDT
[brain@brain ~]$ sudo dnf --nogpgcheck reinstall \* -y
...
warning: /var/cache/dnf/google-talkplugin-dfa34928d410c534/packages/google-talkplugin-5.41.3.0-1.x86_64.rpm: Header V4 DSA/SHA1 Signature, key ID 7fac5991: NOKEY
The downloaded packages were saved in cache until the next successful transaction.
You can remove cached packages by executing 'dnf clean packages'.
Error: Public key for google-talkplugin-5.41.3.0-1.x86_64.rpm is not installed
[brain@brain ~]$ echo $?
130
Comment 1 Igor Gnatenko 2016-10-11 13:57:49 EDT
*** Bug 1383768 has been marked as a duplicate of this bug. ***
Comment 2 Jaroslav Mracek 2016-10-14 07:12:42 EDT
Please can you provide repo information from where the package was installed or reinstalled. Also dnf.conf would be pretty handy.
Comment 3 Igor Gnatenko 2016-10-14 07:28:25 EDT
(In reply to Jaroslav Mracek from comment #2)
> Please can you provide repo information from where the package was installed
> or reinstalled.
[google-talkplugin]
name=google-talkplugin
baseurl=http://dl.google.com/linux/talkplugin/rpm/stable/x86_64
enabled=1
gpgcheck=1
> Also dnf.conf would be pretty handy.
it's default one.
Comment 4 Jaroslav Mracek 2016-10-14 09:48:35 EDT
Here is the PR that should fix the problem: 
https://github.com/rpm-software-management/dnf/pull/634
Comment 5 Łukasz Posadowski 2016-10-26 15:30:40 EDT
Thanks. I have the same problem in Rawhide. Either --nogpgcheck and gpgcheck=0 doesn't work.
Comment 6 Łukasz Posadowski 2016-11-16 23:52:59 EST
I see that it has been fixed on github, but version in the repo is still not working.

Note You need to log in before you can comment on or make changes to this bug.