Instalando o git no Ubuntu 14.04 caiu

1

Não consigo instalar o git no Ubuntu, aqui está a resposta

sudo apt-get install git
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

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.

Também eu tentei instalar o liberror-perl que eu não pude

sudo apt-get install liberror-perl
Reading package lists... Done
Building dependency tree       
Reading state information... Done
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
    
por Aditya Gamini 12.04.2016 / 11:50

1 resposta

0

Por favor, siga os passos abaixo mencionados:

Etapa 1:

sudo apt-get update

Etapa 2:

sudo apt-get install git

Etapa 3:

Sudo apt-get autoclean

Etapa 4:

Sudo apt-get autoremove
    
por kamlesh 15.04.2016 / 09:21