redhat 中安装rpm包时遇到错误 “error: Failed dependencies:xinetd is needed by ....”
redhat中安装rpm包时遇到“error: Failed dependencies:”错误,如下:
rpm -ivh telnet-server-0.17-35.i386.rpm warning: telnet-server-0.17-35.i386.rpm: Header V3 DSA signature: NOKEY,4f2a6fd2 error: Failed dependencies: xinetd is needed by telnet-server-0.17-35.i386
解决方法:
1、先安装xinetd包
rpm -ivh xinetd-2.3.14-10.el5.x86_64.rpm 此rpm包在光盘介质中可以找到。
2、再安装telnet包
rpm -ivh telnet-server-0.17-35.i386.rpm
3、启动xinetd服务
service xinetd start
总之,需要先安装xinetd包即可。
4. 现在可以安装我们需要的rpm包了
rpm -ivh telnet-server-0.17-35.i386.rpm