Error while installing git [duplicate]

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP








up vote
0
down vote

favorite













This question already has an answer here:



  • How do I resolve unmet dependencies after adding a PPA?

    14 answers



  • E: Unable to correct problems, you have held broken packages

    4 answers



I am trying to install git on Ubuntu 16.04 LTS but every time I get this message. I have already uninstalled libpcre2-8-0, and synaptic shows nothing in broken packages. It shows only when I mark git-core package to install, and I don't know what to do after.



$ sudo apt 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: libpcre2-8-0 (>= 10.22) but 10.21-1 is to be installed
E: Unable to correct problems, you have held broken packages.









share|improve this question















marked as duplicate by karel, wjandrea, Community♦ Mar 19 at 18:42


This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.














  • Can you edit the question to put in the output of apt policy libpcre.
    – ianorlin
    Mar 19 at 17:55










  • See if this is any help: Cannot install Git on Ubuntu 16.04 LTS
    – wjandrea
    Mar 19 at 18:09














up vote
0
down vote

favorite













This question already has an answer here:



  • How do I resolve unmet dependencies after adding a PPA?

    14 answers



  • E: Unable to correct problems, you have held broken packages

    4 answers



I am trying to install git on Ubuntu 16.04 LTS but every time I get this message. I have already uninstalled libpcre2-8-0, and synaptic shows nothing in broken packages. It shows only when I mark git-core package to install, and I don't know what to do after.



$ sudo apt 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: libpcre2-8-0 (>= 10.22) but 10.21-1 is to be installed
E: Unable to correct problems, you have held broken packages.









share|improve this question















marked as duplicate by karel, wjandrea, Community♦ Mar 19 at 18:42


This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.














  • Can you edit the question to put in the output of apt policy libpcre.
    – ianorlin
    Mar 19 at 17:55










  • See if this is any help: Cannot install Git on Ubuntu 16.04 LTS
    – wjandrea
    Mar 19 at 18:09












up vote
0
down vote

favorite









up vote
0
down vote

favorite












This question already has an answer here:



  • How do I resolve unmet dependencies after adding a PPA?

    14 answers



  • E: Unable to correct problems, you have held broken packages

    4 answers



I am trying to install git on Ubuntu 16.04 LTS but every time I get this message. I have already uninstalled libpcre2-8-0, and synaptic shows nothing in broken packages. It shows only when I mark git-core package to install, and I don't know what to do after.



$ sudo apt 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: libpcre2-8-0 (>= 10.22) but 10.21-1 is to be installed
E: Unable to correct problems, you have held broken packages.









share|improve this question
















This question already has an answer here:



  • How do I resolve unmet dependencies after adding a PPA?

    14 answers



  • E: Unable to correct problems, you have held broken packages

    4 answers



I am trying to install git on Ubuntu 16.04 LTS but every time I get this message. I have already uninstalled libpcre2-8-0, and synaptic shows nothing in broken packages. It shows only when I mark git-core package to install, and I don't know what to do after.



$ sudo apt 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: libpcre2-8-0 (>= 10.22) but 10.21-1 is to be installed
E: Unable to correct problems, you have held broken packages.




This question already has an answer here:



  • How do I resolve unmet dependencies after adding a PPA?

    14 answers



  • E: Unable to correct problems, you have held broken packages

    4 answers







16.04 apt software-installation git






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Mar 19 at 18:04









wjandrea

7,19342255




7,19342255










asked Mar 19 at 17:49









Vehns

1




1




marked as duplicate by karel, wjandrea, Community♦ Mar 19 at 18:42


This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.






marked as duplicate by karel, wjandrea, Community♦ Mar 19 at 18:42


This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.













  • Can you edit the question to put in the output of apt policy libpcre.
    – ianorlin
    Mar 19 at 17:55










  • See if this is any help: Cannot install Git on Ubuntu 16.04 LTS
    – wjandrea
    Mar 19 at 18:09
















  • Can you edit the question to put in the output of apt policy libpcre.
    – ianorlin
    Mar 19 at 17:55










  • See if this is any help: Cannot install Git on Ubuntu 16.04 LTS
    – wjandrea
    Mar 19 at 18:09















Can you edit the question to put in the output of apt policy libpcre.
– ianorlin
Mar 19 at 17:55




Can you edit the question to put in the output of apt policy libpcre.
– ianorlin
Mar 19 at 17:55












See if this is any help: Cannot install Git on Ubuntu 16.04 LTS
– wjandrea
Mar 19 at 18:09




See if this is any help: Cannot install Git on Ubuntu 16.04 LTS
– wjandrea
Mar 19 at 18:09










1 Answer
1






active

oldest

votes

















up vote
0
down vote













Simple solution use synaptic.



What you could try



sudo apt install libpcre2-8-0 


Otherwise get synaptic if possible and try to install git through it. It's a front end application for apt. Try to install it with apt. If issues occur, get the packages from here https://packages.ubuntu.com/xenial/



dpkg -i ~/Downloads/'package name'


This will also give you the output if you need anything else.






share|improve this answer






















  • Thank you man, downloading the packages and dpking works here
    – Vehns
    Mar 19 at 18:42










  • Awesome glad I could help you. :)
    – Joeri_Damian
    Mar 19 at 18:58

















1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes








up vote
0
down vote













Simple solution use synaptic.



What you could try



sudo apt install libpcre2-8-0 


Otherwise get synaptic if possible and try to install git through it. It's a front end application for apt. Try to install it with apt. If issues occur, get the packages from here https://packages.ubuntu.com/xenial/



dpkg -i ~/Downloads/'package name'


This will also give you the output if you need anything else.






share|improve this answer






















  • Thank you man, downloading the packages and dpking works here
    – Vehns
    Mar 19 at 18:42










  • Awesome glad I could help you. :)
    – Joeri_Damian
    Mar 19 at 18:58














up vote
0
down vote













Simple solution use synaptic.



What you could try



sudo apt install libpcre2-8-0 


Otherwise get synaptic if possible and try to install git through it. It's a front end application for apt. Try to install it with apt. If issues occur, get the packages from here https://packages.ubuntu.com/xenial/



dpkg -i ~/Downloads/'package name'


This will also give you the output if you need anything else.






share|improve this answer






















  • Thank you man, downloading the packages and dpking works here
    – Vehns
    Mar 19 at 18:42










  • Awesome glad I could help you. :)
    – Joeri_Damian
    Mar 19 at 18:58












up vote
0
down vote










up vote
0
down vote









Simple solution use synaptic.



What you could try



sudo apt install libpcre2-8-0 


Otherwise get synaptic if possible and try to install git through it. It's a front end application for apt. Try to install it with apt. If issues occur, get the packages from here https://packages.ubuntu.com/xenial/



dpkg -i ~/Downloads/'package name'


This will also give you the output if you need anything else.






share|improve this answer














Simple solution use synaptic.



What you could try



sudo apt install libpcre2-8-0 


Otherwise get synaptic if possible and try to install git through it. It's a front end application for apt. Try to install it with apt. If issues occur, get the packages from here https://packages.ubuntu.com/xenial/



dpkg -i ~/Downloads/'package name'


This will also give you the output if you need anything else.







share|improve this answer














share|improve this answer



share|improve this answer








edited Mar 19 at 21:22

























answered Mar 19 at 18:06









Joeri_Damian

113




113











  • Thank you man, downloading the packages and dpking works here
    – Vehns
    Mar 19 at 18:42










  • Awesome glad I could help you. :)
    – Joeri_Damian
    Mar 19 at 18:58
















  • Thank you man, downloading the packages and dpking works here
    – Vehns
    Mar 19 at 18:42










  • Awesome glad I could help you. :)
    – Joeri_Damian
    Mar 19 at 18:58















Thank you man, downloading the packages and dpking works here
– Vehns
Mar 19 at 18:42




Thank you man, downloading the packages and dpking works here
– Vehns
Mar 19 at 18:42












Awesome glad I could help you. :)
– Joeri_Damian
Mar 19 at 18:58




Awesome glad I could help you. :)
– Joeri_Damian
Mar 19 at 18:58


Popular posts from this blog

pylint3 and pip3 broken

Missing snmpget and snmpwalk

How to enroll fingerprints to Ubuntu 17.10 with VFS491