我一直在尝试使用 sudo apt-get install php5-curl 安装 curl 扩展。但不断收到以下错误消息
Err http://archive.ubuntu.com/ubuntu/ lucid-updates/main php5-curl 5.3.2-1ubuntu4.17
404 Not Found
Err http://security.ubuntu.com/ubuntu/ lucid-security/main php5-curl 5.3.2-1ubuntu4.17
404 Not Found
Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/p/php5/php5-curl_5.3.2-1ubuntu4.17_amd64.deb 404 Not Found
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
我尝试运行 php -i | grep curl 检查 curl 是否已经安装但得到
-bash: php: command not found
我想我必须安装 php5-cli 扩展,尝试这样做也导致以下错误
Err http://archive.ubuntu.com/ubuntu/ lucid-updates/main php5-cli 5.3.2-1ubuntu4.17
404 Not Found
Err http://security.ubuntu.com/ubuntu/ lucid-security/main php5-cli 5.3.2-1ubuntu4.17
404 Not Found
Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/p/php5/php5-cli_5.3.2-1ubuntu4.17_amd64.deb 404 Not Found
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?