Score:0

sudo apt update An error occurred during the signature verification

cn flag

How do I solve this sudo apt update error?

Err:9 http://download.opensuse.org/repositories/home:/pzz/xUbuntu_20.04  InRelease
  The following signatures were invalid: EXPKEYSIG 23E07629B9E3C9E4 home:pzz OBS Project <home:[email protected]>
Fetched 2,441 B in 3s (819 B/s)
Reading package lists... Done
Building dependency tree       
Reading state information... Done
19 packages can be upgraded. Run 'apt list --upgradable' to see them.
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://download.opensuse.org/repositories/home:/pzz/xUbuntu_20.04  InRelease: The following signatures were invalid: EXPKEYSIG 23E07629B9E3C9E4 home:pzz OBS Project <home:[email protected]>
W: Failed to fetch http://download.opensuse.org/repositories/home:/pzz/xUbuntu_20.04/InRelease  The following signatures were invalid: EXPKEYSIG 23E07629B9E3C9E4 home:pzz OBS Project <home:[email protected]>
W: Some index files failed to download. They have been ignored, or old ones used instead.

I have tried solutions from post How do I fix the GPG error "NO_PUBKEY"? but they did not work:

$ sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 23E07629B9E3C9E4
[sudo] password for master: 
Executing: /tmp/apt-key-gpghome.QYq1pmnpyE/gpg.1.sh --keyserver keyserver.ubuntu.com --recv-keys 23E07629B9E3C9E4
gpg: keyserver receive failed: Server indicated a failure
$ gpg --keyserver hkp://keyserver.ubuntu.com:80 --recv ^C
$ 23E07629B9E3C9E4^C
$ gpg --keyserver hkp://keyserver.ubuntu.com:80 --recv 23E07629B9E3C9E4
gpg: keyserver receive failed: No data
Kulfy avatar
mz flag
Not a duplicate: The target Q&A addresses the absence of key, however, here key is expired. Here [The following signatures were invalid: EXPKEYSIG 1397BC53640DB551](https://askubuntu.com/q/1133199/816190) is related Q&A, I believe.
Score:1
zw flag

You have added some thirdparty repository to the system. For now its key is expired.

So you have to disable this repository using Software & Updates.

Sun Bear avatar
cn flag
It worked. But how do i actually fix the invalid key issue? Is this something for me to do or for the software developer to fix?
N0rbert avatar
zw flag
Fix from software developer is needed.
Sun Bear avatar
cn flag
Noted. I will inform the developer.
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.