Some time ago I’ve noticed that Skype UI on my Ubuntu machine was insisting on the need to apply updates constantly, and required message was in place in spite of running sudo apt update / sudo apt upgrade. After looking more carefully at sudo apt update output it turned out to be an issue with repository signature:
Exact error message text was the following:
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.skype.com/deb stable InRelease: The following signatures were invalid: EXPKEYSIG 1F3045A5DF7587C3 Skype Linux Client Repository <se-um@microsoft.com> W: Failed to fetch https://repo.skype.com/deb/dists/stable/InRelease The following signatures were invalid: EXPKEYSIG 1F3045A5DF7587C3 Skype Linux Client Repository <se-um@microsoft.com> W: Some index files failed to download. They have been ignored, or old ones used instead.
To resolve this problem it is necessary to perform the following steps:
1) Delete incorrect signature key:
sudo apt-key del 1F3045A5DF7587C3
2) Re-add new valid key:
curl https://repo.skype.com/data/SKYPE-GPG-KEY | sudo apt-key add -
3) Re-run apt update and apt upgrade:
sudo apt update && sudo apt upgrade
That should remove Skype update errors.
2 Comments
Thanks Mike – that worked a treat. It’s been bugging me on my elementaryOS system for ages – every time I do updates through the appstore, I get a failed to fetch updates message. I’ve been ignoring it most times – only checking every few days to make sure it’s ONLY skype that is causing the problem. But I did have to keep checking, just in case there were any other problems. I tried uninstalling skype and added the snapstore version – but still the same issue. So today I’ve learned a new unix command as well. What’s not to like?
Awesome, thanks Mike! Fixed that annoying issue!