View Full Version : what are the exact commands to install the hal rpm to my centos server?
Ryan Cleary
01-05-2008, 10:20 AM
As title says :/
hal relies on udev, but the vps cant handle nor needs udev, so we will force install it. sometimes we are smarter then the rpm dependencies so we need to override it as shown below.
bookmark this page, its your friend: http://mirror.centos.org/centos-4/4.6/os/i386/CentOS/RPMS/
[root@rwhois ~]# wget http://mirror.centos.org/centos-4/4.6/os/i386/CentOS/RPMS/hal-0.4.2-7.EL4.i386.rpm
--09:23:37-- http://mirror.centos.org/centos-4/4.6/os/i386/CentOS/RPMS/hal-0.4.2-7.EL4.i386.rpm
=> `hal-0.4.2-7.EL4.i386.rpm'
Resolving mirror.centos.org... 216.7.183.116
Connecting to mirror.centos.org|216.7.183.116|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 156,409 (153K) [application/x-rpm]
100%[================================================== ================================================== ================================================== ==========================================>] 156,409 338.36K/s
09:23:38 (337.23 KB/s) - `hal-0.4.2-7.EL4.i386.rpm' saved [156409/156409]
[root@rwhois ~]# rpm -ivh hal-0.4.2-7.EL4.i386.rpm
error: Failed dependencies:
dbus = 0.22 is needed by hal-0.4.2-7.EL4.i386
dbus-glib = 0.22 is needed by hal-0.4.2-7.EL4.i386
libdbus-1.so.0 is needed by hal-0.4.2-7.EL4.i386
libdbus-glib-1.so.0 is needed by hal-0.4.2-7.EL4.i386
udev >= 034-2 is needed by hal-0.4.2-7.EL4.i386
[root@rwhois ~]# rpm -ivh hal-0.4.2-7.EL4.i386.rpm --nodeps
Preparing... ########################################### [100%]
1:hal ########################################### [100%]
[root@rwhois ~]#
Ryan Cleary
01-05-2008, 10:35 AM
thanks rick!
you bet, post anything else and I'll help you in details. the info stays archived and will help others.
vBulletin® v3.7.1, Copyright ©2000-2009, Jelsoft Enterprises Ltd.