解决ubuntu 10.04 下svn checkout 失败的问题
2012-02-06 11:01
309 查看
在ubuntu下使用svncheckout会失败
svn服务器是windows搭建的
1.不能直接使用域名。无法解析域名
2.ubuntu最新的ssl库有问题,需要使用老库。具体原因如下:
Fixing‘SSLhandshakefailed:SSLerror:Keyusageviolationin
with2comments
RecentlywhiletryingtocheckoutanSVNrepoviaunsignedsecuritycertificateoverhttps,hostedusingtheWindows-basedVisualSVNServerIdiscoveredanannoyancewiththenewerversionsofUbuntu.
ThebugonlyappearedafterupgradingtoUbuntu11.10.AfterdoingsomeinvestigationIdeterminedthatthebugwastheresultofswitchingfromusingOpenSSLinpreviousversionsofneon,thetoolusedforHTTPsupport
inSubversion,builtforUbuntu,tothenewerGnuTLSSSLlibrariesduetoamoreliberalLGPLlicense.
GnuTLSisconsideredtobelessmature,andhasamuchstricterpolicywhenitcomestokeyusageflagsbeingsetcorrectlyincertificates.
Thefixforthisbugisluckilyfairlystraightforward.AversionoflibneonexistswithOpenSSLsupportinUbuntu,bysimplyremovingtheGnuTLSversionandcreatingasymboliclinkeverythingwillbegintoworkagain.
使用命令:
[/code]
svn服务器是windows搭建的
1.不能直接使用域名。无法解析域名
2.ubuntu最新的ssl库有问题,需要使用老库。具体原因如下:
Fixing‘SSLhandshakefailed:SSLerror:Keyusageviolationin
certificatehasbeendetected.’erroronSVNcheckout
RecentlywhiletryingtocheckoutanSVNrepoviaunsignedsecuritycertificateoverhttps,hostedusingtheWindows-based
svn:Commitfailed(detailsfollow): svn:OPTIONSof'https://HOSTNAME/svn/repo':SSLhandshakefailed:SSLerror:Keyusageviolationincertificatehasbeendetected.(https://HOSTNAME)
ThebugonlyappearedafterupgradingtoUbuntu11.10.AfterdoingsomeinvestigationIdeterminedthatthebugwastheresultofswitchingfromusingOpenSSLinpreviousversionsof
inSubversion,builtforUbuntu,tothenewerGnuTLSSSLlibrariesduetoamoreliberalLGPLlicense.
GnuTLSisconsideredtobelessmature,andhasamuchstricterpolicywhenitcomestokeyusageflagsbeingsetcorrectlyincertificates.
Thefixforthisbugisluckilyfairlystraightforward.AversionoflibneonexistswithOpenSSLsupportinUbuntu,bysimplyremovingtheGnuTLSversionandcreatingasymboliclinkeverythingwillbegintoworkagain.
sudomv/usr/lib/libneon-gnutls.so.27/usr/lib/libneon-gnutls.so.27.old sudoln-s/usr/lib/libneon.so.27/usr/lib/libneon-gnutls.so.27
使用命令:
apt-getinstalllibneon27-dev安装老库
再运行
sudomv/usr/lib/libneon-gnutls.so.27/usr/lib/libneon-gnutls.so.27.old sudoln-s/usr/lib/libneon.so.27/usr/lib/libneon-gnutls.so.27
[/code]
svncheckout命令就好用了
另外。使用命令apt-cache可以搜索安装软件的信息
apt-cachesearchlibneon
11月19th,2008
linux中apt-cache命令的用法
Category:linux,Author:admin,Popularity:16%
apt-cache是linux下的一个apt软件包管理工具,它可查询apt的二进制软件包缓存文件。APT包管理的大多数信息查询功能都可以由apt-cache命令实现,通过apt-cache命令配合不同的子命令和参数的使用,可以实现查找,显示软件包信息及包依赖关系等功能.
1>apt-cacheshowpackage_name
显示指定软件包的信息,包括版本号,安装状态和包依赖关系等.
2>apt-cachesearchpackage_name
搜索软件包,可以按关键字查找软件包,通常用于查询的关键字会使用软件包的名字或软件包的一部分.
3>apt-cacheshowpkgpackage_name
显示软件包的依赖关系信息.
4>apt-cachestats
显示当前系统所使用的数据源的统计信息,用户可以使用该命令查看数据源的相关统计信息.
5>apt-cachepolicypackage_name
显示软件包的安装状态和版本信息.
6>apt-cachedependspackage_name
显示指定软件包所依赖的软件包。当用户需要了解某个软件包依赖于其他哪些包时,可以使用apt-cachedepends来查询包依赖关系.
7>apt-cacherdependspackage_name
查询指定软件包的反向依赖关系,即那些其他的软件包需要依赖你所指定的软件包做为安装和运行的必须条件.
8>apt-cachedump
显示缓存中的每个软件包的简要描述信息.
9>apt-cacheunmet
显示不符合一致性的依赖关系.
本文来源于时光漂流瓶http://www.9usb.net,原文地址: http://www.9usb.net/200811/linux-apt-cache.html
相关文章推荐
- 解决ubuntu 10.04 下svn checkout 失败的问题
- 解决ubuntu svn checkout https问题
- optiplex 380 安装Ubuntu 10.04无声音问题解决办法
- ubuntu搭建svn、git遇到的问题及解决办法
- ubuntu下解决longene-qq 退出之后再登录出现登录失败的问题
- svn清理失败且乱码 问题解决
- 解决SVN Clean up失败问题
- 在Ubuntu10.04下安装insight遇到的问题及解决办法
- Ubuntu10.04 apt-get 软件包安装失败的一种问题处理
- 关于VirtualBox Ubuntu开机挂在失败的问题解决
- ubuntu10.04中文乱码问题解决方法
- vlc在ubuntu15.04下安装成功(解决sudo apt-get build-dep vlc失败问题)
- ubuntu14.04安装wine失败问题解决
- 解决Ubuntu 10.04 睡眠后不能唤醒的问题
- Ubuntu 10.04开机画面低分辨率问题解决方案
- 解决SVN检出项目慢和总是失败的问题
- ubuntu 10.04 Rhythmbox播放器中文乱码问题解决。
- 解决ubuntu登陆失败,"Failed to start session"的问题
- linux上svn连接visual svn server时ssl鉴权失败,问题解决
- 怎么解决svn清理失败且路径显示乱码问题