我尝试在centOS 6.7上安装geany rpm, 这是提示:
[root@localhost Downloads]# rpm -Uvh geany-1.27-1.el6.x86_64.rpm
error: Failed dependencies:
geany-libgeany = 1.27-1.el6 is needed by geany-1.27-1.el6.x86_64
libgeany.so.0()(64bit) is needed by geany-1.27-1.el6.x86_64
[root@localhost Downloads]# rpm -Uvh geany-libgeany-1.27-1.el6.x86_64.rpm
error: Failed dependencies:
geany = 1.27-1.el6 is needed by geany-libgeany-1.27-1.el6.x86_64
[root@localhost Downloads]#
这两个rpms是相互依赖的。这怎么可能发生?
答案 0 :(得分:3)
这很常见。你只需要将它们安装在一起:
rpm -Uvh geany-1.27-1.el6.x86_64.rpm geany-libgeany-1.27-1.el6.x86_64.rpm
甚至更好:
yum install geany-1.27-1.el6.x86_64.rpm geany-libgeany-1.27-1.el6.x86_64.rpm