Linux:centos安装keepalived出现错误

时间:2025-03-31 09:08:56
  • [root@ali usr]# yum install keepalived -y
  • Loaded plugins: fastestmirror
  • Loading mirror speeds from cached hostfile
  • * base:
  • * extras:
  • * updates:
  • Resolving Dependencies
  • --> Running transaction check
  • ---> Package keepalived.x86_64 0:1.3.5-19.el7 will be installed
  • --> Processing Dependency: .31()(64bit) for package: keepalived-1.3.5-19.el7.x86_64
  • --> Processing Dependency: .31()(64bit) for package: keepalived-1.3.5-19.el7.x86_64
  • --> Processing Dependency: .31()(64bit) for package: keepalived-1.3.5-19.el7.x86_64
  • --> Running transaction check
  • ---> Package net-snmp-agent-libs.x86_64 1:5.7.2-49.el7_9.2 will be installed
  • --> Processing Dependency: .18(libmysqlclient_18)(64bit) for package: 1:net-snmp-agent-libs-5.7.2-49.el7_9.2.x86_64
  • --> Processing Dependency: .4()(64bit) for package: 1:net-snmp-agent-libs-5.7.2-49.el7_9.2.x86_64
  • --> Processing Dependency: .18()(64bit) for package: 1:net-snmp-agent-libs-5.7.2-49.el7_9.2.x86_64
  • ---> Package net-snmp-libs.x86_64 1:5.7.2-49.el7_9.2 will be installed
  • --> Running transaction check
  • ---> Package lm_sensors-libs.x86_64 0:3.4.0-8.20160601gitf9185e5.el7 will be installed
  • ---> Package mariadb-libs.x86_64 1:5.5.68-1.el7 will be installed
  • Removing mariadb-libs.x86_64 1:5.5.68-1.el7 - u due to obsoletes from installed mysql-community-libs-5.7.22-1.el7.x86_64
  • --> Restarting Dependency Resolution with new changes.
  • --> Running transaction check
  • ---> Package mariadb-libs.x86_64 1:5.5.68-1.el7 will be installed
  • --> Processing Dependency: .18(libmysqlclient_18)(64bit) for package: 1:net-snmp-agent-libs-5.7.2-49.el7_9.2.x86_64
  • --> Processing Dependency: .18()(64bit) for package: 1:net-snmp-agent-libs-5.7.2-49.el7_9.2.x86_64
  • --> Finished Dependency Resolution
  • Error: Package: 1:net-snmp-agent-libs-5.7.2-49.el7_9.2.x86_64 (updates)
  • Requires: .18(libmysqlclient_18)(64bit)
  • Error: Package: 1:net-snmp-agent-libs-5.7.2-49.el7_9.2.x86_64 (updates)
  • Requires: .18()(64bit)
  • You could try using --skip-broken to work around the problem
  • You could try running: rpm -Va --nofiles --nodigest