Pregunta:
Actualmente tengo Git 1.7.1.0 instalado pero necesito actualizar a 1.7.1.1 (al menos). Intenté ejecutar:
sudo apt-get update
sudo apt-get upgrade
y también probé
sudo apt-get install git-core
pero cada vez recibo un mensaje que indica que no hay una versión posterior de git disponible. Tengo las siguientes fuentes de software configuradas en /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
Respuesta:
Para instalar el último estable desde la línea de comandos …
sudo apt-get install python-software-properties
sudo add-apt-repository ppa:git-core/ppa
sudo apt-get update
sudo apt-get install git
Esto debería permitirle instalar 1.8.2-1~ppa0~lucid2
.