小编pge*_*e70的帖子

无法在18.04上安装php8.1

我的虚拟机是18.04。我想更新到php8.1

我的机器上已经有 PPA php 存储库: sudo add-apt-repository ppa:ondrej/php

我可以看到有一个文件:

# ls -l /var/lib/apt/lists/ppa.launchpad.net_on*
-rw-r--r-- 1 root root 20811 Jun 15 21:41 /var/lib/apt/lists/ppa.launchpad.net_ondrej_php_ubuntu_dists_bionic_InRelease
Run Code Online (Sandbox Code Playgroud)

我努力了:

root@prod:~# apt clean
root@prod:~# apt update
Hit:1 http://mirror.binarylane.com.au/ubuntu bionic InRelease
Hit:2 http://mirror.binarylane.com.au/ubuntu bionic-updates InRelease
Hit:3 http://mirror.binarylane.com.au/ubuntu bionic-backports InRelease
Hit:4 http://ppa.launchpad.net/certbot/certbot/ubuntu bionic InRelease
Get:5 http://security.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB]
Hit:6 http://archive.ubuntu.com/ubuntu bionic InRelease
Hit:7 http://ppa.launchpad.net/maxmind/ppa/ubuntu bionic InRelease
Hit:8 http://ppa.launchpad.net/ondrej/php/ubuntu bionic InRelease
Fetched 88.7 kB in 2s (46.0 kB/s)
Reading package lists... Done
Building dependency tree
Reading state information... …
Run Code Online (Sandbox Code Playgroud)

php package-management apt 18.04

4
推荐指数
1
解决办法
2万
查看次数

标签 统计

18.04 ×1

apt ×1

package-management ×1

php ×1