分类: LINUX
2008-03-07 16:26:18
[root@vm1 ~]# rpm -ivh groundwork-monitor-core-5.1.3-8.rhel5.i386.rpm
Preparing... ########################################### [100%]
/var/tmp/rpm-tmp.6263: line 19: [: =: unary operator expected
Please edit /etc/hosts file...
It must be : 127.0.0.1 localhost localhost.localdomain
But you have...
error: %pre(groundwork-monitor-core-5.1.3-8.rhel5.i386) scriptlet failed, exit status 1
error: install: %pre scriptlet failed (2), skipping groundwork-monitor-core-5.1.3-8.rhel5
[root@vm1 ~]#vi /etc/hosts
127.0.0.1 localhost localhost.localdomain
[root@vm1 ~]# rpm -ivh --noscripts groundwork-monitor-core-5.1.3-8.rhel5.i386.rpm
Preparing... ########################################### [100%]
1:groundwork-monitor-core########################################### [100%]