No software updates and no applications

I lost power to my nethserver and when it booted up I see

Other than this, it seems to be working OK - any ideas?

Many thanks

Andrew

NethServer Version: 7.9.2009
Module: cockpit

Maybe incomplete repo metadata?

Go to the terminal and run

yum clean all

Tried that and then rebooted. Same result although something was happening as the progress circle on both areas spun around for a couple of minutes

Does this happen to be on your Raspberry PI?

We had troubles with the repodata / metadata for arm (the data yum reads from the software repository)

@davidep was so kind to rebuild this repodata during his holiday, and it works as expected again on arm.

Yes @mark_nl this is on my pi! I reinstalled the OS and all is good again but I suspect that’s just because it took me a long time to get it running again :slight_smile:

I have the same thing happening again on my new installation which is now booting from USB. Same issue?

I’m afraid not… can not reproduce
The repodata looks good and has not changed since 28-12-2020 10:52 (CET).

Did you try the reload button in the software center?

alternatively you may check it in the terminal:

[root@rpi4 ~]# yum clean all && yum makecache
Loaded plugins: changelog, fastestmirror, nethserver_events
Cleaning repos: ce-base ce-extras ce-sclo-rh ce-sclo-sclo ce-updates centos-kernel epel nethforge nethserver-base nethserver-updates
Cleaning up list of fastest mirrors
Loaded plugins: changelog, fastestmirror, nethserver_events
Determining fastest mirrors
....
<TRUNCATED OUTPUT>                                                                               
....
Metadata Cache Created

[root@rpi4 ~]# yum --disablerepo=* --enablerepo=nethserver-updates groups list
Loaded plugins: changelog, fastestmirror, nethserver_events
Loading mirror speeds from cached hostfile
Installed Groups:
   Email
   MariaDB (MySQL) server
   New Server Manager (Beta)
   Statistics
Available Groups:
   Backup
   Basic firewall
   Dedalo Hotspot
   Dutch language
   FTP server
   Fail2ban
   File server
   French language
   German language
   Greek language
   Hungarian language
   IPsec tunnels
   Intrusion Prevention System
   Italian language
   OpenVPN
   POP3 connector
   POP3 proxy
   Portuguese language
   Reverse proxy
   Romanian language
   Roundcube web mail
   Russian language
   SMTP proxy
   SNMP server
   Serbian language
   Spanish language
   Turkish language
   Web filter
   Web proxy
   Web server
Done

Hi All!
I have same problem on my Orange Pi PC plus

[root@srv00 yum.repos.d]# yum clean all && yum makecache
Metadata Cache Created

[root@srv00 yum.repos.d]# yum update
Loaded plugins: changelog, fastestmirror, nethserver_events
Loading mirror speeds from cached hostfile

  • centos-kernel: mirror.truenetwork.ru
    Resolving Dependencies
    → Running transaction check
    —> Package arp-scan.armv7hl 0:1.9.2-1.el7 will be updated
    —> Package arp-scan.armv7hl 0:1.9.7-3.el7 will be an update
    —> Package bind-export-libs.armv7hl 32:9.11.4-16.P2.el7_8.3 will be updated
    —> Package bind-export-libs.armv7hl 32:9.11.4-16.P2.el7_8.6 will be an update
    —> Package bind-libs.armv7hl 32:9.11.4-16.P2.el7_8.3 will be updated
    —> Package bind-libs.armv7hl 32:9.11.4-16.P2.el7_8.6 will be an update
    —> Package bind-libs-lite.armv7hl 32:9.11.4-16.P2.el7_8.3 will be updated
    —> Package bind-libs-lite.armv7hl 32:9.11.4-16.P2.el7_8.6 will be an update
    —> Package bind-license.noarch 32:9.11.4-16.P2.el7_8.3 will be updated
    —> Package bind-license.noarch 32:9.11.4-16.P2.el7_8.6 will be an update
    —> Package bind-utils.armv7hl 32:9.11.4-16.P2.el7_8.3 will be updated
    —> Package bind-utils.armv7hl 32:9.11.4-16.P2.el7_8.6 will be an update
    —> Package ca-certificates.noarch 0:2019.2.32-76.el7_7 will be updated
    —> Package ca-certificates.noarch 0:2020.2.41-70.0.el7_8 will be an update



—> Package systemd-libs.armv7hl 0:219-73.el7_8.6 will be updated
—> Package systemd-libs.armv7hl 0:219-73.el7_8.9 will be an update
—> Package systemd-sysv.armv7hl 0:219-73.el7_8.6 will be updated
—> Package systemd-sysv.armv7hl 0:219-73.el7_8.9 will be an update
→ Finished Dependency Resolution

Dependencies Resolved

==============================================================================================================================================================================================================================================
Package Arch Version Repository Size

Installing:
kernel armv7hl 5.4.72-200.el7 centos-kernel 3.6 k
kernel-core armv7hl 5.4.72-200.el7 centos-kernel 30 M
kernel-modules armv7hl 5.4.72-200.el7 centos-kernel 19 M
python2-httplib2 noarch 0.18.1-3.el7 epel 124 k
replacing python-httplib2.noarch 0.9.2-1.el7
python2-lockfile noarch 1:0.11.0-17.el7 epel 28 k
replacing python-lockfile.noarch 1:0.9.1-4.el7.centos
Updating:
arp-scan armv7hl 1.9.7-3.el7 epel 384 k
bind-export-libs armv7hl 32:9.11.4-16.P2.el7_8.6 ce-updates 1.0 M
bind-libs armv7hl 32:9.11.4-16.P2.el7_8.6 ce-updates 149 k
bind-libs-lite armv7hl 32:9.11.4-16.P2.el7_8.6 ce-updates 1.0 M
bind-license noarch 32:9.11.4-16.P2.el7_8.6 ce-updates 90 k
bind-utils armv7hl 32:9.11.4-16.P2.el7_8.6 ce-updates 262 k
ca-certificates noarch 2020.2.41-70.0.el7_8 ce-updates 382 k
certbot noarch 1.10.1-1.el7 epel 45 k
curl armv7hl 7.29.0-57.el7_8.1 ce-updates 266 k
dbus armv7hl 1:1.10.24-14.el7_8 ce-updates 231 k
dbus-libs armv7hl 1:1.10.24-14.el7_8 ce-updates 150 k
jq armv7hl 1.6-2.el7 epel 164 k
kernel-tools armv7hl 5.4.72-200.el7 centos-kernel 94 k
kernel-tools-libs armv7hl 5.4.72-200.el7 centos-kernel 12 k
libcurl armv7hl 7.29.0-57.el7_8.1 ce-updates 205 k
libgudev1 armv7hl 219-73.el7_8.9 ce-updates 105 k




                                  noarch                                        0.9.0-3.el7                                                    epel                                                      34 k

python-sssdconfig noarch 1.16.4-37.el7_8.4 ce-updates 169 k
python2-acme noarch 1.10.1-1.el7 epel 81 k
python2-certbot noarch 1.10.1-1.el7 epel 384 k
python2-configargparse noarch 0.11.0-2.el7 epel 29 k
python2-google-api-client noarch 1.6.3-2.el7 epel 86 k
python2-oauth2client noarch 4.0.0-3.el7 epel 143 k
python2-rsa noarch 3.4.2-1.el7 epel 67 k
python2-uritemplate noarch 3.0.1-1.el7 epel 24 k
rsyslog armv7hl 8.24.0-52.el7_8.2 ce-updates 600 k
selinux-policy noarch 3.13.1-266.el7_8.1 ce-updates 497 k
selinux-policy-targeted noarch 3.13.1-266.el7_8.1 ce-updates 7.0 M
sssd armv7hl 1.16.4-37.el7_8.4 ce-updates 142 k
sssd-ad armv7hl 1.16.4-37.el7_8.4 ce-updates 271 k
sssd-client armv7hl 1.16.4-37.el7_8.4 ce-updates 205 k
sssd-common armv7hl 1.16.4-37.el7_8.4 ce-updates 1.4 M
sssd-common-pac armv7hl 1.16.4-37.el7_8.4 ce-updates 211 k
sssd-ipa armv7hl 1.16.4-37.el7_8.4 ce-updates 359 k
sssd-krb5 armv7hl 1.16.4-37.el7_8.4 ce-updates 183 k
sssd-krb5-common armv7hl 1.16.4-37.el7_8.4 ce-updates 213 k
sssd-ldap armv7hl 1.16.4-37.el7_8.4 ce-updates 236 k
sssd-proxy armv7hl 1.16.4-37.el7_8.4 ce-updates 176 k
systemd armv7hl 219-73.el7_8.9 ce-updates 4.7 M
systemd-libs armv7hl 219-73.el7_8.9 ce-updates 384 k
systemd-sysv armv7hl 219-73.el7_8.9 ce-updates 94 k

Transaction Summary

Install 5 Packages
Upgrade 66 Packages

Total download size: 80 M
Is this ok [y/d/N]: y
Downloading packages:
No Presto metadata available for epel
No Presto metadata available for nethserver-updates
No Presto metadata available for ce-updates
No Presto metadata available for centos-kernel
warning: /var/cache/yum/armhfp/7/ce-updates/packages/bind-libs-9.11.4-16.P2.el7_8.6.armv7hl.rpm: Header V3 RSA/SHA256 Signature, key ID 62505fe6: NOKEY ] 0.0 B/s | 288 kB --:–:-- ETA
Public key for bind-libs-9.11.4-16.P2.el7_8.6.armv7hl.rpm is not installed
(1/71): bind-libs-9.11.4-16.P2.el7_8.6.armv7hl.rpm | 149 kB 00:00:01
(2/71): arp-scan-1.9.7-3.el7.armv7hl.rpm | 384 kB 00:00:02
(3/71): bind-export-libs-9.11.4-16.P2.el7_8.6.armv7hl.rpm | 1.0 MB 00:00:03
(4/71): bind-libs-lite-9.11.4-16.P2.el7_8.6.armv7hl.rpm | 1.0 MB 00:00:00
(5/71): bind-license-9.11.4-16.P2.el7_8.6.noarch.rpm | 90 kB 00:00:00
(6/71): certbot-1.10.1-1.el7.noarch.rpm | 45 kB 00:00:00
(7/71): bind-utils-9.11.4-16.P2.el7_8.6.armv7hl.rpm | 262 kB 00:00:00
(8/71): ca-certificates-2020.2.41-70.0.el7_8.noarch.rpm | 382 kB 00:00:00
(9/71): curl-7.29.0-57.el7_8.1.armv7hl.rpm | 266 kB 00:00:00
(10/71): dbus-1.10.24-14.el7_8.armv7hl.rpm | 231 kB 00:00:00
(11/71): jq-1.6-2.el7.armv7hl.rpm | 164 kB 00:00:00
(12/71): dbus-libs-1.10.24-14.el7_8.armv7hl.rpm | 150 kB 00:00:00
Public key for kernel-5.4.72-200.el7.armv7hl.rpm is not installed 5% [====- ] 1.0 MB/s | 4.1 MB 00:01:15 ETA
(13/71): kernel-5.4.72-200.el7.armv7hl.rpm | 3.6 kB 00:00:00
(14/71): kernel-tools-libs-5.4.72-200.el7.armv7hl.rpm | 12 kB 00:00:00
(15/71): libcurl-7.29.0-57.el7_8.1.armv7hl.rpm | 205 kB 00:00:00
(16/71): libipa_hbac-1.16.4-37.el7_8.4.armv7hl.rpm | 150 kB 00:00:00
(17/71): librsync-2.3.1-1.el7.armv7hl.rpm | 66 kB 00:00:00
(18/71): libsss_autofs-1.16.4-37.el7_8.4.armv7hl.rpm | 151 kB 00:00:00
(19/71): libsss_certmap-1.16.4-37.el7_8.4.armv7hl.rpm | 176 kB 00:00:00
(20/71): kernel-tools-5.4.72-200.el7.armv7hl.rpm | 94 kB 00:00:03
(21/71): libsss_idmap-1.16.4-37.el7_8.4.armv7hl.rpm | 155 kB 00:00:00
(22/71): libgudev1-219-73.el7_8.9.armv7hl.rpm | 105 kB 00:00:02
(23/71): libsss_nss_idmap-1.16.4-37.el7_8.4.armv7hl.rpm | 159 kB 00:00:00
(24/71): libsss_sudo-1.16.4-37.el7_8.4.armv7hl.rpm | 149 kB 00:00:00
(25/71): kernel-modules-5.4.72-200.el7.armv7hl.rpm | 19 MB 00:00:19
(26/71): kernel-core-5.4.72-200.el7.armv7hl.rpm | 30 MB 00:00:21
nethserver-arm-epel-7-2.ns7.ar FAILED
http://mirror.nethserver.org/nethserver/7.8.2003/updates/armhfp/Packages/nethserver-arm-epel-7-2.ns7.armv7hl.rpm: [Errno 12] Timeout on http://mirror.nethserver.org/nethserver/7.8.2003/updates/armhfp/Packages/nethserver-arm-epel-7-2.ns7.armv7hl.rpm: (28, ‘Connection timed out after 30001 milliseconds’)
Trying other mirror.
nethserver-backup-data-1.7.3-1 FAILED
http://mirror.nethserver.org/nethserver/7.8.2003/updates/armhfp/Packages/nethserver-backup-data-1.7.3-1.ns7.noarch.rpm: [Errno 12] Timeout on http://mirror.nethserver.org/nethserver/7.8.2003/updates/armhfp/Packages/nethserver-backup-data-1.7.3-1.ns7.noarch.rpm: (28, ‘Connection timed out after 30001 milliseconds’)
Trying other mirror.
warning: /var/cache/yum/armhfp/7/nethserver-updates/packages/nethserver-base-3.7.7-1.ns7.noarch.rpm: Header V4 RSA/SHA1 Signature, key ID 39baf5c1: NOKEY====================- ] 45 kB/s | 55 MB 00:09:54 ETA
Public key for nethserver-base-3.7.7-1.ns7.noarch.rpm is not installed
(27/71): nethserver-base-3.7.7-1.ns7.noarch.rpm | 247 kB 00:00:01
(28/71): nethserver-cockpit-1.7.10-1.ns7.noarch.rpm | 2.7 MB 00:00:03
(29/71): nethserver-cockpit-lib-1.7.10-1.ns7.noarch.rpm | 43 kB 00:00:00
(30/71): nethserver-collectd-3.1.1-1.ns7.noarch.rpm | 24 kB 00:00:00
(31/71): nethserver-firewall-base-3.12.3-1.ns7.noarch.rpm | 137 kB 00:00:04
(32/71): nethserver-httpd-3.11.3-1.ns7.noarch.rpm | 1.2 MB 00:00:01
(33/71): nethserver-httpd-admin-2.5.1-1.ns7.noarch.rpm | 1.6 MB 00:00:01
(34/71): nethserver-lang-cockpit-1.4.6-2.ns7.noarch.rpm | 1.6 MB 00:00:01
(35/71): nethserver-lang-en-1.4.6-2.ns7.noarch.rpm | 26 kB 00:00:00
(36/71): nethserver-mail-smarthost-2.18.2-1.ns7.noarch.rpm | 57 kB 00:00:00
(37/71): nethserver-openssh-1.7.0-1.ns7.noarch.rpm | 35 kB 00:00:00
nethserver-subscription-3.6.5- FAILED
http://mirror.nethserver.org/nethserver/7.8.2003/updates/armhfp/Packages/nethserver-subscription-3.6.5-1.ns7.noarch.rpm: [Errno -1] Package does not match intended download. Suggestion: run yum --enablerepo=nethserver-updates clean metadata
Trying other mirror.
nethserver-subscription-ui-3.6 FAILED
http://mirror.nethserver.org/nethserver/7.8.2003/updates/armhfp/Packages/nethserver-subscription-ui-3.6.5-1.ns7.noarch.rpm: [Errno -1] Package does not match intended download. Suggestion: run yum --enablerepo=nethserver-updates clean metadata
Trying other mirror.
perl-Text-Template-1.59-2.el7. FAILED
https://armv7.dev.centos.org/repodir/epel-pass-1/perl-Text-Template/1.59-2.el7/noarch/perl-Text-Template-1.59-2.el7.noarch.rpm: [Errno 14] curl#35 - “Network file descriptor is not connected” ] 654 kB/s | 61 MB 00:00:29 ETA
Trying other mirror.
(38/71): python-fasteners-0.9.0-3.el7.noarch.rpm | 34 kB 00:00:00
(39/71): python-sssdconfig-1.16.4-37.el7_8.4.noarch.rpm | 169 kB 00:00:01




                                                                                                                                   | 4.7 MB  00:00:03     

(64/71): systemd-libs-219-73.el7_8.9.armv7hl.rpm | 384 kB 00:00:00
(65/71): systemd-sysv-219-73.el7_8.9.armv7hl.rpm | 94 kB 00:00:00
(66/71): sssd-common-pac-1.16.4-37.el7_8.4.armv7hl.rpm | 211 kB 00:00:18
(67/71): nethserver-arm-epel-7-2.ns7.armv7hl.rpm | 16 kB 00:00:15
(68/71): nethserver-backup-data-1.7.3-1.ns7.noarch.rpm | 64 kB 00:00:00

Error downloading packages:
perl-Text-Template-1.59-2.el7.noarch: [Errno 256] No more mirrors to try.
nethserver-subscription-3.6.5-1.ns7.noarch: [Errno 256] No more mirrors to try.
nethserver-subscription-ui-3.6.5-1.ns7.noarch: [Errno 256] No more mirrors to try.

[root@srv00 yum.repos.d]#

And i cant update my NS.

Are you sure, the software center is “emtpy” (ie show no nethserver modules) ?

Seems to me you are still on nethserver 7.8.2003…

Do you get this error Error ?: No group data available for configured repositories if you execute :

yum --disablerepo=* --enablerepo=nethserver-updates groups list

EDIT: checked some packages yum can not find and the do exist on the location yum looks for it:
nethserver-arm-epel-7-2.ns7
perl-Text-Template-1.59-2.el7.noarch.rpm

Seems to me you have an network problem or your locale (ru?) blocks some mirrors…

Just gone on holiday :slight_smile: back in a week and will look at it then.

1 Like

Happy day’s!

Hi!
Please, sorry…
I think my ethernet connection not stability on my Orange Pi PC Plus.
I do not know why.
I have Raspberry pi 3 and NS work fine.

1 Like

Thank you for confirming! happy new year.

Thank you and happy new year!
I will wait verison 7.9.2009 for my Orange Pi PC Plus for testing.
Thank you for your work!
Sorry my English …

It’s burning on my desk… have an Orange Pi PC and will test on that.

Do not be sorry, we understand you :+1:

1 Like

Pressing the reload button didn’t work but using the two yum commands you provided did work.

Many thanks

Andrew

1 Like