Score:2

Update error after uninstalling Steam with apt

cd flag

I use Kubuntu 23.04

After unisinstalling steam with "sudo apt remove steam*" and then "sudo apt autoremove", I want to update the system with the classic "sudo apt update, sudo apt upgrade and sudo apt autoremove" but when I write "sudo apt update" I got this:

sudo apt update 

Hit:1 http://it.archive.ubuntu.com/ubuntu lunar InRelease
Hit:2 http://it.archive.ubuntu.com/ubuntu lunar-updates InRelease                                                                                    
Hit:3 http://it.archive.ubuntu.com/ubuntu lunar-backports InRelease                                                                                  
Hit:4 https://dl.google.com/linux/chrome/deb stable InRelease                                                    
Hit:5 http://security.ubuntu.com/ubuntu lunar-security InRelease                                                 
Hit:6 https://repo.steampowered.com/steam stable InRelease    
Err:6 https://repo.steampowered.com/steam stable InRelease
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY F24AEA9FB05498B7
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
All packages are up to date.
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. 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
W: Failed to fetch https://repo.steampowered.com/steam/dists/stable/InRelease  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY F24AEA9FB05498B7
W: Some index files failed to download. They have been ignored, or old ones used instead.

How can I fix it ?

uz flag
Jos
You removed Steam, but you are still trying to update the package lists of Steam. Remove the `steampowered.com` repo from your `/etc/apt/sources.list.d`.
Talaat Etman avatar
gt flag
see this answer https://askubuntu.com/a/1350855/1698042
m615 avatar
cd flag
When I go to /etc/apt/sources.list.d I have: google-chrome.list steam-beta.list steam-stable.list. Which one should I delete ?
us flag
@m615 Of course, the two corresponding to steam.
m615 avatar
cd flag
I deleted the two, now It's all ok! THANKS guys! I fixed.
I sit in a Tesla and translated this thread with Ai:

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.