red hat linux 安装lm_sensors不成功提示,试了网上好多方法不成功
You could try using --skip-broken to work around the problem
** Found 3 pre-existing rpmdb problem(s), 'yum check' output follows:
PackageKit-0.5.8-26.el6.x86_64 has missing requires of PackageKit-yum = ('0', '0.5.8', '26.el6')
PackageKit-0.5.8-26.el6.x86_64 has missing requires of PackageKit-yum-plugin = ('0', '0.5.8', '26.el6')
rhn-check-1.0.0.1-43.el6.noarch has missing requires of yum-rhn-plugin >= ('0', '0.9.1', '35')
解决问题:
更新所有的yum update
再次安装成功 sudo yum install lm_sensors
https://blog.csdn.net/qishi_blog/article/details/80073021
虚拟机里面的效果
[root@TestCenter Desktop]# sensors
coretemp-isa-0000
Adapter: ISA adapter
Physical id 0:+100.0°C (high = +100.0°C, crit = +100.0°C)
Core 0: +100.0°C (high = +100.0°C, crit = +100.0°C)
Core 1: +100.0°C (high = +100.0°C, crit = +100.0°C)
Core 2: +100.0°C (high = +100.0°C, crit = +100.0°C)
Core 3: +100.0°C (high = +100.0°C, crit = +100.0°C)coretemp-isa-0001
Adapter: ISA adapter
Physical id 1:+100.0°C (high = +100.0°C, crit = +100.0°C)
Core 0: +100.0°C (high = +100.0°C, crit = +100.0°C)
Core 1: +100.0°C (high = +100.0°C, crit = +100.0°C)
Core 2: +100.0°C (high = +100.0°C, crit = +100.0°C)
Core 3: +100.0°C (high = +100.0°C, crit = +100.0°C)