robb
(Rob Bosch)
September 28, 2019, 8:00pm
1
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.
As you might notice at the time the 7.6 was released there was a yum repos config pointing to “7” then came the software origin policy fix pointing to 7.6, but is still lacking in the old iso.
In the future, with 7.7 iso, we will not experience this bug anymore.
6 Likes
flatspin
(Ralf Jeckel)
September 30, 2019, 2:44pm
3
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…
EDIT: cockpit an dante are also not installable. (conflict firewalld, device-mapper and glibc-common)
davidep
(Davide Principi)
September 30, 2019, 3:47pm
4
robb:
yum clean all
Please @flatspin check if this helps
flatspin
(Ralf Jeckel)
September 30, 2019, 4:22pm
5
No, sorry. Same errors when try to install nethserver-cockpit or nethserver-mysql.
davidep
(Davide Principi)
September 30, 2019, 4:27pm
6
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!
flatspin
(Ralf Jeckel)
September 30, 2019, 6:15pm
7
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.
davidep
(Davide Principi)
September 30, 2019, 7:03pm
8
Could you find which package required it?
flatspin
(Ralf Jeckel)
October 1, 2019, 6:06am
9
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
davidep
(Davide Principi)
October 1, 2019, 6:11am
10
Workaround fixed: please check it out!
1 Like
flatspin
(Ralf Jeckel)
October 1, 2019, 6:22am
11
No packages marked for update. => Think I have to wait for mirrors to sync.
davidep
(Davide Principi)
October 1, 2019, 6:52am
12
Did you start from a clean 7.6 iso?
flatspin
(Ralf Jeckel)
October 1, 2019, 7:10am
13
Yes, I did.
But I did a second rollback and tried it again and now it works.
2 Likes
gio892
(Giorgio)
October 3, 2019, 4:48pm
14
is there a known way to fix the situation without a complete reinstall after an update from the web server manager was already executed?
pike
(Michael Kicks)
October 3, 2019, 4:50pm
15
Maybe this can help…
Anyway: before act, consider a backup.
1 Like
gio892
(Giorgio)
October 3, 2019, 5:16pm
16
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 rolling back with yum history rollback N looks like did the trick anyway