无法在 ubuntu 20.10 上安装 php7.2 或 7.3

Unable to install php7.2 or 7.3 on ubuntu 20.10

我想在 ubuntu 20.10 上安装 php7.2 或 php7.3,但出现此错误:

Done Building dependency tree        
Reading state information... 
Done E: Unable to locate package php7.3 
E: Couldn't find any package by glob 'php7.3'

在我运行这些命令之前

sudo apt-get install software-properties-common
sudo add-apt-repository ppa:ondrej/php
sudo apt-get update
sudo apt-get install -y php7.3

ubuntu20.10 支持php7.3 还是 7.2? 谢谢

Ubuntu 20.10 是 no longer supported by Canonical (EOL July 2021), and thus no longer supported by deb.sury.org (which only contains packages for released versions). You should downgrade to the LTS version 20.04 of Ubuntu, as for 21.10 the package support is still in discussion