centos yum heartbeat
朋友们好,我在centos5.6中部署heartbeat,通过 yum install ,yum 源没有改变。用的是系统默认的。
yum install 失败了。详细信息如下
yum install heartbeat
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: ftp.riken.jp
* extras: ftp.jaist.ac.jp
* updates: mirror01.idc.hinet.net
base | 1.1 kB 00:00
extras | 2.1 kB 00:00
updates | 1.9 kB 00:00
updates/primary_db | 385 kB 00:05
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package heartbeat.i386 0:2.1.3-3.el5.centos set to be updated
--> Processing Dependency: heartbeat-stonith = 2.1.3-3.el5.centos for package: heartbeat
--> Processing Dependency: heartbeat-pils = 2.1.3-3.el5.centos for package: heartbeat
--> Processing Dependency: libpils.so.1 for package: heartbeat
--> Processing Dependency: libstonith.so.1 for package: heartbeat
--> Running transaction check
---> Package heartbeat-pils.i386 0:2.1.3-3.el5.centos set to be updated
---> Package heartbeat-stonith.i386 0:2.1.3-3.el5.centos set to be updated
--> Finished Dependency Resolution
Dependencies Resolved
======================================================================================
Package Arch Version Repository Size
======================================================================================
Installing:
heartbeat i386 2.1.3-3.el5.centos extras 1.7 M
Installing for dependencies:
heartbeat-pils i386 2.1.3-3.el5.centos extras 213 k
heartbeat-stonith i386 2.1.3-3.el5.centos extras 311 k
Transaction Summary
======================================================================================
Install 3 Package(s)
Upgrade 0 Package(s)
Total download size: 2.2 M
Is this ok [y/N]: y
Downloading Packages:
(1/3): heartbeat-pils-2.1.3-3.el5.centos.i386.rpm | 213 kB 00:04
(2/3): heartbeat-stonith-2.1.3-3.el5.centos.i386.rpm | 311 kB 00:05
(3/3): heartbeat-2.1.3-3.el5.centos.i386.rpm | 1.7 MB 00:30
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Total 49 kB/s | 2.2 MB 00:45
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
Installing : heartbeat-pils 1/3
Installing : heartbeat-stonith 2/3
useradd锛..??hacluster 宸插.?
error: %pre(heartbeat-2.1.3-3.el5.centos.i386) scriptlet failed, exit status 9
error: install: %pre scriptlet failed (2), skipping heartbeat-2.1.3-3.el5.centos
Installed:
heartbeat.i386 0:2.1.3-3.el5.centos
Dependency Installed:
heartbeat-pils.i386 0:2.1.3-3.el5.centos heartbeat-stonith.i386 0:2.1.3-3.el5.centos
有几点疑问
1. heartbeat现在新版本应该是3.03 ,yum不能自动更新到最新吗?只能根据yum源上的版本去更新?
2. 报的3个error是什么原因呢?该如何解决呢?
谢谢
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
一般找最新的版本,版本2里最新的是2.1.4,你可以到这里下载:
32bit:
http://pkgs.org/centos-5-rhel-5/epel-i386/6/
64bit:
http://pkgs.org/centos-5-rhel-5/epel-x86_64/5/
回复 2# dooza
谢谢