Mailinglist Archive: zypp-devel (149 mails)

< Previous Next >
[zypp-devel] libzypp-binding-python: gpgCheck(False) has no effect ?
  • From: "Jan-Simon Möller" <dl9pf@xxxxxx>
  • Date: Wed, 3 Sep 2008 11:21:54 +0200
  • Message-id: <200809031121.54771.dl9pf@xxxxxx>
Hi and moin moin !

I'm playing again with libzypp/python.

See the test1.py (lots of comments, but i need to remember later :D).

I've a local obs instance mirrored at http://localhost/. The repo is at
http://localhost/software_from_lire/base_factory/
[DIR] Parent Directory -
[DIR] i586/ 03-Jul-2008 13:57 -
[DIR] noarch/ 03-Jul-2008 13:30 -
[DIR] nosrc/ 03-Jul-2008 13:26 -
[DIR] repodata/ 03-Jul-2008 13:57 -
[ ] software_from_lire.repo 03-Jul-2008 13:57 220
[DIR] src/

In the repoinfo I set gpgCheck to False.
If I add this repoinfo it works, but then:
myrepomanager.refreshMetadata(myrepoinfo)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/home/dl9pf/pfx/lib64/python/site-packages/zypp.py", line 1609, in
refreshMetadata
def refreshMetadata(*args): return _zypp.RepoManager_refreshMetadata(*args)
RuntimeError: History:
- Signature verification failed for repomd.xml
Valid metadata not found at specified URL(s)


Any idea ? What did I miss ?

Best regards,
Jan-Simon
< Previous Next >
Follow Ups