-2

I was trying to install Git on my Ubuntu 18.04 version with the command

sudo apt-get install git

But I was recieving the below shown error. How can I fix this one? enter image description here

The following packages have unmet dependencies:   
git : Depends: git-man (< 1:2.17.0-.) but 1:2.17.1-1ubuntu0.7 is to be installed
K7AAY
  • 17,202
Nitheesh
  • 97
  • 1
  • 2
    Please do not post pictures of text outputs, instead, copy/paste the ouput into the question. – mikewhatever May 21 '20 at 17:01
  • Mikewhatever is right. Highlight text, then Ctrl-Shift-C to copy the text. Return here, click [edit], and paste that text into your question. – K7AAY May 21 '20 at 17:40
  • @K7AAY mikewhatever, I have added the error console in the queston as quoted test aswell, not just the image. Any way my isse was resolved by the solution mentioned in N0rbert's comment – Nitheesh May 21 '20 at 17:53

1 Answers1

1

Please run apt-get update , before running your apt-get install command .

EchoMike444
  • 582
  • 1
  • 3
  • 4