我已经通过apt-get在Debian 7上安装了git,这给了我:
# git --version
git version 1.7.10.4
我想升级到git的最新版本。我试过了:
sudo apt-get install python-software-properties
sudo add-apt-repository ppa:git-core/ppa
sudo apt-get update
sudo apt-get install git
但这会产生以下错误:
Fetched 6,944 B in 0s (10.1 kB/s)
W: Failed to fetch http://ppa.launchpad.net/git-core/ppa/ubuntu/dists/wheezy/main/source/Sources 404 Not Found
W: Failed to fetch http://ppa.launchpad.net/git-core/ppa/ubuntu/dists/wheezy/main/binary-amd64/Packages 404 Not Found
我也尝试遵循此指南:
http://backports.debian.org/Instructions/
但我仍然无法获得最新的git,有什么建议吗?