2016-05-01 54 views
1

是相互依賴的情況下,我試圖在CentOS 6.7安裝geany轉, 這裏是提示:有geany安裝

[[email protected] 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 
[[email protected] 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 
[[email protected] Downloads]# 

這兩個RPM的相互dependent.How能這樣呢?

回答

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 
+0

從來沒有想過這個問題。謝謝! – WilliamC