Package php7 0 curl has no installation candidate
I have a problem for installing On my Laravel homestead:
It returns :
Note: if I run in my terminal just : For info, my computer runs on:
asked Feb 22, 2016 at 10:41
4 Try this :
If you find it in php7.0-curl then install it using
Hope it helps.
HMD 2,1276 gold badges25 silver badges36 bronze badges answered Jul 30, 2019 at 13:04
The package php7.0-curl is only available on Ubuntu 16.04 LTS (xenial) and on Ubuntu 16.10 (yakkety, to be released). Your current version of Ubuntu, 15.04 (vivid) has reached end of life the February 4, 2016 You can try to import the package from one of these distributions and resolve dependencies by hand but it would be much safer to install Ubuntu 16.04 LTS. By the way, if you want to install php7.0-curl inside Laravel Homestead, you need to insure that the ubuntu version running inside Laravel Homestead is greater or equal to 16.04. answered May 6, 2016 at 11:54
Ortomala LokniOrtomala Lokni 51.1k17 gold badges168 silver badges214 bronze badges You can either do:
or
to solve this dependency issue, however, I would opt for the first one, the second is like solving fine details with a sledgehammer. If this all really doesn't solve your problem, then you might as well check if you have the package repositories enabled and run an:
before retrying. Following procedure retrieved from chat discussion:
Solved it. Packages for the 'amd64' architecture can be found at packages.ubuntu.com. Hi, When installign teh Growatt php script, executing "sudo apt-get install php7.0 php7.0-curl php7.0-gd php7.0-imap php7.0-json php7.0-mcrypt php7.0- php7.0-cli" I get all kinds of errors. See below. Any idea how to overcome this? I've installed the latest Rasbian and Domoticz (stable) versions. Pls let me know! H. QUOTE pi@raspberrypi:~ $ sudo apt-get
install php7.0 php7.0-curl php7.0-gd php7.0-imap php7.0-json php7.0-mcrypt php7.0- php7.0-cli E: Package 'php7.0-curl' has no installation candidate E:
Package 'php7.0-curl' has no installation candidate E: Package 'php7.0-curl' has no installation candidate UNQUOTE |