Problem updating NethServer 7.7.1908

NethServer Version: 7.7.1908
Module: Update

Hello - when trying to update an 7.7 installation I get the following error:

“message”: “[YumRPMCheckError] [u’ERROR with transaction check vs depsolve:’, ‘rpm >= 4.11.3-43 is needed by python36-rpm-4.11.3-8.el7.x86_64’]”

My rpm version is 4.11.3-40.

When I try to update rpm on its own, I get dependency errors with currently installed packages:

[root@nas ~]# rpm -Uvh http://mirror.alpha-labs.net/centos/7/os/x86_64/Packages/rpm-4.11.3-45.el7.x86_64.rpm
Retrieving http://mirror.alpha-labs.net/centos/7/os/x86_64/Packages/rpm-4.11.3-45.el7.x86_64.rpm
error: Failed dependencies:
rpm = 4.11.3-40.el7 is needed by (installed) rpm-libs-4.11.3-40.el7.x86_64
rpm = 4.11.3-40.el7 is needed by (installed) rpm-python-4.11.3-40.el7.x86_64
rpm = 4.11.3-40.el7 is needed by (installed) rpm-build-4.11.3-40.el7.x86_64

Any suggestions on how to fix this?

Thanks!
Beat

Please go to the console and attach the output of the following commands:

yum clean all
yum repolist -v

Then try

yum update -y

Let’s see what they print!

Hello Davide - please see below. Thanks!

root@nas ~]# yum clean all
Loaded plugins: changelog, fastestmirror, nethserver_events
Cleaning repos: ce-base ce-extras ce-sclo-rh ce-sclo-sclo ce-updates epel nethforge nethserver-base nethserver-updates
Cleaning up list of fastest mirrors
[root@nas ~]# yum repolist -v
Loading "changelog" plugin
Loading "fastestmirror" plugin
Loading "nethserver_events" plugin
Config time: 0.011
Yum version: 3.4.3
Determining fastest mirrors
epel/x86_64/metalink                                                                                                                                       |  12 kB  00:00:00     
 * epel: mirror.metrocast.net
ce-base/7/x86_64/signature                                                                                                                                 |  811 B  00:00:00     
ce-base/7/x86_64/signature                                                                                                                                 | 3.6 kB  00:00:00 !!! 
ce-extras/7/x86_64/signature                                                                                                                               |  811 B  00:00:00     
ce-extras/7/x86_64/signature                                                                                                                               | 2.9 kB  00:00:00 !!! 
ce-sclo-rh                                                                                                                                                 | 3.0 kB  00:00:00     
ce-sclo-sclo                                                                                                                                               | 3.0 kB  00:00:00     
ce-updates/7/x86_64/signature                                                                                                                              |  811 B  00:00:00     
ce-updates/7/x86_64/signature                                                                                                                              | 2.9 kB  00:00:00 !!! 
epel                                                                                                                                                       | 4.7 kB  00:00:00     
nethforge/7/x86_64/signature                                                                                                                               |  836 B  00:00:00     
nethforge/7/x86_64/signature                                                                                                                               | 3.6 kB  00:00:00 !!! 
nethserver-base/7/x86_64/signature                                                                                                                         |  836 B  00:00:00     
nethserver-base/7/x86_64/signature                                                                                                                         | 2.9 kB  00:00:00 !!! 
nethserver-updates/7/x86_64/signature                                                                                                                      |  836 B  00:00:00     
nethserver-updates/7/x86_64/signature                                                                                                                      | 3.6 kB  00:00:00 !!! 
(1/14): ce-base/7/x86_64/group_gz                                                                                                                          | 165 kB  00:00:00     
(2/14): ce-extras/7/x86_64/primary_db                                                                                                                      | 165 kB  00:00:00     
(3/14): ce-sclo-sclo/7/x86_64/primary_db                                                                                                                   | 285 kB  00:00:00     
(4/14): epel/x86_64/group_gz                                                                                                                               |  95 kB  00:00:00     
(5/14): epel/x86_64/updateinfo                                                                                                                             | 1.0 MB  00:00:00     
(6/14): nethforge/7/x86_64/group_gz                                                                                                                        | 1.7 kB  00:00:00     
(7/14): nethforge/7/x86_64/primary_db                                                                                                                      | 115 kB  00:00:00     
(8/14): nethserver-base/7/x86_64/primary_db                                                                                                                | 352 kB  00:00:00     
(9/14): nethserver-updates/7/x86_64/group_gz                                                                                                               |  22 kB  00:00:00     
(10/14): epel/x86_64/primary_db                                                                                                                            | 6.9 MB  00:00:01     
(11/14): ce-sclo-rh/7/x86_64/primary_db                                                                                                                    | 2.6 MB  00:00:02     
(12/14): nethserver-updates/7/x86_64/primary_db                                                                                                            | 720 kB  00:00:00     
(13/14): ce-base/7/x86_64/primary_db                                                                                                                       | 6.0 MB  00:00:04     
(14/14): ce-updates/7/x86_64/primary_db                                                                                                                    | 7.6 MB  00:00:05     
Setting up Package Sacks
pkgsack time: 0.010
Repo-id      : ce-base/7/x86_64
Repo-name    : CE-Base-7.7.1908
Repo-revision: 1568055520
Repo-updated : Mon Sep  9 14:59:14 2019
Repo-pkgs    : 10,097
Repo-size    : 9.7 G
Repo-mirrors : http://mirrorlist.nethserver.org/?release=7&repo=ce-base&arch=x86_64&nsrelease=7.7.1908
Repo-baseurl : http://vault.centos.org/centos/7.7.1908/os/x86_64/
Repo-expire  : 21,600 second(s) (last: Fri Nov 27 14:16:58 2020)
  Filter     : read-only:present
Repo-filename: /etc/yum.repos.d/NethServer.repo

Repo-id      : ce-extras/7/x86_64
Repo-name    : CE-Extras-7.7.1908
Repo-revision: 1585661023
Repo-updated : Tue Mar 31 09:23:44 2020
Repo-pkgs    : 341
Repo-size    : 484 M
Repo-mirrors : http://mirrorlist.nethserver.org/?release=7&repo=ce-extras&arch=x86_64&nsrelease=7.7.1908
Repo-baseurl : http://vault.centos.org/centos/7.7.1908/extras/x86_64/
Repo-expire  : 21,600 second(s) (last: Fri Nov 27 14:16:59 2020)
  Filter     : read-only:present
Repo-filename: /etc/yum.repos.d/NethServer.repo

Repo-id      : ce-sclo-rh/7/x86_64
Repo-name    : CE-SCLo-rh-7.7.1908
Repo-revision: 1587378242
Repo-updated : Mon Apr 20 06:24:02 2020
Repo-pkgs    : 6,509
Repo-size    : 6.0 G
Repo-mirrors : http://mirrorlist.nethserver.org/?release=7&repo=ce-sclo-rh&arch=x86_64&nsrelease=7.7.1908
Repo-baseurl : http://vault.centos.org/centos/7.7.1908/sclo/x86_64/rh/
Repo-expire  : 21,600 second(s) (last: Fri Nov 27 14:17:00 2020)
  Filter     : read-only:present
Repo-filename: /etc/yum.repos.d/NethServer.repo

Repo-id      : ce-sclo-sclo/7/x86_64
Repo-name    : CE-SCLo-sclo-7.7.1908
Repo-revision: 1587114212
Repo-updated : Fri Apr 17 05:03:32 2020
Repo-pkgs    : 784
Repo-size    : 270 M
Repo-mirrors : http://mirrorlist.nethserver.org/?release=7&repo=ce-sclo-sclo&arch=x86_64&nsrelease=7.7.1908
Repo-baseurl : http://vault.centos.org/centos/7.7.1908/sclo/x86_64/sclo/
Repo-expire  : 21,600 second(s) (last: Fri Nov 27 14:17:00 2020)
  Filter     : read-only:present
Repo-filename: /etc/yum.repos.d/NethServer.repo

Repo-id      : ce-updates/7/x86_64
Repo-name    : CE-Updates-7.7.1908
Repo-revision: 1586175878
Repo-updated : Mon Apr  6 08:25:05 2020
Repo-pkgs    : 1,787
Repo-size    : 11 G
Repo-mirrors : http://mirrorlist.nethserver.org/?release=7&repo=ce-updates&arch=x86_64&nsrelease=7.7.1908
Repo-baseurl : http://vault.centos.org/centos/7.7.1908/updates/x86_64/
Repo-expire  : 21,600 second(s) (last: Fri Nov 27 14:17:01 2020)
  Filter     : read-only:present
Repo-filename: /etc/yum.repos.d/NethServer.repo

Repo-id      : epel/x86_64
Repo-name    : Extra Packages for Enterprise Linux 7 - x86_64
Repo-revision: 1606436742
Repo-updated : Thu Nov 26 19:26:50 2020
Repo-pkgs    : 13,480
Repo-size    : 16 G
Repo-metalink: https://mirrors.fedoraproject.org/metalink?repo=epel-7&arch=x86_64&infra=stock&content=centos
  Updated    : Thu Nov 26 19:26:50 2020
Repo-baseurl : http://mirror.metrocast.net/fedora/epel/7/x86_64/ (34 more)
Repo-expire  : 21,600 second(s) (last: Fri Nov 27 14:17:01 2020)
  Filter     : read-only:present
Repo-filename: /etc/yum.repos.d/epel.repo

Repo-id      : nethforge/7/x86_64
Repo-name    : NethForge 7
Repo-revision: 1587398654
Repo-updated : Mon Apr 20 12:04:17 2020
Repo-pkgs    : 309
Repo-size    : 844 M
Repo-mirrors : http://mirrorlist.nethserver.org/?release=7&repo=nethforge&arch=x86_64&nsrelease=7.7.1908
Repo-baseurl : http://mirror.nethserver.org/nethserver/7.7.1908/nethforge/x86_64/
Repo-expire  : 21,600 second(s) (last: Fri Nov 27 14:17:02 2020)
  Filter     : read-only:present
Repo-filename: /etc/yum.repos.d/NethForge.repo

Repo-id      : nethserver-base/7/x86_64
Repo-name    : NethServer-7.7.1908 - Base
Repo-revision: 1588949734
Repo-updated : Fri May  8 10:55:38 2020
Repo-pkgs    : 346
Repo-size    : 1.2 G
Repo-mirrors : http://mirrorlist.nethserver.org/?release=7&repo=base&arch=x86_64&nsrelease=7.7.1908
Repo-baseurl : http://mirror.nethserver.org/nethserver/7.7.1908/base/x86_64/
Repo-expire  : 21,600 second(s) (last: Fri Nov 27 14:17:02 2020)
  Filter     : read-only:present
Repo-filename: /etc/yum.repos.d/NethServer.repo

Repo-id      : nethserver-updates/7/x86_64
Repo-name    : NethServer-7.7.1908 - Updates
Repo-revision: 1590138350
Repo-updated : Fri May 22 05:05:59 2020
Repo-pkgs    : 654
Repo-size    : 2.2 G
Repo-mirrors : http://mirrorlist.nethserver.org/?release=7&repo=updates&arch=x86_64&nsrelease=7.7.1908
Repo-baseurl : http://mirror.nethserver.org/nethserver/7.7.1908/updates/x86_64/
Repo-expire  : 21,600 second(s) (last: Fri Nov 27 14:17:02 2020)
  Filter     : read-only:present
Repo-filename: /etc/yum.repos.d/NethServer.repo

repolist: 34,307
[root@nas ~]# yum update -y
Loaded plugins: changelog, fastestmirror, nethserver_events
Loading mirror speeds from cached hostfile
 * epel: mirror.metrocast.net
Resolving Dependencies
--> Running transaction check
---> Package NetworkManager.x86_64 1:1.18.0-5.el7_7.1 will be updated
---> Package NetworkManager.x86_64 1:1.18.0-5.el7_7.2 will be an update
---> Package NetworkManager-glib.x86_64 1:1.18.0-5.el7_7.1 will be updated
---> Package NetworkManager-glib.x86_64 1:1.18.0-5.el7_7.2 will be an update
---> Package NetworkManager-libnm.x86_64 1:1.18.0-5.el7_7.1 will be updated
---> Package NetworkManager-libnm.x86_64 1:1.18.0-5.el7_7.2 will be an update
---> Package NetworkManager-team.x86_64 1:1.18.0-5.el7_7.1 will be updated
---> Package NetworkManager-team.x86_64 1:1.18.0-5.el7_7.2 will be an update
---> Package NetworkManager-tui.x86_64 1:1.18.0-5.el7_7.1 will be updated
---> Package NetworkManager-tui.x86_64 1:1.18.0-5.el7_7.2 will be an update
---> Package NetworkManager-wifi.x86_64 1:1.18.0-5.el7_7.1 will be updated
---> Package NetworkManager-wifi.x86_64 1:1.18.0-5.el7_7.2 will be an update
---> Package arp-scan.x86_64 0:1.9.2-1.el7 will be updated
---> Package arp-scan.x86_64 0:1.9.7-3.el7 will be an update
---> Package binutils.x86_64 0:2.27-41.base.el7_7.1 will be updated
---> Package binutils.x86_64 0:2.27-41.base.el7_7.3 will be an update
---> Package certbot.noarch 0:0.39.0-1.el7 will be updated
---> Package certbot.noarch 0:1.9.0-1.el7 will be an update
---> Package createrepo_c.x86_64 0:0.10.0-18.el7 will be updated
---> Package createrepo_c.x86_64 0:0.10.0-20.el7 will be an update
---> Package createrepo_c-libs.x86_64 0:0.10.0-18.el7 will be updated
---> Package createrepo_c-libs.x86_64 0:0.10.0-20.el7 will be an update
---> Package curl.x86_64 0:7.29.0-54.el7_7.1 will be updated
---> Package curl.x86_64 0:7.29.0-54.el7_7.2 will be an update
---> Package distribution-gpg-keys.noarch 0:1.35-1.el7 will be updated
---> Package distribution-gpg-keys.noarch 0:1.44-1.el7 will be an update
---> Package epel-release.noarch 0:7-12 will be updated
---> Package epel-release.noarch 0:7-13 will be an update
---> Package firewalld.noarch 0:0.6.3-2.el7_7.2 will be updated
---> Package firewalld.noarch 0:0.6.3-2.el7_7.4 will be an update
---> Package firewalld-filesystem.noarch 0:0.6.3-2.el7_7.2 will be updated
---> Package firewalld-filesystem.noarch 0:0.6.3-2.el7_7.4 will be an update
---> Package fribidi.x86_64 0:1.0.2-1.el7 will be updated
---> Package fribidi.x86_64 0:1.0.2-1.el7_7.1 will be an update
---> Package git.x86_64 0:1.8.3.1-20.el7 will be updated
---> Package git.x86_64 0:1.8.3.1-21.el7_7 will be an update
---> Package http-parser.x86_64 0:2.7.1-8.el7 will be updated
---> Package http-parser.x86_64 0:2.7.1-8.el7_7.2 will be an update
---> Package iprutils.x86_64 0:2.4.17.1-2.el7 will be updated
---> Package iprutils.x86_64 0:2.4.17.1-3.el7_7 will be an update
---> Package jq.x86_64 0:1.5-1.el7 will be updated
---> Package jq.x86_64 0:1.6-2.el7 will be an update
---> Package kernel.x86_64 0:3.10.0-1062.18.1.el7 will be installed
---> Package kernel-tools.x86_64 0:3.10.0-1062.9.1.el7 will be updated
---> Package kernel-tools.x86_64 0:3.10.0-1062.18.1.el7 will be an update
---> Package kernel-tools-libs.x86_64 0:3.10.0-1062.9.1.el7 will be updated
---> Package kernel-tools-libs.x86_64 0:3.10.0-1062.18.1.el7 will be an update
---> Package kmod.x86_64 0:20-25.el7 will be updated
---> Package kmod.x86_64 0:20-25.el7_7.1 will be an update
---> Package kmod-libs.x86_64 0:20-25.el7 will be updated
---> Package kmod-libs.x86_64 0:20-25.el7_7.1 will be an update
---> Package libarchive.x86_64 0:3.1.2-12.el7 will be updated
---> Package libarchive.x86_64 0:3.1.2-14.el7_7 will be an update
---> Package libcurl.x86_64 0:7.29.0-54.el7_7.1 will be updated
---> Package libcurl.x86_64 0:7.29.0-54.el7_7.2 will be an update
---> Package libgudev1.x86_64 0:219-67.el7_7.2 will be updated
---> Package libgudev1.x86_64 0:219-67.el7_7.4 will be an update
---> Package libicu.x86_64 0:50.2-3.el7 will be updated
---> Package libicu.x86_64 0:50.2-4.el7_7 will be an update
---> Package libipa_hbac.x86_64 0:1.16.4-21.el7_7.1 will be updated
---> Package libipa_hbac.x86_64 0:1.16.4-21.el7_7.3 will be an update
---> Package liboping.x86_64 0:1.6.2-2.el7 will be updated
---> Package liboping.x86_64 0:1.10.0-1.el7 will be an update
---> Package librsync.x86_64 0:2.0.2-1.el7 will be updated
---> Package librsync.x86_64 0:2.3.1-1.el7 will be an update
---> Package libsss_autofs.x86_64 0:1.16.4-21.el7_7.1 will be updated
---> Package libsss_autofs.x86_64 0:1.16.4-21.el7_7.3 will be an update
---> Package libsss_certmap.x86_64 0:1.16.4-21.el7_7.1 will be updated
---> Package libsss_certmap.x86_64 0:1.16.4-21.el7_7.3 will be an update
---> Package libsss_idmap.x86_64 0:1.16.4-21.el7_7.1 will be updated
---> Package libsss_idmap.x86_64 0:1.16.4-21.el7_7.3 will be an update
---> Package libsss_nss_idmap.x86_64 0:1.16.4-21.el7_7.1 will be updated
---> Package libsss_nss_idmap.x86_64 0:1.16.4-21.el7_7.3 will be an update
---> Package libsss_sudo.x86_64 0:1.16.4-21.el7_7.1 will be updated
---> Package libsss_sudo.x86_64 0:1.16.4-21.el7_7.3 will be an update
---> Package mesa-libEGL.x86_64 0:18.3.4-5.el7 will be updated
---> Package mesa-libEGL.x86_64 0:18.3.4-6.el7_7 will be an update
---> Package mesa-libGL.x86_64 0:18.3.4-5.el7 will be updated
---> Package mesa-libGL.x86_64 0:18.3.4-6.el7_7 will be an update
---> Package mesa-libgbm.x86_64 0:18.3.4-5.el7 will be updated
---> Package mesa-libgbm.x86_64 0:18.3.4-6.el7_7 will be an update
---> Package mesa-libglapi.x86_64 0:18.3.4-5.el7 will be updated
---> Package mesa-libglapi.x86_64 0:18.3.4-6.el7_7 will be an update
---> Package mock.noarch 0:1.4.21-1.el7 will be updated
---> Package mock.noarch 0:2.6-1.el7 will be an update
--> Processing Dependency: mock-filesystem for package: mock-2.6-1.el7.noarch
---> Package mock-core-configs.noarch 0:31.7-1.el7 will be updated
---> Package mock-core-configs.noarch 0:33-1.el7 will be an update
---> Package nethserver-backup-config.noarch 0:2.4.1-1.ns7 will be updated
---> Package nethserver-backup-config.noarch 0:2.5.0-1.ns7 will be an update
---> Package nethserver-base.noarch 0:3.7.4-1.ns7 will be updated
---> Package nethserver-base.noarch 0:3.7.6-1.ns7 will be an update
---> Package nethserver-cockpit.noarch 0:1.3.11-1.ns7 will be updated
---> Package nethserver-cockpit.noarch 0:1.6.3-1.ns7 will be an update
--> Processing Dependency: perl-Convert-Base32 for package: nethserver-cockpit-1.6.3-1.ns7.noarch
--> Processing Dependency: perl(Convert::Base32) for package: nethserver-cockpit-1.6.3-1.ns7.noarch
--> Processing Dependency: pam_oath for package: nethserver-cockpit-1.6.3-1.ns7.noarch
--> Processing Dependency: oathtool for package: nethserver-cockpit-1.6.3-1.ns7.noarch
--> Processing Dependency: liboath for package: nethserver-cockpit-1.6.3-1.ns7.noarch
---> Package nethserver-cockpit-lib.noarch 0:1.3.11-1.ns7 will be updated
---> Package nethserver-cockpit-lib.noarch 0:1.6.3-1.ns7 will be an update
---> Package nethserver-dnsmasq.noarch 0:1.7.0-1.ns7 will be updated
---> Package nethserver-dnsmasq.noarch 0:1.7.2-1.ns7 will be an update
---> Package nethserver-firewall-base.noarch 0:3.8.1-1.ns7 will be updated
---> Package nethserver-firewall-base.noarch 0:3.8.9-1.ns7 will be an update
---> Package nethserver-firewall-base-ui.noarch 0:3.8.1-1.ns7 will be updated
---> Package nethserver-firewall-base-ui.noarch 0:3.8.9-1.ns7 will be an update
---> Package nethserver-httpd.noarch 0:3.7.3-1.ns7 will be updated
---> Package nethserver-httpd.noarch 0:3.8.1-1.ns7 will be an update
---> Package nethserver-lang-cockpit.noarch 0:1.4.3-1.ns7 will be updated
---> Package nethserver-lang-cockpit.noarch 0:1.4.4-3.ns7 will be an update
---> Package nethserver-lang-en.noarch 0:1.4.3-1.ns7 will be updated
---> Package nethserver-lang-en.noarch 0:1.4.4-3.ns7 will be an update
---> Package nethserver-mail-smarthost.noarch 0:2.10.0-1.ns7 will be updated
---> Package nethserver-mail-smarthost.noarch 0:2.12.4-1.ns7 will be an update
---> Package nethserver-mock.noarch 0:1.6.0-1.ns7 will be updated
---> Package nethserver-mock.noarch 0:1.6.1-1.ns7 will be an update
---> Package nethserver-nextcloud.noarch 0:1.8.1-1.ns7 will be updated
---> Package nethserver-nextcloud.noarch 0:1.9.2-1.ns7 will be obsoleting
---> Package nethserver-openssh.noarch 0:1.3.0-1.ns7 will be updated
---> Package nethserver-openssh.noarch 0:1.5.2-1.ns7 will be an update
---> Package nethserver-restore-data.noarch 0:2.0.4-1.ns7 will be updated
---> Package nethserver-restore-data.noarch 0:2.0.6-1.ns7 will be an update
---> Package nethserver-rh-php71-php-fpm.noarch 0:1.1.1-1.ns7 will be updated
---> Package nethserver-rh-php71-php-fpm.noarch 0:1.1.2-1.ns7 will be an update
---> Package nethserver-samba.noarch 0:4.5.2-1.ns7 will be updated
---> Package nethserver-samba.noarch 0:4.5.3-1.ns7 will be an update
---> Package nethserver-sssd.noarch 0:1.5.0-1.ns7 will be updated
---> Package nethserver-sssd.noarch 0:1.6.0-1.ns7 will be an update
---> Package nethserver-subscription.noarch 0:3.5.3-1.ns7 will be updated
---> Package nethserver-subscription.noarch 0:3.6.1-1.ns7 will be an update
---> Package nethserver-subscription-inventory.x86_64 0:3.5.3-1.ns7 will be updated
---> Package nethserver-subscription-inventory.x86_64 0:3.6.1-1.ns7 will be an update
---> Package nethserver-subscription-ui.noarch 0:3.5.3-1.ns7 will be updated
---> Package nethserver-subscription-ui.noarch 0:3.6.1-1.ns7 will be an update
---> Package nextcloud.noarch 0:17.0.1-1.el7 will be obsoleted
---> Package oniguruma.x86_64 0:5.9.5-3.el7 will be updated
---> Package oniguruma.x86_64 0:6.8.2-1.el7 will be an update
---> Package openjpeg2.x86_64 0:2.3.1-1.el7 will be updated
---> Package openjpeg2.x86_64 0:2.3.1-3.el7_7 will be an update
---> Package perl-Git.noarch 0:1.8.3.1-20.el7 will be updated
---> Package perl-Git.noarch 0:1.8.3.1-21.el7_7 will be an update
---> Package perl-Text-Template.noarch 0:1.45-12.el7 will be updated
---> Package perl-Text-Template.noarch 0:1.59-2.el7 will be an update
---> Package postgresql-libs.x86_64 0:9.2.24-1.el7_5 will be updated
---> Package postgresql-libs.x86_64 0:9.2.24-2.el7_7 will be an update
---> Package ppp.x86_64 0:2.4.5-33.el7 will be updated
---> Package ppp.x86_64 0:2.4.5-34.el7_7 will be an update
---> Package python-fasteners.noarch 0:0.9.0-2.el7 will be updated
---> Package python-fasteners.noarch 0:0.9.0-3.el7 will be an update
---> Package python-firewall.noarch 0:0.6.3-2.el7_7.2 will be updated
---> Package python-firewall.noarch 0:0.6.3-2.el7_7.4 will be an update
---> Package python-httplib2.noarch 0:0.9.2-1.el7 will be obsoleted
---> Package python-lockfile.noarch 1:0.9.1-4.el7.centos will be obsoleted
---> Package python-perf.x86_64 0:3.10.0-1062.9.1.el7 will be updated
---> Package python-perf.x86_64 0:3.10.0-1062.18.1.el7 will be an update
---> Package python-requests.noarch 0:2.6.0-8.el7_7 will be updated
---> Package python-requests.noarch 0:2.6.0-9.el7_7 will be an update
---> Package python-requests-toolbelt.noarch 0:0.8.0-1.el7 will be updated
---> Package python-requests-toolbelt.noarch 0:0.8.0-3.el7 will be an update
---> Package python-sssdconfig.noarch 0:1.16.4-21.el7_7.1 will be updated
---> Package python-sssdconfig.noarch 0:1.16.4-21.el7_7.3 will be an update
---> Package python2-acme.noarch 0:0.39.0-1.el7 will be updated
---> Package python2-acme.noarch 0:1.9.0-1.el7 will be an update
---> Package python2-certbot.noarch 0:0.39.0-1.el7 will be updated
---> Package python2-certbot.noarch 0:1.9.0-1.el7 will be an update
---> Package python2-configargparse.noarch 0:0.11.0-1.el7 will be updated
---> Package python2-configargparse.noarch 0:0.11.0-2.el7 will be an update
---> Package python2-future.noarch 0:0.16.0-15.20181019gitbee0f3b.el7 will be updated
---> Package python2-future.noarch 0:0.18.2-2.el7 will be an update
---> Package python2-google-api-client.noarch 0:1.6.3-1.el7 will be updated
---> Package python2-google-api-client.noarch 0:1.6.3-2.el7 will be an update
---> Package python2-httplib2.noarch 0:0.18.1-3.el7 will be obsoleting
---> Package python2-josepy.noarch 0:1.2.0-1.el7 will be updated
---> Package python2-josepy.noarch 0:1.3.0-2.el7 will be an update
---> Package python2-lockfile.noarch 1:0.11.0-17.el7 will be obsoleting
---> Package python2-oauth2client.noarch 0:4.0.0-2.el7 will be updated
---> Package python2-oauth2client.noarch 0:4.0.0-3.el7 will be an update
---> Package python2-parsedatetime.noarch 0:2.4-5.el7 will be updated
---> Package python2-parsedatetime.noarch 0:2.4-6.el7 will be an update
---> Package python2-pyrfc3339.noarch 0:1.0-2.el7 will be updated
---> Package python2-pyrfc3339.noarch 0:1.1-3.el7 will be an update
---> Package python2-rsa.noarch 0:3.4.1-1.el7 will be updated
---> Package python2-rsa.noarch 0:3.4.2-1.el7 will be an update
---> Package python2-uritemplate.noarch 0:3.0.0-1.el7 will be updated
---> Package python2-uritemplate.noarch 0:3.0.1-1.el7 will be an update
---> Package python3-pip.noarch 0:9.0.3-5.el7 will be updated
---> Package python3-pip.noarch 0:9.0.3-7.el7_7 will be an update
---> Package python36-jinja2.noarch 0:2.8.1-2.el7 will be updated
---> Package python36-jinja2.noarch 0:2.11.1-1.el7 will be an update
---> Package python36-pysocks.noarch 0:1.6.8-6.el7 will be updated
---> Package python36-pysocks.noarch 0:1.6.8-7.el7 will be an update
---> Package python36-rpm.x86_64 0:4.11.3-7.el7 will be updated
---> Package python36-rpm.x86_64 0:4.11.3-8.el7 will be an update
--> Processing Dependency: rpm >= 4.11.3-43 for package: python36-rpm-4.11.3-8.el7.x86_64
---> Package python36-six.noarch 0:1.11.0-3.el7 will be updated
---> Package python36-six.noarch 0:1.14.0-2.el7 will be an update
---> Package python36-urllib3.noarch 0:1.25.1-1.el7 will be updated
---> Package python36-urllib3.noarch 0:1.25.6-2.el7 will be an update
---> Package rsyslog.x86_64 0:8.24.0-41.el7_7.2 will be updated
---> Package rsyslog.x86_64 0:8.24.0-41.el7_7.4 will be an update
---> Package smartmontools.x86_64 1:7.0-1.el7 will be updated
---> Package smartmontools.x86_64 1:7.0-1.el7_7.1 will be an update
---> Package sqlite.x86_64 0:3.7.17-8.el7 will be updated
---> Package sqlite.x86_64 0:3.7.17-8.el7_7.1 will be an update
---> Package sssd.x86_64 0:1.16.4-21.el7_7.1 will be updated
---> Package sssd.x86_64 0:1.16.4-21.el7_7.3 will be an update
---> Package sssd-ad.x86_64 0:1.16.4-21.el7_7.1 will be updated
---> Package sssd-ad.x86_64 0:1.16.4-21.el7_7.3 will be an update
---> Package sssd-client.x86_64 0:1.16.4-21.el7_7.1 will be updated
---> Package sssd-client.x86_64 0:1.16.4-21.el7_7.3 will be an update
---> Package sssd-common.x86_64 0:1.16.4-21.el7_7.1 will be updated
---> Package sssd-common.x86_64 0:1.16.4-21.el7_7.3 will be an update
---> Package sssd-common-pac.x86_64 0:1.16.4-21.el7_7.1 will be updated
---> Package sssd-common-pac.x86_64 0:1.16.4-21.el7_7.3 will be an update
---> Package sssd-ipa.x86_64 0:1.16.4-21.el7_7.1 will be updated
---> Package sssd-ipa.x86_64 0:1.16.4-21.el7_7.3 will be an update
---> Package sssd-krb5.x86_64 0:1.16.4-21.el7_7.1 will be updated
---> Package sssd-krb5.x86_64 0:1.16.4-21.el7_7.3 will be an update
---> Package sssd-krb5-common.x86_64 0:1.16.4-21.el7_7.1 will be updated
---> Package sssd-krb5-common.x86_64 0:1.16.4-21.el7_7.3 will be an update
---> Package sssd-ldap.x86_64 0:1.16.4-21.el7_7.1 will be updated
---> Package sssd-ldap.x86_64 0:1.16.4-21.el7_7.3 will be an update
---> Package sssd-proxy.x86_64 0:1.16.4-21.el7_7.1 will be updated
---> Package sssd-proxy.x86_64 0:1.16.4-21.el7_7.3 will be an update
---> Package sudo.x86_64 0:1.8.23-4.el7_7.1 will be updated
---> Package sudo.x86_64 0:1.8.23-4.el7_7.2 will be an update
---> Package systemd.x86_64 0:219-67.el7_7.2 will be updated
---> Package systemd.x86_64 0:219-67.el7_7.4 will be an update
---> Package systemd-libs.x86_64 0:219-67.el7_7.2 will be updated
---> Package systemd-libs.x86_64 0:219-67.el7_7.4 will be an update
---> Package systemd-sysv.x86_64 0:219-67.el7_7.2 will be updated
---> Package systemd-sysv.x86_64 0:219-67.el7_7.4 will be an update
--> Running transaction check
---> Package liboath.x86_64 0:2.6.2-1.el7 will be installed
---> Package mock-filesystem.noarch 0:2.6-1.el7 will be installed
---> Package oathtool.x86_64 0:2.6.2-1.el7 will be installed
---> Package pam_oath.x86_64 0:2.6.2-1.el7 will be installed
---> Package perl-Convert-Base32.noarch 0:0.06-2.el7 will be installed
--> Processing Dependency: perl(Test::Exception) for package: perl-Convert-Base32-0.06-2.el7.noarch
--> Processing Dependency: perl(Test::More) for package: perl-Convert-Base32-0.06-2.el7.noarch
---> Package python36-rpm.x86_64 0:4.11.3-8.el7 will be an update
--> Processing Dependency: rpm >= 4.11.3-43 for package: python36-rpm-4.11.3-8.el7.x86_64
--> Running transaction check
---> Package perl-Test-Exception.noarch 0:0.32-2.el7 will be installed
--> Processing Dependency: perl(Sub::Uplevel) for package: perl-Test-Exception-0.32-2.el7.noarch
---> Package perl-Test-Simple.noarch 0:0.98-243.el7 will be installed
--> Processing Dependency: perl(Test::Harness) >= 2.03 for package: perl-Test-Simple-0.98-243.el7.noarch
---> Package python36-rpm.x86_64 0:4.11.3-8.el7 will be an update
--> Processing Dependency: rpm >= 4.11.3-43 for package: python36-rpm-4.11.3-8.el7.x86_64
--> Running transaction check
---> Package perl-Sub-Uplevel.noarch 1:0.24-4.el7 will be installed
---> Package perl-Test-Harness.noarch 0:3.28-3.el7 will be installed
---> Package python36-rpm.x86_64 0:4.11.3-8.el7 will be an update
--> Processing Dependency: rpm >= 4.11.3-43 for package: python36-rpm-4.11.3-8.el7.x86_64
--> Finished Dependency Resolution
--> Running transaction check
---> Package kernel.x86_64 0:3.10.0-862.el7 will be erased
---> Package python36-rpm.x86_64 0:4.11.3-8.el7 will be an update
--> Processing Dependency: rpm >= 4.11.3-43 for package: python36-rpm-4.11.3-8.el7.x86_64
--> Finished Dependency Resolution
Error: Package: python36-rpm-4.11.3-8.el7.x86_64 (epel)
           Requires: rpm >= 4.11.3-43
           Installed: rpm-4.11.3-40.el7.x86_64 (@base)
               rpm = 4.11.3-40.el7
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest

Epel repo doesn’t have minor version (7.7.1908), only major release (7), so now it is pointing to the latest 7 version (7.9.2009) and that is causing the problem with dependencies.

Recently I upgraded two servers from 7.6.1810 to 7.9.2009 following @davidep’s advice:

But before proceeding, you might want to update nextcloud 17 to 18 then to 19 as updates skipping major releases are not supported.

# update to nextcloud 18.0.4
yum install http://packages.nethserver.org/nethserver/7.8.2003/updates/x86_64/Packages/nethserver-nextcloud-1.10.1-1.ns7.noarch.rpm

#update to nextcloud 19.0.3
yum install http://packages.nethserver.org/nethserver/7.8.2003/updates/x86_64/Packages/nethserver-nextcloud-1.14.2-1.ns7.noarch.rpm

If it warns about dependency problems like before (from epel repo), try disabling epel repo at runtime (i.e. yum --disablerepo=epel update yourpackages ).

After that, you could proceed with:

# Upgrades across multiple versions is not a tested procedure.
yum install -y http://mirror.nethserver.org/nethserver/nethserver-release-7.rpm
signal-event software-repos-save
yum update

If doing the updates remotely (ssh…) it is advisable to use a screen/tmux session (for instance, to prevent errors produced in case of dropped connection causing unfinished yum transactions.)

3 Likes

In any case, do a full backup of yourserver (better with clonezilla) before starting any upgrade procedure. Might save your bacon…

This worked! Thank you very much for taking the time to help me.

1 Like