许多人三周以来一直推迟在 Ubuntu 18.04 上发布 PHP 7.4 软件包更新

许多人三周以来一直推迟在 Ubuntu 18.04 上发布 PHP 7.4 软件包更新

我在 Ubuntu 18.04.5 LTS 上的 wp/nginx/mariadb 设置中使用 PHP 7.4。我通过 Ondrej 的主 php repo 安装了它,并使用/更新了它一年多,没有任何问题。大约 3 周前,我apt-get update/upgrade再次进行了更新,这使我升级到了 PHP V7.4.11,但也导致了两个问题:

  1. 我在 PHPmyAdmin 中收到了有关 php 函数弃用参数列表的警告,通过安装较新的稳定版本 PMA(V4.9.7),我摆脱了这个问题。

  2. 越来越多的软件包更新一周比一周推迟,目前已达到 23 个,其中大多数与 PHP V7.4 相关:

    php-imagick php7.4-bz2 php7.4-cli php7.4-common php7.4-curl php7.4-fpm php7.4-gd php7.4-json
    php7.4-mbstring php7.4-mysql php7.4-opcache php7.4-readline php7.4-xml php7.4-xmlrpc php7.4-zip
    

对这些进行操作后apt-cache policy发现,尽管 Ondrej 已经提供了 V7.4.13 候选版本,但它们都停留在 V7.4.11,但我不知道是什么依赖关系阻止了对它们的更新:

php7.4-bz2:
  Installed: 7.4.11-1+ubuntu18.04.1+deb.sury.org+1
  Candidate: 7.4.13-1+ubuntu18.04.1+deb.sury.org+1
  Version table:
     7.4.13-1+ubuntu18.04.1+deb.sury.org+1 500
        500 http://ppa.launchpad.net/ondrej/php/ubuntu bionic/main amd64 Packages
 *** 7.4.11-1+ubuntu18.04.1+deb.sury.org+1 100
        100 /var/lib/dpkg/status

php7.4-cli:
  Installed: 7.4.11-1+ubuntu18.04.1+deb.sury.org+1
  Candidate: 7.4.13-1+ubuntu18.04.1+deb.sury.org+1
  Version table:
     7.4.13-1+ubuntu18.04.1+deb.sury.org+1 500
        500 http://ppa.launchpad.net/ondrej/php/ubuntu bionic/main amd64 Packages
 *** 7.4.11-1+ubuntu18.04.1+deb.sury.org+1 100
        100 /var/lib/dpkg/status

php7.4-common:
  Installed: 7.4.11-1+ubuntu18.04.1+deb.sury.org+1
  Candidate: 7.4.13-1+ubuntu18.04.1+deb.sury.org+1
  Version table:
     7.4.13-1+ubuntu18.04.1+deb.sury.org+1 500
        500 http://ppa.launchpad.net/ondrej/php/ubuntu bionic/main amd64 Packages
 *** 7.4.11-1+ubuntu18.04.1+deb.sury.org+1 100
        100 /var/lib/dpkg/status

php7.4-curl:
  Installed: 7.4.11-1+ubuntu18.04.1+deb.sury.org+1
  Candidate: 7.4.13-1+ubuntu18.04.1+deb.sury.org+1
  Version table:
     7.4.13-1+ubuntu18.04.1+deb.sury.org+1 500
        500 http://ppa.launchpad.net/ondrej/php/ubuntu bionic/main amd64 Packages
 *** 7.4.11-1+ubuntu18.04.1+deb.sury.org+1 100
        100 /var/lib/dpkg/status

php7.4-fpm:
  Installed: 7.4.11-1+ubuntu18.04.1+deb.sury.org+1
  Candidate: 7.4.13-1+ubuntu18.04.1+deb.sury.org+1
  Version table:
     7.4.13-1+ubuntu18.04.1+deb.sury.org+1 500
        500 http://ppa.launchpad.net/ondrej/php/ubuntu bionic/main amd64 Packages
 *** 7.4.11-1+ubuntu18.04.1+deb.sury.org+1 100
        100 /var/lib/dpkg/status

php7.4-gd:
  Installed: 7.4.11-1+ubuntu18.04.1+deb.sury.org+1
  Candidate: 7.4.13-1+ubuntu18.04.1+deb.sury.org+1
  Version table:
     7.4.13-1+ubuntu18.04.1+deb.sury.org+1 500
        500 http://ppa.launchpad.net/ondrej/php/ubuntu bionic/main amd64 Packages
 *** 7.4.11-1+ubuntu18.04.1+deb.sury.org+1 100
        100 /var/lib/dpkg/status

php7.4-json:
  Installed: 7.4.11-1+ubuntu18.04.1+deb.sury.org+1
  Candidate: 7.4.13-1+ubuntu18.04.1+deb.sury.org+1
  Version table:
     7.4.13-1+ubuntu18.04.1+deb.sury.org+1 500
        500 http://ppa.launchpad.net/ondrej/php/ubuntu bionic/main amd64 Packages
 *** 7.4.11-1+ubuntu18.04.1+deb.sury.org+1 100
        100 /var/lib/dpkg/status

php7.4-mbstring:
  Installed: 7.4.11-1+ubuntu18.04.1+deb.sury.org+1
  Candidate: 7.4.13-1+ubuntu18.04.1+deb.sury.org+1
  Version table:
     7.4.13-1+ubuntu18.04.1+deb.sury.org+1 500
        500 http://ppa.launchpad.net/ondrej/php/ubuntu bionic/main amd64 Packages
 *** 7.4.11-1+ubuntu18.04.1+deb.sury.org+1 100
        100 /var/lib/dpkg/status

php7.4-mysql:
  Installed: 7.4.11-1+ubuntu18.04.1+deb.sury.org+1
  Candidate: 7.4.13-1+ubuntu18.04.1+deb.sury.org+1
  Version table:
     7.4.13-1+ubuntu18.04.1+deb.sury.org+1 500
        500 http://ppa.launchpad.net/ondrej/php/ubuntu bionic/main amd64 Packages
 *** 7.4.11-1+ubuntu18.04.1+deb.sury.org+1 100
        100 /var/lib/dpkg/status

php7.4-opcache:
  Installed: 7.4.11-1+ubuntu18.04.1+deb.sury.org+1
  Candidate: 7.4.13-1+ubuntu18.04.1+deb.sury.org+1
  Version table:
     7.4.13-1+ubuntu18.04.1+deb.sury.org+1 500
        500 http://ppa.launchpad.net/ondrej/php/ubuntu bionic/main amd64 Packages
 *** 7.4.11-1+ubuntu18.04.1+deb.sury.org+1 100
        100 /var/lib/dpkg/status

php7.4-readline:
  Installed: 7.4.11-1+ubuntu18.04.1+deb.sury.org+1
  Candidate: 7.4.13-1+ubuntu18.04.1+deb.sury.org+1
  Version table:
     7.4.13-1+ubuntu18.04.1+deb.sury.org+1 500
        500 http://ppa.launchpad.net/ondrej/php/ubuntu bionic/main amd64 Packages
 *** 7.4.11-1+ubuntu18.04.1+deb.sury.org+1 100
        100 /var/lib/dpkg/status

php7.4-xml:
  Installed: 7.4.11-1+ubuntu18.04.1+deb.sury.org+1
  Candidate: 7.4.13-1+ubuntu18.04.1+deb.sury.org+1
  Version table:
     7.4.13-1+ubuntu18.04.1+deb.sury.org+1 500
        500 http://ppa.launchpad.net/ondrej/php/ubuntu bionic/main amd64 Packages
 *** 7.4.11-1+ubuntu18.04.1+deb.sury.org+1 100
        100 /var/lib/dpkg/status

php7.4-xmlrpc:
  Installed: 7.4.11-1+ubuntu18.04.1+deb.sury.org+1
  Candidate: 7.4.13-1+ubuntu18.04.1+deb.sury.org+1
  Version table:
     7.4.13-1+ubuntu18.04.1+deb.sury.org+1 500
        500 http://ppa.launchpad.net/ondrej/php/ubuntu bionic/main amd64 Packages
 *** 7.4.11-1+ubuntu18.04.1+deb.sury.org+1 100
        100 /var/lib/dpkg/status

php7.4-zip:
  Installed: 7.4.11-1+ubuntu18.04.1+deb.sury.org+1
  Candidate: 7.4.13-1+ubuntu18.04.1+deb.sury.org+1
  Version table:
     7.4.13-1+ubuntu18.04.1+deb.sury.org+1 500
        500 http://ppa.launchpad.net/ondrej/php/ubuntu bionic/main amd64 Packages
 *** 7.4.11-1+ubuntu18.04.1+deb.sury.org+1 100
        100 /var/lib/dpkg/status

php-imagick:
  Installed: 3.4.4-4+ubuntu18.04.1+deb.sury.org+1
  Candidate: 3.4.4-10+ubuntu18.04.1+deb.sury.org+4
  Version table:
     3.4.4-10+ubuntu18.04.1+deb.sury.org+4 500
        500 http://ppa.launchpad.net/ondrej/php/ubuntu bionic/main amd64 Packages
 *** 3.4.4-4+ubuntu18.04.1+deb.sury.org+1 100
        100 /var/lib/dpkg/status
     3.4.3~rc2-2ubuntu4.1 500
        500 http://de.archive.ubuntu.com/ubuntu bionic-updates/universe amd64 Packages
        500 http://security.ubuntu.com/ubuntu bionic-security/universe amd64 Packages
     3.4.3~rc2-2ubuntu4 500
        500 http://de.archive.ubuntu.com/ubuntu bionic/universe amd64 Packages

libargon2-0 libxml2 netplan.io考虑到更新也被阻止,阻止更新到 7.4.13 版本的原因可能是什么?

您有什么想法/提示吗?


更新 20201208:

进行apt --with-new-pkgs upgrade显示:

The following NEW packages will be installed:
  libargon2-1 libicu65 libnetplan0 linux-headers-4.15.0-126 linux-headers-4.15.0-126-generic linux-image-4.15.0-126-generic linux-modules-4.15.0-126-generic linux-modules-extra-4.15.0-126-generic
  motd-news-config php5.6-imagick php7.0-imagick php7.1-imagick php7.2-imagick php7.3-imagick php7.4-imagick php8.0-imagick
The following packages will be upgraded:
  base-files libargon2-0 libssl1.0.0 libxml2 linux-generic linux-headers-generic linux-image-generic netplan.io php-imagick php7.4-bz2 php7.4-cli php7.4-common php7.4-curl php7.4-fpm php7.4-gd
  php7.4-json php7.4-mbstring php7.4-mysql php7.4-opcache php7.4-readline php7.4-xml php7.4-xmlrpc php7.4-zip ubuntu-server
24 upgraded, 16 newly installed, 0 to remove and 0 not upgraded.
Need to get 81.9 MB of archives.
After this operation, 368 MB of additional disk space will be used.

由于升级所需的空间异常大,并且 imagick 更新适用于除 V7.4 和 V8.0 之外的不同 PHP 版本(!太多了新鲜的对我来说)我暂时放弃了/取消了进一步的升级。使用apt-get update/upgrade更新libssl1.0.0并导致已知的长列表包更新被阻止。


更新 20201214:

apt-get update/upgrade首先再次 使用更新了一小堆:apt apt-utils curl libapt-inst2.0 libapt-pkg5.0 libcurl3-gnutls libcurl4 python-apt-common python3-apt但是保留的软件包更新的长列表保持不变。


提前谢谢!

谨致问候,Iunte

相关内容