Yum update fails with error & cockpit unreachable externally

Would you please explain why did you installed it?

Install what? PHP 8? It was installed to be used by the webserver for a intranet site.

Cc @davidep we have an issue with the php80 of remi it seems

1 Like

Hello,

i got the same message, just can’t update with the same message, all other services are working.

Regards Gerald

OK
Total size: 96 M
Is this ok [y/d/N]: y
Downloading packages:
warning: /var/cache/yum/x86_64/7/nethserver-updates/packages/php80-php-cli-8.0.10-1.el7.remi.x86_64.rpm: Header V4 DSA/SHA1 Signature, key ID 00f97f56: NOKEY
Retrieving key from file:///etc/pki/rpm-gpg/RPM-GPG-KEY-NethServer-7


The GPG keys listed for the "NethServer-7.9.2009 - Updates" repository are already installed but they are not correct for this package.
Check that the correct key

Yesterday I released some RPM packages from the Remi repository to update the PHP 8.0 runtime.

In a such case the procedure is manual because it is rarely needed. I forgot to resign the RPMs. I apologize for the inconvenience.

The issue should be fixed in a few hours. Just wait for our mirrors to synchronize with packages.nethserver.org.

6 Likes

so, tried again today.
Unfortunately no change.

First
yum clean all
then
yum update, no changes.

Gerald

@gerald_FS would you please post the full output of yum update ?
http://mirror-status.nethserver.org/
As far as i can see the mirrors seems updated. So if there’s nothing wrong in your output, maybe @davidep should have a run to check the signatures and/or status release for the packages…

1 Like
last login: sat sep 11 13:57:40 2021 from 132.87.167.195.static.otenet.gr

************ welcome to nethserver ************

this is a nethserver installation.

before editing configuration files, be aware
of the automatic events and templates system.

      http://docs.nethserver.org

[root@scha-nethserver ~]# yum update
loaded plugins: changelog, fastestmirror, nethserver_events
loading mirror speeds from cached hostfile

  • ce-base: centos.mirror.server24.net
  • ce-extras: centos.mirror.server24.net
  • ce-sclo-rh: centos.mirror.server24.net
  • ce-sclo-sclo: centos.mirror.server24.net
  • ce-updates: centos.mirror.server24.net
  • epel: mirror.speedpartner.de
  • nethforge: mirror.alpix.eu
  • nethserver-base: mirror.alpix.eu
  • nethserver-updates: mirror.alpix.eu
  • stephdl: mirror.de-labrusse.fr
    resolving dependencies
    –> running transaction check
    —> package bind-export-libs.x86_64 32:9.11.4-26.p2.el7_9.5 will be updated
    —> package bind-export-libs.x86_64 32:9.11.4-26.p2.el7_9.7 will be an update
    —> package bind-libs.x86_64 32:9.11.4-26.p2.el7_9.5 will be updated
    —> package bind-libs.x86_64 32:9.11.4-26.p2.el7_9.7 will be an update
    —> package bind-libs-lite.x86_64 32:9.11.4-26.p2.el7_9.5 will be updated
    —> package bind-libs-lite.x86_64 32:9.11.4-26.p2.el7_9.7 will be an update
    —> package bind-license.noarch 32:9.11.4-26.p2.el7_9.5 will be updated
    —> package bind-license.noarch 32:9.11.4-26.p2.el7_9.7 will be an update
    —> package bind-utils.x86_64 32:9.11.4-26.p2.el7_9.5 will be updated
    —> package bind-utils.x86_64 32:9.11.4-26.p2.el7_9.7 will be an update
    —> package device-mapper-multipath.x86_64 0:0.4.9-134.el7_9 will be updated
    —> package device-mapper-multipath.x86_64 0:0.4.9-135.el7_9 will be an update
    —> package device-mapper-multipath-libs.x86_64 0:0.4.9-134.el7_9 will be updated
    —> package device-mapper-multipath-libs.x86_64 0:0.4.9-135.el7_9 will be an update
    —> package gd-last.x86_64 0:2.3.0-2.el7.remi will be updated
    —> package gd-last.x86_64 0:2.3.2-1.el7.remi will be an update
    —> package iscsi-initiator-utils.x86_64 0:6.2.0.874-20.el7_9 will be updated
    —> package iscsi-initiator-utils.x86_64 0:6.2.0.874-21.el7_9 will be an update
    —> package iscsi-initiator-utils-iscsiuio.x86_64 0:6.2.0.874-20.el7_9 will be updated
    —> package iscsi-initiator-utils-iscsiuio.x86_64 0:6.2.0.874-21.el7_9 will be an update
    —> package kernel.x86_64 0:3.10.0-1160.42.2.el7 will be installed
    —> package kernel-tools.x86_64 0:3.10.0-1160.36.2.el7 will be updated
    —> package kernel-tools.x86_64 0:3.10.0-1160.42.2.el7 will be an update
    —> package kernel-tools-libs.x86_64 0:3.10.0-1160.36.2.el7 will be updated
    —> package kernel-tools-libs.x86_64 0:3.10.0-1160.42.2.el7 will be an update
    —> package kpartx.x86_64 0:0.4.9-134.el7_9 will be updated
    —> package kpartx.x86_64 0:0.4.9-135.el7_9 will be an update
    —> package libx11.x86_64 0:1.6.7-3.el7_9 will be updated
    —> package libx11.x86_64 0:1.6.7-4.el7_9 will be an update
    —> package libx11-common.noarch 0:1.6.7-3.el7_9 will be updated
    —> package libx11-common.noarch 0:1.6.7-4.el7_9 will be an update
    —> package libzip5.x86_64 0:1.7.3-1.el7.remi will be updated
    —> package libzip5.x86_64 0:1.8.0-2.el7.remi will be an update
    –> processing dependency: libzstd(x86-64) >= 1.3.6 for package: libzip5-1.8.0-2.el7.remi.x86_64
    –> processing dependency: libzstd.so.1()(64bit) for package: libzip5-1.8.0-2.el7.remi.x86_64
    —> package nethserver-firewall-base.noarch 0:3.15.7-1.ns7 will be updated
    —> package nethserver-firewall-base.noarch 0:3.15.8-1.ns7 will be an update
    —> package oniguruma5php.x86_64 0:6.9.6-1.el7.remi will be updated
    —> package oniguruma5php.x86_64 0:6.9.7.1-1.el7.remi will be an update
    —> package openldap.x86_64 0:2.4.44-23.el7_9 will be updated
    —> package openldap.x86_64 0:2.4.44-24.el7_9 will be an update
    —> package openldap-clients.x86_64 0:2.4.44-23.el7_9 will be updated
    —> package openldap-clients.x86_64 0:2.4.44-24.el7_9 will be an update
    —> package php80-php-bcmath.x86_64 0:8.0.0-2.el7.remi will be updated
    —> package php80-php-bcmath.x86_64 0:8.0.10-1.el7.remi will be an update
    —> package php80-php-cli.x86_64 0:8.0.0-2.el7.remi will be updated
    —> package php80-php-cli.x86_64 0:8.0.10-1.el7.remi will be an update
    —> package php80-php-common.x86_64 0:8.0.0-2.el7.remi will be updated
    —> package php80-php-common.x86_64 0:8.0.10-1.el7.remi will be an update
    —> package php80-php-enchant.x86_64 0:8.0.0-2.el7.remi will be updated
    —> package php80-php-enchant.x86_64 0:8.0.10-1.el7.remi will be an update
    —> package php80-php-fpm.x86_64 0:8.0.0-2.el7.remi will be updated
    —> package php80-php-fpm.x86_64 0:8.0.10-1.el7.remi will be an update
    —> package php80-php-gd.x86_64 0:8.0.0-2.el7.remi will be updated
    —> package php80-php-gd.x86_64 0:8.0.10-1.el7.remi will be an update
    —> package php80-php-imap.x86_64 0:8.0.0-2.el7.remi will be updated
    —> package php80-php-imap.x86_64 0:8.0.10-1.el7.remi will be an update
    —> package php80-php-intl.x86_64 0:8.0.0-2.el7.remi will be updated
    —> package php80-php-intl.x86_64 0:8.0.10-1.el7.remi will be an update
    —> package php80-php-ldap.x86_64 0:8.0.0-2.el7.remi will be updated
    —> package php80-php-ldap.x86_64 0:8.0.10-1.el7.remi will be an update
    —> package php80-php-mbstring.x86_64 0:8.0.0-2.el7.remi will be updated
    —> package php80-php-mbstring.x86_64 0:8.0.10-1.el7.remi will be an update
    —> package php80-php-mysqlnd.x86_64 0:8.0.0-2.el7.remi will be updated
    —> package php80-php-mysqlnd.x86_64 0:8.0.10-1.el7.remi will be an update
    —> package php80-php-opcache.x86_64 0:8.0.0-2.el7.remi will be updated
    —> package php80-php-opcache.x86_64 0:8.0.10-1.el7.remi will be an update
    —> package php80-php-pdo.x86_64 0:8.0.0-2.el7.remi will be updated
    —> package php80-php-pdo.x86_64 0:8.0.10-1.el7.remi will be an update
    —> package php80-php-pecl-apcu.x86_64 0:5.1.19-1.el7.remi will be updated
    —> package php80-php-pecl-apcu.x86_64 0:5.1.20-1.el7.remi will be an update
    —> package php80-php-pecl-zip.x86_64 0:1.19.2-1.el7.remi will be updated
    —> package php80-php-pecl-zip.x86_64 0:1.19.4-1.el7.remi will be an update
    —> package php80-php-pgsql.x86_64 0:8.0.0-2.el7.remi will be updated
    —> package php80-php-pgsql.x86_64 0:8.0.10-1.el7.remi will be an update
    —> package php80-php-process.x86_64 0:8.0.0-2.el7.remi will be updated
    —> package php80-php-process.x86_64 0:8.0.10-1.el7.remi will be an update
    —> package php80-php-soap.x86_64 0:8.0.0-2.el7.remi will be updated
    —> package php80-php-soap.x86_64 0:8.0.10-1.el7.remi will be an update
    —> package php80-php-tidy.x86_64 0:8.0.0-2.el7.remi will be updated
    —> package php80-php-tidy.x86_64 0:8.0.10-1.el7.remi will be an update
    —> package php80-php-xml.x86_64 0:8.0.0-2.el7.remi will be updated
    —> package php80-php-xml.x86_64 0:8.0.10-1.el7.remi will be an update
    —> package python-perf.x86_64 0:3.10.0-1160.36.2.el7 will be updated
    —> package python-perf.x86_64 0:3.10.0-1160.42.2.el7 will be an update
    —> package virt-what.x86_64 0:1.18-4.el7 will be updated
    —> package virt-what.x86_64 0:1.18-4.el7_9.1 will be an update
    –> running transaction check
    —> package libzstd.x86_64 0:1.5.0-1.el7 will be installed
    –> finished dependency resolution

dependencies resolved

=================================================================================== package arch version repository size
===================================================================================installing:
kernel x86_64 3.10.0-1160.42.2.el7 ce-updates 50 m
updating:
bind-export-libs x86_64 32:9.11.4-26.p2.el7_9.7 ce-updates 1.1 m
bind-libs x86_64 32:9.11.4-26.p2.el7_9.7 ce-updates 157 k
bind-libs-lite x86_64 32:9.11.4-26.p2.el7_9.7 ce-updates 1.1 m
bind-license noarch 32:9.11.4-26.p2.el7_9.7 ce-updates 91 k
bind-utils x86_64 32:9.11.4-26.p2.el7_9.7 ce-updates 261 k
device-mapper-multipath x86_64 0.4.9-135.el7_9 ce-updates 148 k
device-mapper-multipath-libs
x86_64 0.4.9-135.el7_9 ce-updates 268 k
gd-last x86_64 2.3.2-1.el7.remi nethserver-updates 136 k
iscsi-initiator-utils x86_64 6.2.0.874-21.el7_9 ce-updates 423 k
iscsi-initiator-utils-iscsiuio
x86_64 6.2.0.874-21.el7_9 ce-updates 94 k
kernel-tools x86_64 3.10.0-1160.42.2.el7 ce-updates 8.1 m
kernel-tools-libs x86_64 3.10.0-1160.42.2.el7 ce-updates 8.0 m
kpartx x86_64 0.4.9-135.el7_9 ce-updates 81 k
libx11 x86_64 1.6.7-4.el7_9 ce-updates 607 k
libx11-common noarch 1.6.7-4.el7_9 ce-updates 164 k
libzip5 x86_64 1.8.0-2.el7.remi nethserver-updates 64 k
nethserver-firewall-base noarch 3.15.8-1.ns7 nethserver-updates 144 k
oniguruma5php x86_64 6.9.7.1-1.el7.remi nethserver-updates 205 k
openldap x86_64 2.4.44-24.el7_9 ce-updates 356 k
openldap-clients x86_64 2.4.44-24.el7_9 ce-updates 191 k
php80-php-bcmath x86_64 8.0.10-1.el7.remi nethserver-updates 85 k
php80-php-cli x86_64 8.0.10-1.el7.remi nethserver-updates 3.5 m
php80-php-common x86_64 8.0.10-1.el7.remi nethserver-updates 713 k
php80-php-enchant x86_64 8.0.10-1.el7.remi nethserver-updates 69 k
php80-php-fpm x86_64 8.0.10-1.el7.remi nethserver-updates 1.8 m
php80-php-gd x86_64 8.0.10-1.el7.remi nethserver-updates 90 k
php80-php-imap x86_64 8.0.10-1.el7.remi nethserver-updates 92 k
php80-php-intl x86_64 8.0.10-1.el7.remi nethserver-updates 196 k
php80-php-ldap x86_64 8.0.10-1.el7.remi nethserver-updates 90 k
php80-php-mbstring x86_64 8.0.10-1.el7.remi nethserver-updates 486 k
php80-php-mysqlnd x86_64 8.0.10-1.el7.remi nethserver-updates 196 k
php80-php-opcache x86_64 8.0.10-1.el7.remi nethserver-updates 542 k
php80-php-pdo x86_64 8.0.10-1.el7.remi nethserver-updates 130 k
php80-php-pecl-apcu x86_64 5.1.20-1.el7.remi nethserver-updates 72 k
php80-php-pecl-zip x86_64 1.19.4-1.el7.remi nethserver-updates 54 k
php80-php-pgsql x86_64 8.0.10-1.el7.remi nethserver-updates 122 k
php80-php-process x86_64 8.0.10-1.el7.remi nethserver-updates 89 k
php80-php-soap x86_64 8.0.10-1.el7.remi nethserver-updates 181 k
php80-php-tidy x86_64 8.0.10-1.el7.remi nethserver-updates 79 k
php80-php-xml x86_64 8.0.10-1.el7.remi nethserver-updates 177 k
python-perf x86_64 3.10.0-1160.42.2.el7 ce-updates 8.1 m
virt-what x86_64 1.18-4.el7_9.1 ce-updates 30 k
installing for dependencies:
libzstd x86_64 1.5.0-1.el7 epel 370 k

transaction summary
===================================================================================install 1 package (+1 dependent package)
upgrade 42 packages

total size: 89 m
is this ok [y/d/n]: y
downloading packages:
warning: /var/cache/yum/x86_64/7/nethserver-updates/packages/php80-php-cli-8.0.10-1.el7.remi.x86_64.rpm: header v4 dsa/sha1 signature, key id 00f97f56: nokey
retrieving key from file:///etc/pki/rpm-gpg/rpm-gpg-key-nethserver-7

the gpg keys listed for the “nethserver-7.9.2009 - updates” repository are already installed but they are not correct for this package.
check that the correct key urls are configured for this repository.

failing package is: php80-php-cli-8.0.10-1.el7.remi.x86_64
gpg keys are configured as: file:///etc/pki/rpm-gpg/rpm-gpg-key-nethserver-7

[root@scha-nethserver ~]#

IMVHO you still have php80-php-cli-8.0.10-1.el7.remi.x86_64.rpm into your local cache with the wrong signature… Not in the condition to try to replicate your scenario, sorry :frowning:

I’m getting the same error, even after clearing my cache, and clearing any possible conflicts regarding it looking at the wrong place, at least on my end.

Total                                                                                                                                                                     12 MB/s |  93 MB  00:00:07
Retrieving key from file:///etc/pki/rpm-gpg/RPM-GPG-KEY-NethServer-7


The GPG keys listed for the "NethServer-7.9.2009 - Updates" repository are already installed but they are not correct for this package.
Check that the correct key URLs are configured for this repository.


 Failing package is: php80-php-mbstring-8.0.10-1.el7.remi.x86_64
 GPG Keys are configured as: file:///etc/pki/rpm-gpg/RPM-GPG-KEY-NethServer-7

I can confirm it, I have the same error message.

1 Like

Thank you for confirming it! Yes the issue is still there.

My mistake, again. This time a bad directory authorization setup blocked the RPM signature fix, so my previous attempt was ineffective.

@bradjtrammell, @gerald_FS, please wait a few hours until mirrors are in-sync again (checking mirror-status as @pike suggested) then try again with the following commands

yum clean all
yum update

You were right!

Thank you all for helping me!

4 Likes

One hour is enough, it works.

Thank you!

1 Like

My two installs are still showing errors, most likely because the mirror it keeps choosing is nethesis-mirror.nokken.co.uk, which doesn’t appear to have synced in over 24 hours.

Also I host a repo for @stephdl, how would I go about doing the same for NethServer, as it wouldn’t be too difficult for me to setup a second US based repo for NethServer.

Yep.
image
25. Currently (21.51 CET).
Lovely would be to knock to the mantainer, hoping that the update may happen a bit more often…

How do I get my mirror listed? Turns out I did my inital sync a long time ago and forgot I did it. Looks like it syncs each hour.

That’s already been done. But it’s not listed in mirrormon. How do I get that listed, because there are no steps to get it listed.

So said NethBot…

The list of mirrors can be modified with a GitHub “pull request” (PR)

If you can already provide here the mirror URL, somebody else can open the PR for you :wink:

1 Like