[Bug 1063164] New: Zypper --gpg-auto-import-keys does not work
http://bugzilla.opensuse.org/show_bug.cgi?id=1063164 Bug ID: 1063164 Summary: Zypper --gpg-auto-import-keys does not work Classification: openSUSE Product: openSUSE Distribution Version: Leap 42.3 Hardware: Other OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: Installation Assignee: yast2-maintainers@suse.de Reporter: marco.varlese@suse.com QA Contact: jsrain@suse.com Found By: --- Blocker: --- First of all, I am not sure if this is a bug or I'm doing something wrong (or not doing enough). I'm adding a new repo via the command: sudo zypper --non-interactive --gpg-auto-import-keys ar --refresh -n CloudRepo http://download.opensuse.org/repositories/Cloud:/Tools/openSUSE_Leap_42.3/Cl... All looks good, however when I later on invoke the command: sudo zypper refresh I get the following issue Retrieving repository 'CloudRepo' metadata ---------------------------------------------------------------------------------------------------------------------------------------------------------------------[\] New repository or package signing key received: Repository: CloudRepo Key Name: Cloud OBS Project <Cloud@build.opensuse.org> Key Fingerprint: ACE2204F 418CFEB8 BF02ABF5 9338BC79 29DD7D91 Key Created: Wed 20 Sep 2017 05:28:52 PM CEST Key Expires: Fri 29 Nov 2019 04:28:52 PM CET Rpm Name: gpg-pubkey-29dd7d91-59c28934 Do you want to reject the key, trust temporarily, or trust always? [r/t/a/? shows all options] (r) I would have expected the --gpg-auto-import-keys to import the key and trust them? -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1063164 http://bugzilla.opensuse.org/show_bug.cgi?id=1063164#c1 Andreas Stieger <astieger@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |astieger@suse.com --- Comment #1 from Andreas Stieger <astieger@suse.com> --- This option is intended for the refresh operation. (zypper ref, not zypper ar --refresh) -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1063164 Andreas Stieger <astieger@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Component|Installation |libzypp Assignee|yast2-maintainers@suse.de |zypp-maintainers@forge.prov | |o.novell.com QA Contact|jsrain@suse.com |qa-bugs@suse.de -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1063164 http://bugzilla.opensuse.org/show_bug.cgi?id=1063164#c2 Michael Andres <ma@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |INVALID --- Comment #2 from Michael Andres <ma@suse.com> --- --gpg-auto-import-keys just tells to import a key IF the command is in need to do so. Adding a repo does not immediately download metadata (unless you inserted a CD/DVD). 'ar --refresh' turns on the autorefresh option for the repo, but it also does not perform a refresh. A key is usually fist 'seen' upon the first command that performs a refresh. So after adding a bunch of repos, you can call 'zypper --gpg-auto-import-keys refresh' to get any new key imported. -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com