Created
August 1, 2012 11:40
-
-
Save dolmen/3226067 to your computer and use it in GitHub Desktop.
git 1.7 on Debian Lenny
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Mise à jour du système | |
sudo vim /etc/sources.list | |
# - suppression de ftp.fr.debian.org qui ne contient plus lenny | |
# - ajout | |
# deb http://archive.debian.org/debian/ lenny main | |
# deb-src http://archive.debian.org/debian/ lenny main | |
gpg --keyserver subkeys.pgp.net --recv-keys AED4B06F473041FA | |
gpg -a --export AED4B06F473041FA | sudo apt-key add - | |
sudo apt-get update | |
sudo aptitude safe-upgrade | |
# Installation git depuis les backport | |
echo deb http://archive.debian.org/debian-backports/ lenny-backports main | sudo tee -a /etc/sources.list | |
sudo apt-get update | |
sudo aptitude install git |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
My solution:
EDIT /etc/apt/sources.list:
apt-get update
apt-get install -t lenny-backports git-core --no-install-recommends