Hi All,
I'm not able to install snmp package and libmysqlclient.so.18 getting dependency issue.
I checked with centos forum but they were asked to check with mysql community.
Please adivse to fix the issue.
root # yum install net-snmp
Loaded plugins: fastestmirror, langpacks
base | 3.6 kB 00:00:00
centos-local | 951 B 00:00:00
extras | 2.9 kB 00:00:00
updates | 2.9 kB 00:00:00
(1/2): extras/7/x86_64/primary_db | 165 kB 00:00:00
(2/2): updates/7/x86_64/primary_db | 7.6 MB 00:00:01
Loading mirror speeds from cached hostfile
* base: mirror.es.its.nyu.edu
* extras: mirror.es.its.nyu.edu
* updates: mirror.umd.edu
Resolving Dependencies
--> Running transaction check
---> Package net-snmp.x86_64 1:5.7.2-43.el7_7.3 will be installed
--> Processing Dependency: net-snmp-libs = 1:5.7.2-43.el7_7.3 for package: 1:net-snmp-5.7.2-43.el7_7.3.x86_64
--> Processing Dependency: net-snmp-agent-libs = 1:5.7.2-43.el7_7.3 for package: 1:net-snmp-5.7.2-43.el7_7.3.x86_64
--> Processing Dependency: libnetsnmptrapd.so.31()(64bit) for package: 1:net-snmp-5.7.2-43.el7_7.3.x86_64
--> Processing Dependency: libnetsnmpmibs.so.31()(64bit) for package: 1:net-snmp-5.7.2-43.el7_7.3.x86_64
--> Processing Dependency: libnetsnmpagent.so.31()(64bit) for package: 1:net-snmp-5.7.2-43.el7_7.3.x86_64
--> Processing Dependency: libmysqlclient.so.18()(64bit) for package: 1:net-snmp-5.7.2-43.el7_7.3.x86_64
--> Running transaction check
---> Package mariadb-libs.x86_64 1:5.5.64-1.el7 will be installed
---> Package net-snmp-agent-libs.x86_64 1:5.7.2-43.el7_7.3 will be installed
---> Package net-snmp-libs.x86_64 1:5.7.2-28.el7 will be updated
---> Package net-snmp-libs.x86_64 1:5.7.2-43.el7_7.3 will be an update
Removing mariadb-libs.x86_64 1:5.5.64-1.el7 - u due to obsoletes from installed mysql-community-libs-5.7.20-1.el7.x86_64
--> Restarting Dependency Resolution with new changes.
--> Running transaction check
---> Package mariadb-libs.x86_64 1:5.5.64-1.el7 will be installed
--> Processing Dependency: libmysqlclient.so.18(libmysqlclient_18)(64bit) for package: 1:net-snmp-agent-libs-5.7.2-43.el7_7.3.x86_64
--> Processing Dependency: libmysqlclient.so.18()(64bit) for package: 1:net-snmp-agent-libs-5.7.2-43.el7_7.3.x86_64
--> Processing Dependency: libmysqlclient.so.18()(64bit) for package: 1:net-snmp-5.7.2-43.el7_7.3.x86_64
--> Running transaction check
---> Package mariadb-libs.x86_64 1:5.5.56-2.el7 will be installed
Removing mariadb-libs.x86_64 1:5.5.56-2.el7 - u due to obsoletes from installed mysql-community-libs-5.7.20-1.el7.x86_64
--> Restarting Dependency Resolution with new changes.
--> Running transaction check
---> Package mariadb-libs.x86_64 1:5.5.56-2.el7 will be installed
--> Processing Dependency: libmysqlclient.so.18(libmysqlclient_18)(64bit) for package: 1:net-snmp-agent-libs-5.7.2-43.el7_7.3.x86_64
--> Processing Dependency: libmysqlclient.so.18()(64bit) for package: 1:net-snmp-agent-libs-5.7.2-43.el7_7.3.x86_64
--> Processing Dependency: libmysqlclient.so.18()(64bit) for package: 1:net-snmp-5.7.2-43.el7_7.3.x86_64
--> Finished Dependency Resolution
Error: Package: 1:net-snmp-5.7.2-43.el7_7.3.x86_64 (updates)
Requires: libmysqlclient.so.18()(64bit)
Error: Package: 1:net-snmp-agent-libs-5.7.2-43.el7_7.3.x86_64 (updates)
Requires: libmysqlclient.so.18()(64bit)
Error: Package: 1:net-snmp-agent-libs-5.7.2-43.el7_7.3.x86_64 (updates)
Requires: libmysqlclient.so.18(libmysqlclient_18)(64bit)
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
# exit
Thanks and Regards,
Prasanna GD.