Issue with APT repository

I went to update our XWiki instance but I’m having trouble updating packages from the apt repository.

I have already verified that my xwiki-lts.list and xwiki-keyring.gpg match what is on the server.

$ sudo apt update
Get:1 http://security.ubuntu.com/ubuntu jammy-security InRelease [129 kB]
Hit:2 http://archive.ubuntu.com/ubuntu jammy InRelease
Ign:3 http://maven.xwiki.org lts/ InRelease
Get:4 http://maven.xwiki.org lts/ Release [1,304 B]
Get:5 http://archive.ubuntu.com/ubuntu jammy-updates InRelease [128 kB]
Ign:6 http://archive.ubuntu.com/ubuntu jammy-backports InRelease
Ign:7 http://maven.xwiki.org lts/ Release.gpg
Get:7 http://maven.xwiki.org lts/ Release.gpg [488 B]
Err:7 http://maven.xwiki.org lts/ Release.gpg
  The following signatures were invalid: BADSIG F716794B93CC9C13 XWiki Dev Team <committers@xwiki.org>

Works fine for me. The key changed a very long time ago, but maybe you did not execute apt-update since a very long time ? You should probably try to redo the repository setup to be sure you are using an up-to-date key.

I was able to resolve this with apt-get clean.

Apologies for unnecessary post.