[YumRPMCheckError] Error with transaction check vs depsolve (mariadb-libs, cups-libs)

Hello there
For somehow I am having errors when installing packages from software center. This is a fresh NS installation. I tried several packages with no luck. Below the command output from the error. any help will be much more appreciated.

Example of error from the lagacy server manager

My NS server

Just thinking out loud (and probably a longshot) Could it be possible nethserver versions are mixed, since we are in transition of NS7.8 to NS7.9?
@dev_team

1 Like

Few chances I bet @robb

Please go to the terminal

Verify you have internet

ping -c 2 google.fr

Clean yum

yum clean all --enablerepo=*

Then try to install

yum install nethserver-mysql

Please display the full output

[root@ns ~]# yum clean all --enablerepo=*
Loaded plugins: changelog, fastestmirror, nethserver_events
Cleaning repos: C7.0.1406-base C7.0.1406-centosplus C7.0.1406-extras C7.0.1406-fasttrack
: C7.0.1406-updates C7.1.1503-base C7.1.1503-centosplus C7.1.1503-extras
: C7.1.1503-fasttrack C7.1.1503-updates C7.2.1511-base C7.2.1511-centosplus
: C7.2.1511-extras C7.2.1511-fasttrack C7.2.1511-updates C7.3.1611-base
: C7.3.1611-centosplus C7.3.1611-extras C7.3.1611-fasttrack C7.3.1611-updates
: C7.4.1708-base C7.4.1708-centosplus C7.4.1708-extras C7.4.1708-fasttrack
: C7.4.1708-updates C7.5.1804-base C7.5.1804-centosplus C7.5.1804-extras
: C7.5.1804-fasttrack C7.5.1804-updates C7.6.1810-base C7.6.1810-centosplus
: C7.6.1810-extras C7.6.1810-fasttrack C7.6.1810-updates C7.7.1908-base
: C7.7.1908-centosplus C7.7.1908-extras C7.7.1908-fasttrack C7.7.1908-updates
: C7.8.2003-base C7.8.2003-centosplus C7.8.2003-extras C7.8.2003-fasttrack
: C7.8.2003-updates base base-debuginfo base-source c7-media ce-base ce-extras
: ce-sclo-rh ce-sclo-sclo ce-updates centos-kernel centos-kernel-experimental
: centos-sclo-rh centos-sclo-rh-debuginfo centos-sclo-rh-source
: centos-sclo-rh-testing centos-sclo-sclo centos-sclo-sclo-debuginfo
: centos-sclo-sclo-source centos-sclo-sclo-testing centosplus centosplus-source
: cr epel epel-debuginfo epel-source epel-testing epel-testing-debuginfo
: epel-testing-source extras extras-source fasttrack nethforge nethforge-testing
: nethserver-base nethserver-testing nethserver-updates sb-base
: sb-centos-sclo-rh sb-centos-sclo-sclo sb-epel sb-extras sb-nethserver-base
: sb-nethserver-updates sb-updates updates updates-source
Cleaning up list of fastest mirrors
[root@ns ~]# yum install nethserver-mysql
Loaded plugins: changelog, fastestmirror, nethserver_events
Determining fastest mirrors
epel/x86_64/metalink | 18 kB 00:00:00

  • ce-base: ewr.edge.kernel.org
  • ce-extras: ewr.edge.kernel.org
  • ce-sclo-rh: ewr.edge.kernel.org
  • ce-sclo-sclo: ewr.edge.kernel.org
  • ce-updates: ewr.edge.kernel.org
  • epel: ftp.cse.buffalo.edu
  • nethforge: nethserver.interlin.nl
  • nethserver-base: nethserver.interlin.nl
  • nethserver-updates: nethserver.interlin.nl
    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 | 153 kB 00:00:00
    (2/14): ce-extras/7/x86_64/primary_db | 206 kB 00:00:01
    (3/14): epel/x86_64/group_gz | 95 kB 00:00:00
    (4/14): ce-sclo-sclo/7/x86_64/primary_db | 297 kB 00:00:02
    (5/14): epel/x86_64/updateinfo | 1.0 MB 00:00:00
    (6/14): nethforge/7/x86_64/group_gz | 1.9 kB 00:00:00
    (7/14): nethforge/7/x86_64/primary_db | 103 kB 00:00:00
    (8/14): ce-base/7/x86_64/primary_db | 6.1 MB 00:00:03
    (9/14): nethserver-base/7/x86_64/primary_db | 376 kB 00:00:00
    (10/14): nethserver-updates/7/x86_64/group_gz | 22 kB 00:00:00
    (11/14): nethserver-updates/7/x86_64/primary_db | 612 kB 00:00:02
    (12/14): ce-sclo-rh/7/x86_64/primary_db | 2.9 MB 00:00:06
    (13/14): ce-updates/7/x86_64/primary_db | 4.5 MB 00:00:06
    (14/14): epel/x86_64/primary_db | 6.9 MB 00:00:07
    Resolving Dependencies
    → Running transaction check
    —> Package nethserver-mysql.noarch 0:1.1.5-1.ns7 will be installed
    → Processing Dependency: perl-Expect for package: nethserver-mysql-1.1.5-1.ns7.noarch
    → Processing Dependency: perl(Expect) for package: nethserver-mysql-1.1.5-1.ns7.noarch
    → Processing Dependency: mariadb-server for package: nethserver-mysql-1.1.5-1.ns7.noarch
    → Running transaction check
    —> Package mariadb-server.x86_64 1:5.5.65-1.el7 will be installed
    → Processing Dependency: mariadb-libs(x86-64) = 1:5.5.65-1.el7 for package: 1:mariadb-server-5.5.65-1.el7.x86_64
    → Processing Dependency: mariadb(x86-64) = 1:5.5.65-1.el7 for package: 1:mariadb-server-5.5.65-1.el7.x86_64
    → Processing Dependency: perl-DBI for package: 1:mariadb-server-5.5.65-1.el7.x86_64
    → Processing Dependency: perl-DBD-MySQL for package: 1:mariadb-server-5.5.65-1.el7.x86_64
    → Processing Dependency: perl(DBI) for package: 1:mariadb-server-5.5.65-1.el7.x86_64
    —> Package perl-Expect.noarch 0:1.21-14.el7 will be installed
    → Processing Dependency: perl(IO::Pty) >= 1.03 for package: perl-Expect-1.21-14.el7.noarch
    → Processing Dependency: perl(IO::Tty) for package: perl-Expect-1.21-14.el7.noarch
    → Running transaction check
    —> Package mariadb.x86_64 1:5.5.65-1.el7 will be installed
    → Processing Dependency: mariadb-libs(x86-64) = 1:5.5.65-1.el7 for package: 1:mariadb-5.5.65-1.el7.x86_64
    —> Package mariadb-server.x86_64 1:5.5.65-1.el7 will be installed
    → Processing Dependency: mariadb-libs(x86-64) = 1:5.5.65-1.el7 for package: 1:mariadb-server-5.5.65-1.el7.x86_64
    —> Package perl-DBD-MySQL.x86_64 0:4.023-6.el7 will be installed
    —> Package perl-DBI.x86_64 0:1.627-4.el7 will be installed
    → Processing Dependency: perl(RPC::PlServer) >= 0.2001 for package: perl-DBI-1.627-4.el7.x86_64
    → Processing Dependency: perl(RPC::PlClient) >= 0.2000 for package: perl-DBI-1.627-4.el7.x86_64
    —> Package perl-IO-Tty.x86_64 0:1.10-11.el7 will be installed
    → Running transaction check
    —> Package mariadb.x86_64 1:5.5.65-1.el7 will be installed
    → Processing Dependency: mariadb-libs(x86-64) = 1:5.5.65-1.el7 for package: 1:mariadb-5.5.65-1.el7.x86_64
    —> Package mariadb-server.x86_64 1:5.5.65-1.el7 will be installed
    → Processing Dependency: mariadb-libs(x86-64) = 1:5.5.65-1.el7 for package: 1:mariadb-server-5.5.65-1.el7.x86_64
    —> Package perl-PlRPC.noarch 0:0.2020-14.el7 will be installed
    → Processing Dependency: perl(Net::Daemon) >= 0.13 for package: perl-PlRPC-0.2020-14.el7.noarch
    → Processing Dependency: perl(Net::Daemon::Test) for package: perl-PlRPC-0.2020-14.el7.noarch
    → Processing Dependency: perl(Net::Daemon::Log) for package: perl-PlRPC-0.2020-14.el7.noarch
    → Running transaction check
    —> Package mariadb.x86_64 1:5.5.65-1.el7 will be installed
    → Processing Dependency: mariadb-libs(x86-64) = 1:5.5.65-1.el7 for package: 1:mariadb-5.5.65-1.el7.x86_64
    —> Package mariadb-server.x86_64 1:5.5.65-1.el7 will be installed
    → Processing Dependency: mariadb-libs(x86-64) = 1:5.5.65-1.el7 for package: 1:mariadb-server-5.5.65-1.el7.x86_64
    —> Package perl-Net-Daemon.noarch 0:0.48-5.el7 will be installed
    → Finished Dependency Resolution
    Error: Package: 1:mariadb-server-5.5.65-1.el7.x86_64 (ce-base)
    Requires: mariadb-libs(x86-64) = 1:5.5.65-1.el7
    Installed: 1:mariadb-libs-5.5.68-1.el7.x86_64 (@base)
    mariadb-libs(x86-64) = 1:5.5.68-1.el7
    Available: 1:mariadb-libs-5.5.65-1.el7.x86_64 (ce-base)
    mariadb-libs(x86-64) = 1:5.5.65-1.el7
    Error: Package: 1:mariadb-5.5.65-1.el7.x86_64 (ce-base)
    Requires: mariadb-libs(x86-64) = 1:5.5.65-1.el7
    Installed: 1:mariadb-libs-5.5.68-1.el7.x86_64 (@base)
    mariadb-libs(x86-64) = 1:5.5.68-1.el7
    Available: 1:mariadb-libs-5.5.65-1.el7.x86_64 (ce-base)
    mariadb-libs(x86-64) = 1:5.5.65-1.el7
    You could try using --skip-broken to work around the problem
    You could try running: rpm -Va --nofiles --nodigest
    [root@ns ~]#

A version repository problem. A clue:

http://mirror.centos.org/centos/7/os/x86_64/Packages/

1 Like

cat /etc/nethserver-release

[root@ns ~]# cat /etc/nethserver-release
NethServer release 7.8.2003 (final)
[root@ns ~]#

when did you installed NS, you have a mariadb-libs not expected for this version (eg it looks like ns7.9, NS7.8 is expected)

on my server ns7.8
[root@ns7loc11 ~]# rpm -qa | grep mariadb

mariadb-libs-5.5.65-1.el7.x86_64

NethServer was installed from CentOS or from NethServer ISO?
What is the outcome of cat /etc/centos-release ?

1 Like

installed yesterday november 14 2020.

installed from centos minimal

Probably too early, if centos-minimal is 7.9, it is not good

so do you suggest to re-install from NS iso ?

Yes or use a centos-minimal 7.8

Good shot :slight_smile:

1 Like

My centos minimal usb bootable is dated back to 2018. So how should I make sure to use minimal 7.8 instead of 7.9 ?

Maybe the issue deserves a note on the manual/documentation.

OK I can confirm I did not used minimal 7.9 or 7.8
This the my iso

and from what I can see, it correspond to centos 7.5

I will try with centos minimal 7.8

But after installation I suppose you did a yum update, as it is usually done. The default CentOS repos point the major release of CentOS (7), which in turn points to v7.9.2009 (at the time of writing).

In short:

  1. Install CentOS minimal (7.8.2003)
  2. Do not update
  3. Install nethserver rpm
  4. run nethserver-install (which shall modify repos)
  5. run yum update
  6. install modules
1 Like