软件包‘php-pear’没有安装候选项

软件包‘php-pear’没有安装候选项

我正在尝试安装apt install php-pear但收到以下错误消息:

Reading package lists... Done
Building dependency tree       
Reading state information... Done
Package php-pear 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 'php-pear' has no installation candidate

由于我已经没有主意了,所以任何帮助我都会非常感激。

我已经尝试了apt-get update许多其他方法,但似乎无法让它工作。这是Ubuntu 20.04.4在 DigitalOcean 使用PHP 8.0.29(cli)运行的服务器

相关内容