P
P
pred8or2015-07-19 23:40:35
Red Hat Enterprise Linux
pred8or, 2015-07-19 23:40:35

Is it possible to put lm_sensors on XenServer?

I wanted to collect data on the state of the equipment, especially the temperature on a server running Citrix XenServer. Yes, it is not recommended to put anything in dom0, but there is no other way out.

[[email protected] ~]#  yum install lm_sensors
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
Could not retrieve mirrorlist http://updates.vmd.citrix.com/XenServer/6.5.0/domain0/mirrorlist error was
[Errno 14] HTTP Error 404: Not Found
Error: Cannot find a valid baseurl for repo: citrix

Somewhere on reddit I found a hint on how to modify the team. Did not help:
[[email protected] ~]# yum --enablerepo=base --disablerepo=citrix install lm_sensors
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: mirror.corbina.net
base                                                     | 1.1 kB     00:00
Excluding Packages from CentOS-5 - Base
Finished
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package lm_sensors.i386 0:2.10.7-9.el5 set to be updated
--> Processing Dependency: libc.so.6(GLIBC_2.4) for package: lm_sensors
--> Processing Dependency: libm.so.6(GLIBC_2.0) for package: lm_sensors
--> Processing Dependency: libc.so.6(GLIBC_2.1.3) for package: lm_sensors
--> Processing Dependency: libsysfs.so.2 for package: lm_sensors
--> Processing Dependency: libm.so.6 for package: lm_sensors
--> Processing Dependency: libc.so.6(GLIBC_2.2) for package: lm_sensors
--> Processing Dependency: libc.so.6 for package: lm_sensors
--> Processing Dependency: libc.so.6(GLIBC_2.3.4) for package: lm_sensors
--> Processing Dependency: libc.so.6(GLIBC_2.1) for package: lm_sensors
--> Processing Dependency: libc.so.6(GLIBC_2.0) for package: lm_sensors
---> Package lm_sensors.x86_64 0:2.10.7-9.el5 set to be updated
--> Running transaction check
---> Package glibc.i686 0:2.5-123 set to be updated
--> Processing Dependency: glibc-common = 2.5-123 for package: glibc
---> Package libsysfs.i386 0:2.1.0-1.el5 set to be updated
--> Finished Dependency Resolution
glibc-2.5-123.i686 from base has depsolving problems
  --> Missing Dependency: glibc-common = 2.5-123 is needed by package glibc-2.5-123.i686 (base)
Error: Missing Dependency: glibc-common = 2.5-123 is needed by package glibc-2.5-123.i686 (base)
 You could try using --skip-broken to work around the problem
 You could try running: package-cleanup --problems
                        package-cleanup --dupes
                        rpm -Va --nofiles --nodigest

The problem seems to be that the package needs a very specific version of glibc-common, while the following version of the package is installed on the system:
[[email protected] ~]# yum --enablerepo=base --disablerepo=citrix list glibc-common
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: mirror.corbina.net
Excluding Packages from CentOS-5 - Base
Finished
Installed Packages
glibc-common.x86_64                  2.5-123.el5_11.1                  installed

I even tried installing gcc to compile from source. So he also needs the same version of glibc.
Is there any way out?

Answer the question

In order to leave comments, you need to log in

[[+comments_count]] answer(s)
A
Argenon, 2015-07-20
@pred8or

Doesn't it bother you that XenServer is 64-bit, and he is trying to install a 32-bit library? Specify the specific bit depth of the package.

P
Puma Thailand, 2015-07-20
@opium

update xen server to latest version first

D
dimavoron, 2016-11-18
@dimavoron

I have a similar problem with XenServer 6.5 (all updates are up to XS65ESP1041) but only with gcc, I can't install it, yum install --enablerepo=base gcc swears at
--> Finished Dependency Resolution
glibc-2.5-123.i686 from base has depsolving problems
--> Missing Dependency: glibc-common = 2.5-123 is needed by package glibc-2.5-123.i686 (base)
Error: Missing Dependency: glibc-common = 2.5-123 is needed by package glibc-2.5-123 .i686 (base)
Although everything is in place
yum list --enablerepo=base glibc-common
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: mirror.yandex.ru
Excluding Packages from CentOS-5 - Base
Finished
Installed Packages
glibc-common.x86_64 2.5-123.el5_11.1 installed
I installed XEN on another computer and that's what I managed to find out, before installing the XS65E003 update, everything was fine and gcc itself updates the dependencies it needs (glibc-common), but what to do if the updates are already installed?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question