Mailinglist Archive: zypp-devel (21 mails)

< Previous Next >
Re: [zypp-devel] How to use libzypp-bindings to create a sysroot from a repo? (fixed in 0.5.5)
  • From: Michael Andres <ma@xxxxxxx>
  • Date: Fri, 22 Oct 2010 14:18:25 +0200
  • Message-id: <>
On Friday 22 October 2010 10:19:31 Michael Andres wrote:
On Friday 22 October 2010 09:30:08 Yang, Yi Y wrote:
How to let RepoManager use setDefaultAccept to accept unsigned file and
verification failure, my issue is it still deny to build repo cache
although I have set default accept.

Try setting


The above will work too, but may not be what you want. Back to your code:

zypp.KeyRing.setDefaultAccept( zypp.KeyRing.ACCEPT_UNSIGNED_FILE

If your repo is unsigned (no repomd.xml.asc / repomd.xml.key)

But if your repo is signed the 1st question is whether to trust an unknown key
or not. The 2nd question is how to handle a failed verification

So you should also set one out of:

TRUST_KEY_TEMPORARILY (for this session only)
TRUST_AND_IMPORT_KEY (permanently import to rpmdb)


Michael Andres

Key fingerprint = 2DFA 5D73 18B1 E7EF A862 27AC 3FB8 9E3A 27C6 B0E4
Michael Andres ZYPP Development ma@xxxxxxx
SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nuernberg)
Maxfeldstrasse 5, D-90409 Nuernberg, Germany, ++49 (0)911 - 740 53-0

To unsubscribe, e-mail: zypp-devel+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: zypp-devel+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups