다음 행을 추가하여 sources.list를 편집해야합니다.
deb http://ftp.ca.debian.org/debian/ jessie main contrib
그런 다음 패키지를 업그레이드하고 설치하십시오 git.
apt-get update && apt-get upgrade && apt-get dist-upgrade
apt-get -f install
apt-get install git
편집하다
다음 패키지 git, liberror-perl및 [rsync] (3) 로부터 다운로드 할 수 main는 없기 때문에, REPO main온의 repo sources.list설치 수 git와 그 종속성을.
당신 sources.list은 ( non-free패키지 와 함께 ) 해야합니다 :
deb http://ftp.ca.debian.org/debian/ jessie main contrib non-free
deb-src http://ftp.ca.debian.org/debian/ jessie main contrib non-free
deb http://security.debian.org/ jessie/updates main contrib non-free
deb-src http://security.debian.org/ jessie/updates main contrib non-free
deb http://ftp.ca.debian.org/debian/ jessie-updates main contrib non-free
deb-src http://ftp.ca.debian.org/debian/ jessie-updates main contrib non-free
deb http://ftp.ca.debian.org/debian/ jessie-backports main contrib non-free
데비안 스트레치 /etc/apt/sources.list에서는 최소한 다음과 같아야합니다.
deb http://deb.debian.org/debian stretch main
deb http://security.debian.org/ stretch/updates main
deb http://deb.debian.org/debian/ stretch-updates main
sudo apt -f install또는을 시도하십시오sudo aptitude -f.