ubuntu18.04.1需要使用sar去监控服务器的资源使用情况,安装对应的依赖时报错,提示部分依赖不存在或者版本较低,具体报错信息如下:
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
libarchive13 : Depends: liblzo2-2 but it is not installable
sysstat : Depends: libsensors4 (>= 1:3.0.0) but it is not installable
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
解决方案: