Error when Updating XWiki

Hello,

I just tried updating the packages via sudo apt-get update and I get following Error:

W: Während der Überprüfung der Signatur trat ein Fehler auf. Das Depot wurde nicht aktualisiert und die vorherigen Indexdateien werden verwendet. GPG-Fehler: http://maven.xwiki.org stable/ Release: Die folgenden Signaturen konnten nicht überprüft werden, weil ihr öffentlicher Schlüssel nicht verfügbar ist: NO_PUBKEY F716794B93CC9C13

W: Fehlschlag beim Holen von http://maven.xwiki.org/stable/Release.gpg Die folgenden Signaturen konnten nicht überprüft werden, weil ihr öffentlicher Schlüssel nicht verfügbar ist: NO_PUBKEY F716794B93CC9C13

So it tells me that it can’t update because signatures couldn’t be verified. Can you tell me how to fix this problem? I am on Version 12.6.1 right now.

You need to make sure you use the right setup for the repository described on https://www.xwiki.org/xwiki/bin/view/Documentation/AdminGuide/Installation/InstallationViaAPT/#HAPTConfiguration.

I just tried that but once I hit update I still get the same error.

You should check if you have several xwiki related files in /etc/apt/sources.list.d/ and if you have only one could you show what it contains.

That directory contains 2 Files:
xwiki-stable.list & xwiki-stable.list.1

So I guess one of them is an old (bad) one, and it’s the one causing this warning.

I updated https://www.xwiki.org/xwiki/bin/view/Documentation/AdminGuide/Installation/InstallationViaAPT/#HAPTConfiguration to avoid this kind of mistake as much as possible.

So can I just delete the old one and then proceed with the update?

I would simply delete both files and re-download the standard one with the documented wget command.

1 Like