Pages

Monday, March 21, 2016

Install git in Ubuntu 14.04

Install git in Ubuntu 14.04

I installed Ubuntu 14.04 to try out All in One OpenStack - Dev Stack, which require installation of git package. When tried installing git, I got the following error.

apt-get install git

The following packages have unmet dependencies:
 git : Depends: liberror-perl but it is not installable
E: Unable to correct problems, you have held broken packages
 
So though of Installing liberror-perl. But again that showed the following error.
 
Package liberror-perl 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

E: Package 'liberror-perl' has no installation candidate
 
Searching in Google, gave the following link

http://askubuntu.com/questions/453695/ubuntu-14-04-git-install-problem

Solution is to update, upgrade and Remove Unmet Dependencies and this worked for me.

sudo apt-get update  
sudo apt-get upgrade
sudo apt-get install -f 

No comments:

Post a Comment