我尝试在我的 debian 服务器上安装 php pear 包,但收到以下错误输出。
:~# sudo apt-get install php-pear
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following package was automatically installed and is no longer required:
php5-suhosin
Use 'apt-get autoremove' to remove them.
Suggested packages:
php5-dev
The following NEW packages will be installed:
php-pear
0 upgraded, 1 newly installed, 0 to remove and 2 not upgraded.
Need to get 366 kB of archives.
After this operation, 2,407 kB of additional disk space will be used.
Err http://packages.dotdeb.org/ squeeze/all php-pear all 5.3.21-1~dotdeb.0
404 Not Found
Failed to fetch http://packages.dotdeb.org/dists/squeeze/php5/binary-all/php-pear_5.3.21-1~dotdeb.0_all.deb 404 Not Found
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
提前致谢!
缺口
答案1
*apt-get 更新
apt-get 安装 php-pear*
这应该可以解决问题