Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Apt-get does not find package `git` on Ubuntu 12.04 [closed]

I am trying to install git on ubuntu 12.04. But when enter the command

sudo apt-get install git

I get the following message. I have run sudo apt-get update already.

Reading package lists... Done
Building dependency tree       
Reading state information... Done
Package git is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
  git-el

E: Package 'git' has no installation candidate
like image 329
Shahzeb Khan Avatar asked Apr 23 '13 08:04

Shahzeb Khan


1 Answers

You have to install git-core instead

sudo apt-get -y install git-core
like image 120
Konstantin Rudy Avatar answered Sep 20 '22 12:09

Konstantin Rudy