Linux
嘗試安裝 SVN 客戶端 Scientific Linux
我正在嘗試在 Scientific Linux 上安裝 SVN 客戶端,但如果我執行“sudo yum install subversion”,我會得到以下輸出
Loaded plugins: refresh-packagekit, security Setting up Install Process Resolving Dependencies --> Running transaction check ---> Package subversion.x86_64 0:1.7.8-1 will be installed --> Processing Dependency: liblber-2.3.so.0()(64bit) for package: subversion-1.7.8-1.x86_64 --> Processing Dependency: libexpat.so.0()(64bit) for package: subversion-1.7.8-1.x86_64 --> Processing Dependency: libdb-4.3.so()(64bit) for package: subversion-1.7.8-1.x86_64 --> Processing Dependency: libneon.so.25()(64bit) for package: subversion-1.7.8-1.x86_64 --> Processing Dependency: libcrypto.so.6()(64bit) for package: subversion-1.7.8-1.x86_64 --> Processing Dependency: libldap-2.3.so.0()(64bit) for package: subversion-1.7.8-1.x86_64 --> Processing Dependency: libssl.so.6()(64bit) for package: subversion-1.7.8-1.x86_64 --> Running transaction check ---> Package compat-db43.x86_64 0:4.3.29-15.el6 will be installed ---> Package compat-expat1.x86_64 0:1.95.8-8.el6 will be installed ---> Package compat-openldap.x86_64 1:2.3.43-2.el6 will be installed ---> Package openssl098e.x86_64 0:0.9.8e-17.el6_2.2 will be installed ---> Package subversion.x86_64 0:1.7.8-1 will be installed --> Processing Dependency: libneon.so.25()(64bit) for package: subversion-1.7.8-1.x86_64 --> Finished Dependency Resolution You could try using --skip-broken to work around the problem ** Found 1 pre-existing rpmdb problem(s), 'yum check' output follows: httpd-tools-2.2.15-15.sl6.1.x86_64 is a duplicate with httpd-tools-2.2.15-15.sl6.x86_64
您安裝的軟體包(特別
httpd-tools
是 )與分發儲存庫不同步。您需要重新同步,然後才能繼續前進。要解決此問題:
- 用於
yum clean all
擦除本地記憶體和元數據。它將在您下次執行時重建yum
。- 用於
yum distro-sync
使您的系統與儲存庫的狀態同步。這可能會升級和降級軟體包,因此在送出之前仔細檢查它打算做什麼。完成後,您應該能夠安裝更多軟體包(例如
subversion
)。