[Bug 539555] New: zypper ignores the --no-gpg-checks option
http://bugzilla.novell.com/show_bug.cgi?id=539555 Summary: zypper ignores the --no-gpg-checks option Classification: openSUSE Product: openSUSE 11.2 Version: Milestone 7 Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: libzypp AssignedTo: zypp-maintainers@forge.provo.novell.com ReportedBy: estellnb@gmail.com QAContact: qa@suse.de Found By: --- User-Agent: Mozilla/5.0 (compatible; Konqueror/3.5; Linux) KHTML/3.5.10 (like Gecko) SUSE Having desparately tried to set up an own repo I have always run into the same problem (using gpg1, gpg2 with different key length):
zypper --no-gpg-checks refresh -r Xorg-anc Metadaten von Repository 'Xorg-anc' werden abgerufen [Fehler] Repository 'Xorg-anc' ist ungültig. File /var/tmp/TmpFile.3ui7B2 doesn't contain public key data Bitte überprüfen Sie, ob die für dieses Repository bestimmten URIs zu einem gültigen Repository verweisen. Repository 'Xorg-anc' wird aufgrund des obigen Fehlers übersprungen. Die Repositories konnten aufgrund von Fehlern nicht aktualisiert werden.
The test repo is online under http://www.elstel.com/xorg-repo. I wonder why it apparently can not access my repomd.xml.key. It should not check for the key at all if --no-gpg-checks is specified! Reproducible: Always -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=539555
User estellnb@gmail.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=539555#c1
--- Comment #1 from Elmar Stellnberger ATK
http://bugzilla.novell.com/show_bug.cgi?id=539555
User estellnb@gmail.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=539555#c2
--- Comment #2 from Elmar Stellnberger ATK
http://bugzilla.novell.com/show_bug.cgi?id=539555
User estellnb@gmail.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=539555#c3
--- Comment #3 from Elmar Stellnberger ATK
http://bugzilla.novell.com/show_bug.cgi?id=539555
User ma@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=539555#c4
Michael Andres
The test repo is online under http://www.elstel.com/xorg-repo.
Hobbes says 404. If you attach the repomd.xml.key, we can try to figure out why the file is rejected. If there is a key file, the parser expects it to contain a valid key, even if it is not used for any check. But the parser is not able to identify the files contant as a public keys data.
I would prefer --no-gpg-checks to be a local option as for YUM, because
Looks like zypper dos not allow to modify this repo option. Meanwhile you could add a line gpgcheck=0 to the repo file in /etc/zypp/repos.d. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=539555
User estellnb@gmail.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=539555#c5
Elmar Stellnberger ATK
https://bugzilla.novell.com/show_bug.cgi?id=539555
https://bugzilla.novell.com/show_bug.cgi?id=539555#c6
Dominik Heidler
participants (1)
-
bugzilla_noreply@novell.com