我的 SUSE (SUSE Linux Enterprise Server 11 (x86_64)) 安裝了舊的 svn。我想升級它,但如果我下載 SLE 11 的軟體包並嘗試安裝它,via zypper install subversion-1.7.5-83.1.x86_64.rpm
我得到
Problem: nothing provides libserf-1.so.0 needed by subversion-1.7.5-83.1.i586
Solution 1: do not ask to install a solvable providing subversion = 0:1.7.5-83.1
Solution 2: break subversion by ignoring some of its dependencies
是否可以選擇 1 或 2,或取消安裝過程並以不同的方式進行?
答案1
按照說明進行操作http://software.opensuse.org/download.html?project=devel:tools:scm:svn&package=subversion安裝最新的顛覆。
zypper addrepo http://download.opensuse.org/repositories/devel:tools:scm:svn/SLE_11/devel:tools:scm:svn.repo
zypper refresh
zypper install subversion
答案2
libserf 或 libneon(客戶端可選)
The Serf and Neon libraries both allow the Subversion client to send HTTP requests. This is necessary if you want your client to access a repository served by the Apache HTTP server. There is an alternate 'svnserve' server as well, though, and clients automatically know how to speak the svnserve protocol. Thus it's not strictly necessary for your client to be able to speak HTTP... though we still recommend that your client be built to speak both HTTP and svnserve protocols. Your client can be compiled against either libserf or libneon (or both), as they offer competing implementations.
我不相信 SLES 存在安裝這些庫的二進位文件,因此您需要從原始程式碼下載並編譯 serf(和/或 neon)。
之後,請務必ldconfig
在再次嘗試安裝 SVN 之前運行,以便可以看到新安裝的農奴庫。