• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Resolved update failed GPG error

fgavois

New Pleskian
I was doing an apt-get update, and got some weird errors :

apt-get update
Ign:1 Index of /debian/ stretch InRelease
Get:2 Index of /debian/ stretch-updates InRelease [93.6 kB]
Hit:3 Index of /debian-security stretch/updates InRelease
Get:4 Index of /debian/ stretch Release [118 kB]
Get:5 Index of /debian/ ovhkernel InRelease [4,957 B]
Hit:6 Index of linux/debian/ stretch InRelease
Hit:7 https://packages.grafana.com/oss/deb stable InRelease
Hit:8 Index of /NODE_0.0.2 all InRelease
Hit:9 Index of /PMM_0.1.11 stretch InRelease
Hit:10 Index of /RUBY_0.0.2 stretch InRelease
Hit:11 Index of /debian/PMM_0.1.10 stretch InRelease
Hit:12 Index of /pool/PSA_18.0.34_5691 stretch InRelease
Hit:13 Index of /debian/PHP70_17 stretch InRelease
Hit:14 Index of /pool/PHP_7.1.33_96 stretch InRelease
Hit:15 Index of /pool/PHP_7.2.34_150 stretch InRelease
Hit:16 Index of /PHP73_17 stretch InRelease
Hit:17 Index of /mariadb/repo/10.4/debian buster InRelease
Hit:20 Index of /imunify360/debian/9/ stretch InRelease
Hit:21 Index of /mariadb/repo/10.4/debian/ buster InRelease
Get:19 Index of /kernelcare-debian/6/ stable InRelease [1,857 B]
Ign:19 Index of /kernelcare-debian/6/ stable InRelease
Fetched 218 kB in 2s (93.1 kB/s)
Reading package lists... Done
W: GPG error: Index of /kernelcare-debian/6/ stable InRelease: The following signatures were invalid: E58FE9B3FE3B0470525159BD6DC3D600CDEF74BB
W: The repository 'Index of /kernelcare-debian/6/ stable InRelease' is not signed.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.

Can you help me?
 
Looks like KernelCare repository is no longer used but still enabled.
Move the KernelCare repository file: /etc/apt/sources.list.d/kcare.list:

# mv /etc/apt/sources.list.d/kcare.list /etc/apt/sources.list.d/kcare.list.bk

Refresh packages info:

# apt update
 
Back
Top