次の行を追加して、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、あなたが持っていないので、レポmainあなたのレポ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
debian Stretchでは、/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。