Cannot perform software updates using software management

Issues related to applications and software problems and general support
Post Reply
changi2412
Posts: 1
Joined: 2022/01/25 07:59:03
Location: Johannesburg, South Africa

Cannot perform software updates using software management

Post by changi2412 » 2022/01/25 08:17:48

Hello everyone,

I trust that you all are doing well. I've recently installed the CentOS 8 Stream on my virtual machine and I've been trying to download the updates using the software management platform, but unfortunately I'm getting this type of error: "Unable to download updates: package libnghttp2-1.39.2-1.el.x86_64 cannot be verified and repo okay is GPG enabled: /var/cache/PackageKit/8/metadata/okay-8-x86_64/packages/libnghttp2-1.39.2-1.el8.x86_64.rpm could not be verified".
Can someone please help me solve this issue because I've googled this, but I couldn't find any reliable answer ?

Anyone's help will be much appreciated.

Thank you.

Kind regards,
Christian Hangi

User avatar
TrevorH
Site Admin
Posts: 33202
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Cannot perform software updates using software management

Post by TrevorH » 2022/01/25 10:36:24

"Unable to download updates: package libnghttp2-1.39.2-1.el.x86_64 cannot be verified and repo okay is GPG enabled: /var/cache/PackageKit/8/metadata/okay-8-x86_64/packages/libnghttp2-1.39.2-1.el8.x86_64.rpm could not be verified".
It means you have added a third party yum repo called 'okay' but there is a problem with its GPG key or the package mentioned is not signed with the correct key. This is a problem with that repo which has nothing to do with CentOS - either disable it or work out what is wrong with the GPG key or the package. The repo is not one that we generally recommend (but nor is it one that we run away from!).
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

Post Reply