Bug 1047285

Summary: Tumbleweed wine repository - Key is being asked all the time
Product: [openSUSE] openSUSE Tumbleweed Reporter: Maik Wagner <mail>
Component: Upgrade ProblemsAssignee: E-mail List <bnc-team-screening>
Status: RESOLVED FIXED QA Contact: Jiri Srain <jsrain>
Severity: Normal    
Priority: P5 - None CC: fvogt, mail
Version: Current   
Target Milestone: ---   
Hardware: x86-64   
OS: Other   
URL: http://download.opensuse.org/repositories/Emulators:/Wine/openSUSE_Tumbleweed/
Whiteboard:
Found By: Other Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: zypper.log

Description Maik Wagner 2017-07-05 07:36:51 UTC
Hello everyone,

First thing in the morning that I am doing is to do a zypper dup with my Tumbleweed system. 

I have added the wine-Repository and can get the lastest versions of wine okay but always need to accept the key even though I set the key to be trusted forever.

Can you have a look into this please?
Comment 1 Fabian Vogt 2017-07-05 10:49:24 UTC
Sounds like the same issue that also happens to KDE:Extra.

*** This bug has been marked as a duplicate of bug 1036659 ***
Comment 2 Michael Andres 2017-07-05 11:22:33 UTC
@MaiK: Please tell us at least which wine repo you are using (URL), so we have a chance to reproduce this. Attaching your /var/log/zypper.log would be helpfull as well.
Comment 3 Maik Wagner 2017-07-05 11:29:38 UTC
(In reply to Michael Andres from comment #2)
> @MaiK: Please tell us at least which wine repo you are using (URL), so we
> have a chance to reproduce this. 

It is the following URL: 

http://download.opensuse.org/repositories/Emulators:/Wine/openSUSE_Tumbleweed/
Comment 4 Maik Wagner 2017-07-05 11:31:15 UTC
Created attachment 731235 [details]
zypper.log
Comment 5 Maik Wagner 2017-07-06 07:53:02 UTC
This is the message I keep getting:

Neuen Signierungsschlüssel für Repository oder Paket erhalten:

  Repository:               openSUSE Wine Tumbleweed                            
  Name des Schlüssels:      Emulators OBS Project <Emulators@build.opensuse.org>
  Schlüssel-Fingerabdruck:  09E25809 9B678BCA 07F848C5 8E5578B7 233AB63D        
  Schlüssel erstellt:       Di 07 Feb 2017 10:53:32 CET                         
  Ablauf des Schlüssels:    Do 18 Apr 2019 11:53:32 CEST                        
  RPM-Name:                 gpg-pubkey-233ab63d-5899991c                        


Wollen Sie den Schlüssel abweisen, ihm temporär oder immer vertrauen? [a/t/i/? zeigt alle Optionen] (a):
Comment 7 Michael Andres 2017-07-06 10:46:39 UTC
@Maik: According to the log zypper calls 'rpm --import' to import the key and rpm returns no error. Nevertheless the next call to rpm does not find the key.

Please execute as root: rpm --rebuilddb

Does this resolve the issue? 
Might be that you're asked one more time to accept the key, but this time the decission should be remembered. If not, please attach the lates zypper log.
Comment 8 Maik Wagner 2017-07-06 10:56:30 UTC
(In reply to Michael Andres from comment #7)
> Please execute as root: rpm --rebuilddb
> 
> Does this resolve the issue? 

I just executed the command (as root) and let you know if this solves the problem.
Comment 9 Maik Wagner 2017-07-10 06:44:29 UTC
Dear Michael,

(In reply to Michael Andres from comment #7)
> Please execute as root: rpm --rebuilddb
> 
> Does this resolve the issue? 

I had two updates of wine in the meantime and I haven't been asked to confirm the key again. The command solved my issue and I am marking this as fixed.