Dario Lesca wrote:
https://discussion.fedoraproject.org/t/dnf-update-failed-skype-gpg-key-expir...
sudo rm /etc/yum.repos.d/skype-stable.repo rpm -qa gpg-pubkey --qf "gpg-pubkey-%{version}-%{release} %{summary}\n" sudo rpm -e gpg-pubkey-df7587c3-576a5c23 sudo rpm -e gpg-pubkey-df7587c3-576a5c23 sudo curl -o /etc/yum.repos.d/skype-stable.repo https://repo.skype.com/rpm/stable/skype-stable.repo dnf clean all sudo dnf update skypeforlinux -y sudo dnf install skypeforlinux -y
That's a lot more work than necessary. :)
All that's really needed is:
rpm -e gpg-pubkey-df7587c3-576a5c23 dnf upgrade skypeforlinux
It's also worth noting that `update` is a deprecated alias for `upgrade` in dnf. It's best to get out of the habit of using it, should it eventually be removed. :)