hqaht 发表于 2021-7-28 10:07:48

lnmp1.5版本升级php到7.4失败

错误日志如下:

Download php-7.4.21.tar.bz2 successfully!
.... *
Gracefully shutting down php-fpm . done
Installing Dependent for PHP...
Ign http://packages.linuxmint.com rosa InRelease
Hit http://security.ubuntu.com trusty-security InRelease
Ign http://archive.canonical.com trusty InRelease
Ign http://extra.linuxmint.com rosa InRelease
Get:1 http://packages.linuxmint.com rosa Release.gpg
Hit http://archive.canonical.com trusty/partner amd64 Packages
Hit http://extra.linuxmint.com rosa Release
Hit http://security.ubuntu.com trusty-security/multiverse amd64 Packages
Get:2 http://packages.linuxmint.com rosa Release
Hit http://archive.canonical.com trusty/partner i386 Packages
Hit http://security.ubuntu.com trusty-security/multiverse Translation-en
Get:3 http://packages.linuxmint.com rosa/main amd64 Packages
Hit http://security.ubuntu.com trusty-security/restricted Translation-en
Hit http://security.ubuntu.com trusty-security/universe Translation-en
Get:4 http://packages.linuxmint.com rosa/upstream amd64 Packages
Ign http://extra.linuxmint.com rosa/main Translation-en_US
Ign http://extra.linuxmint.com rosa/main Translation-en
Ign http://archive.ubuntu.com trusty InRelease
Get:5 https://get.daocloud.io ubuntu-trusty InRelease
Ign https://get.daocloud.io ubuntu-trusty InRelease
Ign https://get.daocloud.io ubuntu-trusty Release.gpg
Ign https://get.daocloud.io ubuntu-trusty Release
Ign https://get.daocloud.io ubuntu-trusty/main amd64 Packages/DiffIndex
Hit http://archive.ubuntu.com trusty-updates InRelease
Hit http://archive.ubuntu.com trusty Release.gpg
Ign https://get.daocloud.io ubuntu-trusty/main Translation-en_US
Ign https://get.daocloud.io ubuntu-trusty/main Translation-en
Err https://get.daocloud.io ubuntu-trusty/main amd64 Packages
HttpError502
Hit http://archive.ubuntu.com trusty-updates/main amd64 Packages
Get:6 http://packages.linuxmint.com rosa/import amd64 Packages
Hit http://archive.ubuntu.com trusty-updates/restricted amd64 Packages
Hit http://archive.ubuntu.com trusty-updates/universe amd64 Packages
Hit http://archive.ubuntu.com trusty-updates/multiverse amd64 Packages
Hit http://archive.ubuntu.com trusty-updates/main i386 Packages
Hit http://archive.ubuntu.com trusty-updates/restricted i386 Packages
Hit http://archive.ubuntu.com trusty-updates/universe i386 Packages
Hit http://archive.ubuntu.com trusty-updates/multiverse i386 Packages
Hit http://archive.ubuntu.com trusty-updates/main Translation-en
Get:7 https://mirrors.tuna.tsinghua.edu.cn xenial InRelease
Err https://mirrors.tuna.tsinghua.edu.cn xenial InRelease

Hit http://archive.ubuntu.com trusty-updates/multiverse Translation-en
Hit http://archive.ubuntu.com trusty-updates/restricted Translation-en
Hit http://archive.ubuntu.com trusty-updates/universe Translation-en
Ign https://packages.gitlab.com rosa InRelease
Hit http://archive.ubuntu.com trusty Release
Hit http://archive.ubuntu.com trusty/main amd64 Packages
Ign https://packages.gitlab.com rosa InRelease
Hit http://archive.ubuntu.com trusty/restricted amd64 Packages
Ign https://packages.gitlab.com rosa Release.gpg
Ign https://packages.gitlab.com rosa Release.gpg
Hit http://archive.ubuntu.com trusty/universe amd64 Packages
Hit http://archive.ubuntu.com trusty/multiverse amd64 Packages
Ign https://packages.gitlab.com rosa Release
Hit http://archive.ubuntu.com trusty/main i386 Packages
Ign https://packages.gitlab.com rosa Release
Hit http://archive.ubuntu.com trusty/restricted i386 Packages
Hit http://archive.ubuntu.com trusty/universe i386 Packages
Hit http://archive.ubuntu.com trusty/multiverse i386 Packages
Ign https://packages.gitlab.com rosa/main Sources/DiffIndex
Hit http://archive.ubuntu.com trusty/main Translation-en
Ign https://packages.gitlab.com rosa/main amd64 Packages/DiffIndex
Ign https://packages.gitlab.com rosa/main i386 Packages/DiffIndex
Hit http://archive.ubuntu.com trusty/multiverse Translation-en
Hit http://archive.ubuntu.com trusty/restricted Translation-en
Hit http://archive.ubuntu.com trusty/universe Translation-en
Ign https://packages.gitlab.com rosa/main Sources/DiffIndex
Ign https://packages.gitlab.com rosa/main amd64 Packages/DiffIndex
Ign https://packages.gitlab.com rosa/main i386 Packages/DiffIndex
Ign http://archive.ubuntu.com trusty/main Translation-en_US
Ign http://archive.ubuntu.com trusty/multiverse Translation-en_US
Ign http://archive.ubuntu.com trusty/restricted Translation-en_US
Ign http://archive.ubuntu.com trusty/universe Translation-en_US
Get:8 http://packages.linuxmint.com rosa/main i386 Packages
Get:9 http://packages.linuxmint.com rosa/upstream i386 Packages
Get:10 http://packages.linuxmint.com rosa/import i386 Packages
Ign https://packages.gitlab.com rosa/main Translation-en_US
Ign https://packages.gitlab.com rosa/main Translation-en
Ign https://packages.gitlab.com rosa/main Translation-en_US
Ign https://packages.gitlab.com rosa/main Translation-en
Err https://packages.gitlab.com rosa/main Sources
gnutls_handshake() failed: Handshake failed
Err https://packages.gitlab.com rosa/main amd64 Packages
gnutls_handshake() failed: Handshake failed
Err https://packages.gitlab.com rosa/main i386 Packages
gnutls_handshake() failed: Handshake failed
Err https://packages.gitlab.com rosa/main Sources
gnutls_handshake() failed: Handshake failed
Err https://packages.gitlab.com rosa/main amd64 Packages
gnutls_handshake() failed: Handshake failed
Err https://packages.gitlab.com rosa/main i386 Packages
gnutls_handshake() failed: Handshake failed
Ign http://packages.linuxmint.com rosa/import Translation-en_US
Ign http://packages.linuxmint.com rosa/import Translation-en
Ign http://packages.linuxmint.com rosa/main Translation-en_US
Ign http://packages.linuxmint.com rosa/main Translation-en
Ign http://packages.linuxmint.com rosa/upstream Translation-en_US
Ign http://packages.linuxmint.com rosa/upstream Translation-en
Fetched 808 kB in 49s (16,2 kB/s)
Reading package lists...
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: https://mirrors.tuna.tsinghua.edu.cn xenial InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 3F01618A51312F3F
W: Failed to fetch https://mirrors.tuna.tsinghua.edu.cn/gitlab-ce/ubuntu/dists/xenial/InRelease
W: Failed to fetch https://get.daocloud.io/docker/apt-repo/dists/ubuntu-trusty/main/binary-amd64/PackagesHttpError502
W: Failed to fetch https://packages.gitlab.com/gitlab/gitlab-ee/linuxmint/dists/rosa/main/source/Sourcesgnutls_handshake() failed: Handshake failed
W: Failed to fetch https://packages.gitlab.com/gitlab/gitlab-ee/linuxmint/dists/rosa/main/binary-amd64/Packagesgnutls_handshake() failed: Handshake failed
W: Failed to fetch https://packages.gitlab.com/gitlab/gitlab-ee/linuxmint/dists/rosa/main/binary-i386/Packagesgnutls_handshake() failed: Handshake failed
W: Failed to fetch https://packages.gitlab.com/runner/gitlab-ci-multi-runner/linuxmint/dists/rosa/main/source/Sourcesgnutls_handshake() failed: Handshake failed
W: Failed to fetch https://packages.gitlab.com/runner/gitlab-ci-multi-runner/linuxmint/dists/rosa/main/binary-amd64/Packagesgnutls_handshake() failed: Handshake failed
W: Failed to fetch https://packages.gitlab.com/runner/gitlab-ci-multi-runner/linuxmint/dists/rosa/main/binary-i386/Packagesgnutls_handshake() failed: Handshake failed
W: Some index files failed to download. They have been ignored, or old ones used instead.
Reading package lists...
Building dependency tree...
Reading state information...
libc-ares-dev is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 669 not upgraded.
Reading package lists...
Building dependency tree...
Reading state information...
libicu-dev is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 669 not upgraded.
Reading package lists...
Building dependency tree...
Reading state information...
e2fsprogs is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 669 not upgraded.
Reading package lists...
Building dependency tree...
Reading state information...
E: Unable to locate package libxslt
Reading package lists...
Building dependency tree...
Reading state information...
libxslt1-dev is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 669 not upgraded.
Reading package lists...
Building dependency tree...
Reading state information...
libc-client2007e-dev is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 669 not upgraded.
Reading package lists...
Building dependency tree...
Reading state information...
xz-utils is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 669 not upgraded.
Reading package lists...
Building dependency tree...
Reading state information...
libexpat1-dev is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 669 not upgraded.
Reading package lists...
Building dependency tree...
Reading state information...
bzip2 is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 669 not upgraded.
Reading package lists...
Building dependency tree...
Reading state information...
libbz2-dev is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 669 not upgraded.

hqaht 发表于 2021-7-28 10:08:14

有人给看看是怎么回事吗

hqaht 发表于 2021-7-28 10:40:45

不支持7.3和7.4的升级吗

hqaht 发表于 2021-7-28 10:52:22

上面的日志不全,请看这个附件

hqaht 发表于 2021-7-28 10:59:06

网上搜了搜,请问我下载lnmp1.8版本,然后使用lnmp1.8的升级脚本upgrade_php.sh升级php7.4可以吗?

licess 发表于 2021-7-28 13:04:51

lnmp 1.5发布时php 7.2才刚发布,怎么支持php 7.4
想升级php 7.4最起码需要lnmp 1.7或更高版本
页: [1]
查看完整版本: lnmp1.5版本升级php到7.4失败