如何解决无法在 Parrot OS 上执行 apt 更新
最近两天我安装了 Parrot Mate 然后升级到最新 我会详细说明我的问题
我的操作系统版本如下:
Linux parrot 5.10.0-5parrot1-amd64 #1 SMP Debian 5.10.24-5parrot1 (2021-03-20) x86_64 GNU/Linux
最初我安装了 MATE 版本,但后来我也使用 apt 安装了 KDE 桌面环境。
此后,每当我执行 sudo apt update 时,我都会收到以下错误。
Hit:1 https://repo.windscribe.com/ubuntu bionic InRelease
Ign:2 https://deb.parrot.sh/parrot rolling InRelease
Ign:3 https://deb.parrot.sh/parrot rolling-security InRelease
Err:4 https://deb.parrot.sh/parrot rolling Release
Certificate verification failed: The certificate is NOT trusted. The revocation or OCSP data are old and have been superseded. Could not handshake: Error in the certificate verification. [IP: 2606:4700:3034::ac43:aec4 443]
Err:5 https://deb.parrot.sh/parrot rolling-security Release
Certificate verification failed: The certificate is NOT trusted. The revocation or OCSP data are old and have been superseded. Could not handshake: Error in the certificate verification. [IP: 2606:4700:3034::ac43:aec4 443]
Reading package lists... Done
E: The repository 'https://deb.parrot.sh/parrot rolling Release' does not have a Release file.
N: Updating from such a repository can't be done securely,and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: The repository 'https://deb.parrot.sh/parrot rolling-security Release' does not have a Release file.
N: Updating from such a repository can't be done securely,and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
我的 /etc/apt/sources.list.d/parrot.list 包含以下几行
# parrot repository
# this file was automatically generated by parrot-mirror-selector
deb https://deb.parrot.sh/parrot/ rolling main contrib non-free
#deb-src https://deb.parrot.sh/parrot/ rolling main contrib non-free
deb https://deb.parrot.sh/parrot/ rolling-security main contrib non-free
#deb-src https://deb.parrot.sh/parrot/ rolling-security main contrib non-free
因为错误我也试过sudo parrot-upgrade 但同样的输出是相同的
请帮忙,谢谢:)
解决方法
我遇到了这个错误我设法通过安装修复了它
sudo apt install ca-certificates
并确保您的时间和日期正确
我首先使用了命令
# sudo parrot-mirror-selector direct rolling nonfree
重置后视镜,然后
# sudo parrot-upgrade
就是这样:)
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。