After finishing a fresh install of elementary OS Loki I tried installing
git using apt-get but got the following error:
E: Package 'git' has no installation candidate
I have tried installing
apt but the same error occurs. All of my lists and therefore repositories are in order.
After further instpection I found that
apt-get cannot find an installation candidate for any package.