I am attempting to install git on Debian 8.6 Jessie and have run into some dependency issues. What's odd is that I didn't have any issues the few times I recently installed Git in a VM while I was getting used to Linux.apt-get install git Results in:The following packages have unmet dependencies:  git : Depends: liberror-perl but is not installable        Recommends: rsync but it is not installableE: Unable to correct problems, you have held broken packages.UPDATEmy sources.listSeems to be an issue with my system. I can no longer properly install anything. I'm getting dependency issues installing things like Pulseaudio which I've previously installed successfully a few days ago.
Unmet dependencies while installing Git on Debian
debian;apt;package management;git;dependencies
You should edit your sources.list , by adding the following line:deb http://ftp.ca.debian.org/debian/ jessie main contribThen upgrade your package and install git:apt-get update && apt-get upgrade && apt-get dist-upgradeapt-get -f installapt-get install gitEditthe following package git , liberror-perl and [rsync]3 can be downloaded from the main repo , because you don't have the main repo on your sources.list you cannot install git and its dependencies .Your sources.list should be (with non-free packages):deb http://ftp.ca.debian.org/debian/ jessie main contrib non-freedeb-src http://ftp.ca.debian.org/debian/ jessie main contrib non-freedeb http://security.debian.org/ jessie/updates main contrib non-freedeb-src http://security.debian.org/ jessie/updates main contrib non-freedeb http://ftp.ca.debian.org/debian/ jessie-updates main contrib non-freedeb-src http://ftp.ca.debian.org/debian/ jessie-updates main contrib non-freedeb http://ftp.ca.debian.org/debian/ jessie-backports main contrib non-free