我目前安装了 Git 1.7.1.0,但需要升级到 1.7.1.1(至少)。我尝试运行:
sudo apt-get update
sudo apt-get upgrade
Run Code Online (Sandbox Code Playgroud)
也试过了
sudo apt-get install git-core
Run Code Online (Sandbox Code Playgroud)
但每次我收到一条消息,表明没有更高版本的 git 可用。我配置了以下软件源/etc/apt/sources.list
deb http://ubunturepo.de.bonial.lan lucid main restricted multiverse universe
deb http://ubunturepo.de.bonial.lan lucid-security main restricted multiverse universe
deb http://ubunturepo.de.bonial.lan lucid-updates main restricted multiverse universe
deb http://archive.canonical.com/ lucid partner
deb http://ppa.launchpad.net/ubuntugis/ubuntugis-unstable/ubuntu lucid main
deb-src http://ppa.launchpad.net/ubuntugis/ubuntugis-unstable/ubuntu lucid main
deb http://archive.ubuntu.com/ubuntu lucid multiverse universe
Run Code Online (Sandbox Code Playgroud)
Rin*_*ind 34
要从命令行安装最新的稳定版...
sudo apt-get install python-software-properties
sudo add-apt-repository ppa:git-core/ppa
sudo apt-get update
sudo apt-get install git
Run Code Online (Sandbox Code Playgroud)
这应该让你安装1.8.2-1~ppa0~lucid2
.
归档时间: |
|
查看次数: |
15990 次 |
最近记录: |