- add the backport mirrors to /etc/apt/sources.list
deb http://ftp.tw.debian.org/backports.org/ etch-backports main non-free
deb-src http://ftp.tw.debian.org/backports.org/ etch-backports main non-free - import backports.org archive's key into apt
# apt-get install debian-backports-keyring
(or # wget -O - http://backports.org/debian/archive.key | apt-key add -)
- resynchronize the package index files from their sources
# apt-get update - remove previously installed git
# apt-get remove git-core - install git from
# apt-get -t etch-backports install git-core
(or # aptitude -t etch-backports install "git-core") - finish
# git --version
git version 1.5.6.3
For more information, take a look at Debian Backports wiki.
No comments:
Post a Comment