无法将PHP升级到7.3,因为没有可用的匹配程序包 [英] Couldn't upgrade PHP to 7.3 because of no matching package is available

查看:36
本文介绍了无法将PHP升级到7.3,因为没有可用的匹配程序包的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我无法从ubuntu 16.04上的7.2升级到php7.3,我运行以下命令:

sudo apt-get install python-software-properties
sudo LC_ALL=C.UTF-8 add-apt-repository ppa:ondrej/php
sudo apt-get update
sudo apt install php7.3

显示以下输出:

Building dependency tree       
Reading state information... Done
Note, selecting 'php7.3-mongodb' for regex 'php7.3'
Note, selecting 'php7.3-memcached' for regex 'php7.3'
Note, selecting 'php7.3-msgpack' for regex 'php7.3'
Note, selecting 'php7.3-igbinary' for regex 'php7.3'
Note, selecting 'php7.3-uploadprogress' for regex 'php7.3'
Note, selecting 'php-uploadprogress' instead of 'php7.3-uploadprogress'
php7.3-msgpack is already the newest version (2.1.1+0.5.7-2+ubuntu16.04.1+deb.sury.org+4).
php7.3-mongodb is already the newest version (1.8.1-2+ubuntu16.04.1+deb.sury.org+4).
php7.3-memcached is already the newest version (3.1.5+2.2.0-4+ubuntu16.04.1+deb.sury.org+4).
php-uploadprogress is already the newest version (1.0.3.1-4-g95d8a0f-5+ubuntu16.04.1+deb.sury.org+10).
php7.3-igbinary is already the newest version (3.1.6+2.0.8-2+ubuntu16.04.1+deb.sury.org+4).
0 upgraded, 0 newly installed, 0 to remove and 10 not upgraded.

和PHP-v仍然是旧版本

推荐答案

第二个řEJ前几天才removed support for 16.04

到目前为止,Ubuntu 16.04 LTS(Xenial)的所有包都已从存储库中删除。

这解释了为什么它上周对您很有效,但今天不起作用。

这篇关于无法将PHP升级到7.3,因为没有可用的匹配程序包的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆