我试图在debian jessie上安装subversion 1.7
1)首先,我遵循本教程将SVN1.7添加到我的debian包列表http://sagar.se/svn-1.7-on-wheezy.html中
2)之后,我输入以下命令,以检查版本1.7是否可用。
apt-cache show subversion
Package: subversion
Version: 1.8.10-6
Installed-Size: 4621
Maintainer: Peter Samuelson <peter@p12n.org>
Architecture: amd64
Depends: libsvn1 (= 1.8.10-6), libapr1 (>= 1.4.8-2~), libaprutil1 (>= 1.2.7+dfsg), libc6 (>= 2.4), libldap-2.4-2 (>= 2.4.7), libsasl2-2
Suggests: subversion-tools, db5.3-util, patch
Description: Advanced version control system
Description-md5: 9fa4bc531e7ceb09fda8950bea636958
Homepage: http://subversion.apache.org/
Tag: devel::rcs, implemented-in::c++, implemented-in::python,
interface::commandline, network::client, network::server,
protocol::http, protocol::ssh, protocol::webdav, role::program,
use::storing, use::synchronizing
Section: vcs
Priority: optional
Filename: pool/main/s/subversion/subversion_1.8.10-6_amd64.deb
Size: 921760
MD5sum: cab50d3d1cd40811aec578b7670de173
SHA1: c5e6a887ca8fdf09065d1625c283623db8d37550
SHA256: 488056c324a7201b73cc8037826d1d3587e065de5a6c37af2c524456e227124e
Package: subversion
Version: 1.7.18-1+WANdisco
Architecture: amd64
Maintainer: Philip Herron <opensource@wandisco.com>
Installed-Size: 3755
Depends: libsvn1 (= 1.7.18-1+WANdisco), libapr1 (>= 1.4.8-2~), libaprutil1 (>= 1.2.7+dfsg), libc6 (>= 2.3), libneon27-gnutls, libsasl2-2
Suggests: subversion-tools, db4.8-util, patch
Filename: dists/jessie/svn17/binary-amd64/subversion_1.7.18-1+WANdisco_amd64.deb
Size: 718152
MD5sum: bebea938f9b182eebad5fe17b73a2f51
SHA1: c34e470368e590947b851c0057f5166100a62acb
SHA256: 8e7e109e8cb4f253266872da6b687b61cd7800f12e02fea50f41abe3a2eff3ac
3)尝试安装1.7版
apt-get install subversion=1.7.18-1+WAN-disco
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
subversion : Depends: libsvn1 (= 1.7.18-1+WANdisco) but 1.8.10-6 is to be installed
E: Unable to correct problems, you have held broken packages.
使用apt-cache,我看到libsvn1安装在1.7.18-1+WANdisco版本中.我如何解决这个问题,debian只看到版本1.8.10-6?
更新:
我尝试以下几种方法
apt-get install subversion=1.7.18-1+WANdisco libsvn1=1.7.18-1+WANdisco
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
libsvn1 : Depends: libserf1 (>= 1.3.7) but it is not installable
E: Unable to correct problems, you have held broken packages.
发布于 2016-10-21 08:29:13
正如您在博客中所看到的,这些包是为Debian制作的,其中只包含1.6.17版本。对于Debian,我认为您应该继续使用系统提供的1.8版本。
https://stackoverflow.com/questions/30714215
复制相似问题