Ubuntu下,安装类似ToitorseSVN的工具:RabbitVCS

来源:互联网 发布:mac怎么查看隐藏文件 编辑:程序博客网 时间:2024/05/26 12:06

我的系统是Ubuntu 12.04 LTS

打开终端,执行如下命令:
sudo add-apt-repository ppa:rabbitvcs/ppa
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 34EF4A35
sudo apt-get update
sudo apt-get install rabbitvcs-cli rabbitvcs-core rabbitvcs-gedit rabbitvcs-nautilus rabbitvcs-thunar thunarx-python

会有如下的报错:
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:
 rabbitvcs-nautilus : Depends: nautilus (< 1:3.0~) but 1:3.4.2-0ubuntu8 is to be installed
                      Depends: python-nautilus (< 1.0~) but 1.1-3 is to be installed
 rabbitvcs-thunar : Depends: thunarx-python (>= 0.3.0) but 0.2.0-1~precise is to be installed
E: Unable to correct problems, you have held broken packages.

原因是rabbitvcs-nautilusrabbitvcs-thunar,这两个安装不了!
前者,可以用rabbitvcs-nautilus3代替,后者没办法,只能不装了吧!

关闭虚拟机,再重启,使用鼠标右键菜单里的RabbitVCS SVN的功能,总报如下的错:
SSL handshake failed: SSL error: Key usage violation in certificate has been detected.
看到网上说,用如下的命令,可以消除上面的错误:
sudo mv /usr/lib/libneon-gnutls.so.27 /usr/lib/libneon-gnutls.so.27.old
sudo ln -s /usr/lib/libneon.so.27 /usr/lib/libneon-gnutls.so.27

但我这却不行,后来发现时libneon.so.27不存在,于是的先安装它:
gaojs@ubuntu:~$ sudo apt-get install libneon27
安装后,再执行上述命令,然后,RabbitVCS就正常可用了!
(又试了下rabbitvcs-thunar,仍然安装不了!能用就行了!)

0 0
原创粉丝点击