On 11/12/2010 11:06 AM, Roger Oberholtzer wrote:
I am trying to run zypper in a non-interactive script. I have an issue with keys for repos I add and then use:
New repository or package signing key received: Key ID: CC7F07489591C39B Key Name: Application:Geo OBS Project <Application:Geo@build.opensuse.org> Key Fingerprint: 195E211106BC205D2A9C2222CC7F07489591C39B Repository: openSUSE BuildService - Application:Geo
Do you want to reject the key, trust temporarily, or trust always? [r/t/a/?] (r): r Warning: Disabling repository 'openSUSE BuildService - Application:Geo' because of the above error.
I looked at the man page (the whole thing this time) and do not see (recognize) an option to tell zypper to accept the keys. It just takes the default option, which is to reject them. Is there a way yo have zypper accept them that can be enabled via the command line?
Hi, found this in the man page. --gpg-auto-import-keys If new repository signing key is found, do not ask what to do; trust and import it automatically. This option causes that the new key is imported also in non-interactive mode, where it would otherwise got rejected. But I never used it. greetings Chris -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org