
我的 RHEL 5.3 機器上有 1.4.2 版本的 svn。我嘗試更新並收到以下訊息。我該怎麼辦 ?
[foo@bar adminui]# svn --version
svn, version 1.4.2 (r22196)
compiled Sep 1 2008, 06:38:03
Copyright (C) 2000-2006 CollabNet.
Subversion is open source software, see http://subversion.tigris.org/
This product includes software developed by CollabNet (http://www.Collab.Net/).
The following repository access (RA) modules are available:
* ra_dav : Module for accessing a repository via WebDAV (DeltaV) protocol.
- handles 'http' scheme
- handles 'https' scheme
* ra_svn : Module for accessing a repository using the svn network protocol.
- handles 'svn' scheme
* ra_local : Module for accessing a repository on local disk.
- handles 'file' scheme
[foo@bar adminui]# which svn
/usr/bin/svn
[foo@bar adminui]# yum update svn
Setting up Update Process
No Packages marked for Update
我需要使用 1.6.x 版本的 svn 才能完成我的工作。
更新1
[foo@bar target]# yum update subversion
Setting up Update Process
No Packages marked for Update
我怎麼能欺騙「yum」工具來取得正確版本的 subversion ?
更新2
# yum repolist
repo id repo name status
adobe-linux-i386 Adobe Systems Incorporated enabled : 17
base Base Repo for 5.30-5Client - x86_64 enabled : 1,953
desktop-install Recurring Desktop installs enabled : 0
desktop-update Recurring Desktop updates enabled : 143
engineering-install Recurring Engineering installs enabled : 0
engineering-update Recurring Engineering updates enabled : 42
epel Extra Packages for Enterprise Linux 5 - enabled : 6,897
google Google - i386 enabled : 5
google64 Google - x86_64 enabled : 4
rbel5 RBEL 5 Repo enabled : 197
rpmforge Red Hat Enterprise 5.30 - RPMforge.net - enabled : 11,020
vt Base Repo for 5.30-5Client - x86_64 enabled : 40
workstation Base Repo for 5.30-5Client - x86_64 enabled : 1,205
為了隱私/安全,我從上面的清單中刪除了一些特定於組織的儲存庫。
我該怎麼做才能將 subversion 更新到最新版本?
UDP日期3
我發現我們的管理員在 /usr/corp/bin 中有最新版本的 svn。感謝您的回答和時間:-)
答案1
該軟體包稱為“subversion”,版本為 1.6.11。
答案2
你不能「欺騙」 yum 工具做任何事。要回答您的問題,更新subversion
軟體包就像 一樣簡單yum update subversion
。 RHN 5 repo 中 svn 的最新版本是 1.6.11-7。如果這不起作用,請檢查您是否已註冊yum repolist
。
也將你的 Linux 機器修補到 RHEL 5.7,你遠遠落後我的朋友。