软件包 php5 没有安装候选项 (Ubuntu 16.04)
2022-08-30 07:52:58
当我尝试使用以下代码在Ubuntu 16.04中安装php5时:
sudo apt-get install php5 php5-mcrypt
我收到以下错误:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package php5 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package 'php5' has no installation candidate
我已尝试重新安装,但它没有帮助。
所有这些错误都是在我更新我的15.10 Ubuntu到16.04后遇到的