Question
Missing php5-curl package on Ubuntu droplet
Hey guys, it seems that my installation is missing the php5-curl package. When I try to run “apt-get intall php5-curl” I get the following:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
dbconfig-common libmcrypt4 php5-mcrypt
Use 'apt-get autoremove' to remove them.
The following NEW packages will be installed:
php5-curl
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 28.8 kB of archives.
After this operation, 116 kB of additional disk space will be used.
WARNING: The following packages cannot be authenticated!
php5-curl
Install these packages without verification [y/N]? y
Err http://archive.ubuntu.com/ubuntu/ quantal/main php5-curl amd64 5.4.6-1ubuntu1
404 Not Found [IP: 91.189.92.200 80]
Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/p/php5/php5-curl_5.4.6-1ubuntu1_amd64.deb 404 Not Found [IP: 91.189.92.200 80]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
And if I run apt-get update it is full of “not found” errors. Any ideas?
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
×
I’m having the same issue.
When I run sudo apt-get install curl I get:
When I run sudo apt-get install php5-curl I get:
My Droplet is Ubuntu 12.10 x64 Desktop. And my php version can be seen here: http://theseabreezeinn.com/php-info.php
I tried “asb"s anwesr below to no avail. I’m at a loss…please help!
@leon.amarant: Have you run
sudo apt-get update
after running the command that @asb posted? It looks like the changes tosources.list
haven’t taken effect. Try running that and then installingphp5-curl
:Once you’ve done that, I recommend taking a snapshot of your droplet and trying to upgrade to a more recent version of Ubuntu, as 12.10 is no longer supported so you are not receiving both security and regular updates.