5

I've completely purged Skype from ubuntu 20.04 since I kept receiving the following error whenever apt-get update and couldn't find a solution:

Err:4 https://repo.skype.com/deb stable InRelease                        
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 1F3045A5DF7587C3

Reading package lists... Done W: GPG error: https://repo.skype.com/deb stable InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 1F3045A5DF7587C3 E: The repository 'https://repo.skype.com/deb stable InRelease' is not signed.

Yet, I still receive the above error when apt-get update even though I've removed the public key, all Skype installs and Snaps.

What is going on?

2 Answers2

8

SOVLED:

sudo rm /etc/apt/sources.list.d/skype-stable.list
sudo rm /etc/apt/sources.list.d/skype-stable.save
3

1F3045A5DF7587C3 key is no longer valid which can be removed using apt-key del command.

Step 1: Delete the invalid key:

sudo apt-key del 1F3045A5DF7587C3

If anyone has Skype running but facing the signature verification error while running sudo apt update command then continue with the below steps.

Step 2: Add a valid key:

curl https://repo.skype.com/data/SKYPE-GPG-KEY | sudo apt-key add -

Step 3: Run the below commands:

sudo apt update

sudo apt upgrade

This error should be removed now!

Muniraj
  • 889
  • 1
  • 9
  • 11