Update and module install procedure for NEW nethserver 7.6 installs

We have several mentions of problems with installing modules and updating NethServer on NEW installs. This is because CentOS has started to release CentOS7.7 packages in their CentOS 7 repository.

With CentOS 7.7 repo’s live it is necessary to do a

yum update nethserver-subscription nethserver-release nethserver-base
yum clean all

right after the initial wizard. Do NOT update through server manager before you have run the command mentioned above when you have installed a NEW server.

6 Likes

Even when you do this, some modules are installable and some not.

fail2ban, mysql (and so every module which depends on it) are not installable on a new install from iso 7.6

Error: Package: 1:mariadb-server-5.5.60-1.el7_5.x86_64 (ce-base)
           Requires: mariadb-libs(x86-64) = 1:5.5.60-1.el7_5
           Installed: 1:mariadb-libs-5.5.64-1.el7.x86_64 (@base)
               mariadb-libs(x86-64) = 1:5.5.64-1.el7
           Available: 1:mariadb-libs-5.5.60-1.el7_5.x86_64 (ce-base)
               mariadb-libs(x86-64) = 1:5.5.60-1.el7_5
Error: Package: 1:mariadb-5.5.60-1.el7_5.x86_64 (ce-base)
           Requires: mariadb-libs(x86-64) = 1:5.5.60-1.el7_5
           Installed: 1:mariadb-libs-5.5.64-1.el7.x86_64 (@base)
               mariadb-libs(x86-64) = 1:5.5.64-1.el7
           Available: 1:mariadb-libs-5.5.60-1.el7_5.x86_64 (ce-base)
               mariadb-libs(x86-64) = 1:5.5.60-1.el7_5

Error: Package: glibc-2.17-260.el7_6.6.i686 (ce-updates)
           Requires: glibc-common = 2.17-260.el7_6.6
           Installed: glibc-common-2.17-292.el7.x86_64 (@base)
               glibc-common = 2.17-292.el7
           Available: glibc-common-2.17-260.el7.x86_64 (ce-base)
               glibc-common = 2.17-260.el7
           Available: glibc-common-2.17-260.el7_6.3.x86_64 (ce-updates)
               glibc-common = 2.17-260.el7_6.3
           Available: glibc-common-2.17-260.el7_6.4.x86_64 (ce-updates)
               glibc-common = 2.17-260.el7_6.4
           Available: glibc-common-2.17-260.el7_6.5.x86_64 (ce-updates)
               glibc-common = 2.17-260.el7_6.5
           Available: glibc-common-2.17-260.el7_6.6.x86_64 (ce-updates)
               glibc-common = 2.17-260.el7_6.6
Error: Package: systemd-python-219-62.el7_6.9.x86_64 (ce-updates)
           Requires: systemd = 219-62.el7_6.9
           Installed: systemd-219-67.el7_7.1.x86_64 (@updates)
               systemd = 219-67.el7_7.1
           Available: systemd-219-62.el7.x86_64 (ce-base)
               systemd = 219-62.el7
           Available: systemd-219-62.el7_6.2.x86_64 (ce-updates)
               systemd = 219-62.el7_6.2
           Available: systemd-219-62.el7_6.3.x86_64 (ce-updates)
               systemd = 219-62.el7_6.3
           Available: systemd-219-62.el7_6.5.x86_64 (ce-updates)
               systemd = 219-62.el7_6.5
           Available: systemd-219-62.el7_6.6.x86_64 (ce-updates)
               systemd = 219-62.el7_6.6
           Available: systemd-219-62.el7_6.7.x86_64 (ce-updates)
               systemd = 219-62.el7_6.7
           Available: systemd-219-62.el7_6.9.x86_64 (ce-updates)
               systemd = 219-62.el7_6.9

Firewall-UI, NDPI, Proxy and Webfilter are installable.

What a mess… :roll_eyes:

EDIT: cockpit an dante are also not installable. (conflict firewalld, device-mapper and glibc-common)

Please @flatspin check if this helps

No, sorry. Same errors when try to install nethserver-cockpit or nethserver-mysql.

MySQL (mariadb) is not in the ISO. Why is it already installed on your testing system? It does not look like the bug scenario hit by Robb!

You missunderstood my post. It isn’t installed. If I try to install nethserver-mysql or a module which depends on it, I get an error. Also with nethserver-cockpit, but here it’s glibc, which causes the error.

Could you find which package required it?

Good morning @davidep ,
it’s when I try to install nethserver-cockpit .
The package is:

 Package: glibc-2.17-260.el7_6.6.i686 (ce-updates)
           Requires: glibc-common = 2.17-260.el7_6.6
           Installed: glibc-common-2.17-292.el7.x86_64 (@base)
1 Like

Workaround fixed: please check it out!

1 Like

No packages marked for update. => Think I have to wait for mirrors to sync.

Did you start from a clean 7.6 iso?

Yes, I did.
But I did a second rollback and tried it again and now it works. :+1:

2 Likes

is there a known way to fix the situation without a complete reinstall after an update from the web server manager was already executed?

Maybe this can help…


Anyway: before act, consider a backup.

1 Like

It did help thank you, don’t really mind about starting from scratch as it was a fresh install, i did read about this a little too late :slight_smile: rolling back with yum history rollback N looks like did the trick anyway :slight_smile: