Mailinglist Archive: opensuse-bugs (4037 mails)

< Previous Next >
[Bug 710351] New: osc fails to import rpm keys for repositories
  • From: bugzilla_noreply@xxxxxxxxxx
  • Date: Thu, 4 Aug 2011 12:48:43 +0000
  • Message-id: <>

Summary: osc fails to import rpm keys for repositories
Classification: openSUSE
Product: openSUSE 12.1
Version: Factory
Platform: Other
OS/Version: Other
Status: NEW
Severity: Normal
Priority: P5 - None
Component: Development
AssignedTo: suse-tux@xxxxxx
ReportedBy: idonmez@xxxxxxxxxx
QAContact: qa@xxxxxxx
Found By: ---
Blocker: ---

This seems to be a regression. How to reproduce

osc co openSUSE:Factory/joe
cd openSUSE:Factory/joe
osc build

Building joe.spec for standard/x86_64
Getting buildinfo from server and store to
Getting buildconfig from server and store to
Updating cache of required packages
0.0% cache miss. 111/111 dependencies cached.

Verifying integrity of cached packages
using keys from openSUSE:Factory
/kutu/tmp/osbuild-packagecache/openSUSE:Factory/_pubkey :failed to import
Traceback (most recent call last):
File "/suse/idoenmez/bin/osc", line 22, in <module>
r =
File "/kutu/stuff/Sources/osc/osc/", line 53, in run
return prg.main()
File "/kutu/stuff/Sources/osc/osc/", line 310, in main
return self.cmd(args)
File "/kutu/stuff/Sources/osc/osc/", line 333, in cmd
retval = self.onecmd(argv)
File "/kutu/stuff/Sources/osc/osc/", line 449, in onecmd
return self._dispatch_cmd(handler, argv)
File "/kutu/stuff/Sources/osc/osc/", line 1179, in _dispatch_cmd
return handler(argv[0], opts, *args)
File "/kutu/stuff/Sources/osc/osc/", line 4980, in do_build
return, opts, args)
File "/kutu/stuff/Sources/osc/osc/", line 771, in main
File "/kutu/stuff/Sources/osc/osc/", line 346, in verify_pacs
File "/kutu/stuff/Sources/osc/osc/", line 35, in readkeys
raise KeyError('', "no key imported")
osc.checker.KeyError: :no key imported

Problem seems to be in osc/ line 76:

r = self.ts.pgpImportPubkey(bkey)

where pgpImportPubkey functions returns failure.

Configure bugmail:
------- You are receiving this mail because: -------
You are on the CC list for the bug.

< Previous Next >
Follow Ups