我尝试在终端上安装软件包,但每次尝试时都会显示此状态!!例如,我尝试安装 php-5,它显示的内容如下
sudo apt-get install php5-cli
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package php5-cli
答案1
尝试在终端中运行以下命令,
sudo apt-get clean
sudo apt-get update
sudo apt-get -f install php5-cli