Debian 10 不知何故完全坏了 apt-get update / upgrade 不起作用 ca-certificates 不起作用 我现在尝试修复它太久但没有任何效果。这就是为什么我希望有人可以在这里帮助我。我是 Linux Debian 的新手,不知道我到底做了什么._。已经谢谢你了:D
apt-get 更新
Err:2 https://packages.sury.org/php buster Release
Certificate verification failed: The certificate is NOT trusted. The certifica te issuer is unknown. Could not handshake: Error in the certificate verificatio n. [IP: 172.67.182.150 443]
Reading package lists... Done
W: https://packages.sury.org/php/dists/buster/InRelease: No system certificates available. Try installing ca-certificates.
W: https://packages.sury.org/php/dists/buster/Release: No system certificates av ailable. Try installing ca-certificates.
E: The repository 'https://packages.sury.org/php buster Release' no longer has a Release file.
N: Updating from such a repository can't be done securely, and is therefore disa bled by default.
N: See apt-secure(8) manpage for repository creation and user configuration deta ```
问题不在于 Debian。它与
https://packages.sury.org/php
. 那是第 3 方存储库。首先,确保您的
buster
安装(没有 PHP 的东西)是好的并且可以处理证书:接下来,如果(且仅当)您信任源,则恢复
php.list
并获取最新签名:编辑:听起来您丢失了主要的 Debian 存档源。重新创建它:
然后再试一次