Upgrading SKYPE

I have updated my OS from Fedora 37 to 39.

I have SKYPE installed and dnfdragora wants to upgrade SKYPE but comes up with a problem

‘\n\n\nThe GPG keys listed for the “skype (stable)” repository are already installed but they are not correct for this package.\nCheck that the correct key URLs are configured for this repository.Failing package is: skypeforlinux-\n GPG Keys are configured as: [https://repo.skype.com/data/SKYPE-GPG-KEY\n’]
I do not know how to fix this problem. Advice would be appreciated.

You probably still have the old gpg key installed. Microsoft changed that some time this or last year.

list all imported gpg keys:

sudo rpm -qa gpg-pubkey\* | grep df7587c3

it should return something like gpg-pubkey-df7587c3-576a5c23

to remove the old key (make sure to match the filename from previous command):

sudo rpm --erase gpg-pubkey-df7587c3-576a5c23

import new key:

sudo dnf install distribution-gpg-keys
sudo rpm --import /usr/share/distribution-gpg-keys/skype/SKYPE-GPG-KEY

related documentation page: Installing Skype on Fedora :: Fedora Docs

1 Like

Thank you - that did it!
Everything I had tried earlier told me that the key was already installed - which implied that I had nothing to do.
Thanks again

Please mark the actual answer that was helpful as the solution rather than your own comment on it. This way, it is immediately visible and accessible to other users.