how to install curl in ubuntu 13.04? it always throw this error :
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:
curl : Depends: libcurl3 (= 7.29.0-1ubuntu3) but 7.29.0-1ubuntu3.2 is to be installed
E: Unable to correct problems, you have held broken packages.
when using sudo apt-get update
, it shows:
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
here are the steps i had done :
- using
sudo apt-get install curl
- removing google-chrome-stable and chromium browser then
sudo apt-get install curl
- use
sudo apt-get autoremove && sudo apt-get autoclean && sudo apt-get clean
then run the 1st step again.
also i have tried : How do I resolve unmet dependencies after adding a PPA?
and still throw the same error. at this point i dont know what i did wrong, is curl impossible to install in ubuntu ?
Just ran into this problem and since it had a different issue and solution I'm going to post it here.
In my case, I'm using Ubuntu 14.04 and the error was:
In my case, the problem was that I've unchecked, by mistake,
trusty-security
andtrusty-updates
repositories in theSoftware & Updates
utility, and perhaps the dependency was going to be installed from one of that repositories:The bottom line is: make sure you have all the needed repositories enabled.
as discussed from comment up above (with @fboaventura), it turns out that the ubuntu mirror i was using somehow causing the error, change it us.archive.ubuntu.com solve it. so overall :
us.archive.ubuntu.com
or ubuntu main server usingupdate manager>settings
sudo apt-get update && sudo apt-get upgrade && sudo apt-get -f install
sudo apt-get install curl
that's all hopefully this answer helpful to someone.