Score:1

Error when updating in terminal

cn flag
rinka@rinka-pc:~$ sudo apt-get update
[sudo] password for rinka: 
Get:1 https://repo.steampowered.com/steam stable InRelease [2,852 B]
Err:1 https://repo.steampowered.com/steam stable InRelease                     
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY F24AEA9FB05498B7
Hit:2 http://archive.canonical.com/ubuntu focal InRelease                      
Get:3 http://ppa.launchpad.net/nilarimogard/webupd8/ubuntu focal InRelease [17.5 kB]
Hit:4 http://security.ubuntu.com/ubuntu focal-security InRelease               
Hit:5 http://ph.archive.ubuntu.com/ubuntu focal InRelease                      
Err:3 http://ppa.launchpad.net/nilarimogard/webupd8/ubuntu focal InRelease     
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 531EE72F4C9D234C
Hit:6 https://repo.protonvpn.com/debian stable InRelease
Hit:7 http://ph.archive.ubuntu.com/ubuntu focal-updates InRelease
Hit:8 http://ph.archive.ubuntu.com/ubuntu focal-backports InRelease
Reading package lists... Done
W: GPG error: https://repo.steampowered.com/steam stable InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY F24AEA9FB05498B7
E: The repository 'https://repo.steampowered.com/steam stable InRelease' is not signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: GPG error: http://ppa.launchpad.net/nilarimogard/webupd8/ubuntu focal InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 531EE72F4C9D234C
E: The repository 'http://ppa.launchpad.net/nilarimogard/webupd8/ubuntu focal InRelease' is not signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
rinka@rinka-pc:~$
Score:1
pg flag

from steam repo docs:

Download steam.gpg and copy it to /usr/share/keyrings/steam.gpg, example:

sudo mv -v ~/Downloads/steam.gpg /usr/share/keyrings/steam.gpg
Score:0
zw flag

You have to re-add expired GPG keys. Open terminal and type:

sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys F24AEA9FB05498B7 531EE72F4C9D234C

and then update package lists with

sudo apt-get update
Score:0
br flag

Since I can't edit answers yet, I'm just making a new answer.

As N0rbert said, expired GPG keys have to be re-added. This can be done by executing:

sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys F24AEA9FB05498B7 531EE72F4C9D234C

This should normally fix the problem. However, there is another problem, because this will add Steam's GPG key to /etc/apt/trusted.gpg, even though Steam's sources file (/etc/apt/sources.list.d/steam-stable.list) specifies to look for /usr/share/keyrings/steam.gpgsource. This can be fixed by executing:

sudo apt-key export B05498B7 | sudo gpg --dearmour -o /usr/share/keyrings/steam.gpg

I was having the same problem, and this seemed to fix it.

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.