在过去的两天里,我安装了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 更新时,我都会收到以下错误。
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鹦鹉升级,但输出再次相同
请帮忙,谢谢::)
#sudo nano /etc/apt/sources.list.d/parrot.list
将以下来源列表更改为下面提到的列表
## stable repository
deb [trusted=yes] http://archive.parrot.sh/parrot rolling main contrib non-free
deb [trusted=yes] http://archive.parrot.sh/parrot rolling-security main contrib non-free
deb-src [trusted=yes] http://mirror.parrot.sh/parrot rolling main contrib non-free
deb-src [trusted=yes] http://mirror.parrot.sh/parrot rolling-security main contrib non-free
保存文件,然后重试
我遇到了这个错误,我设法通过安装修复了它sudo apt install ca-certificates
并确保您的时间和日期正确无误
我首先使用了命令
# sudo parrot-mirror-selector direct rolling nonfree
重置镜像,然后
# sudo parrot-upgrade
仅此而已:)
sudo su
passwd
apt update && apt upgrade -o
工作 100%
用当前更改/etc/apt/sources.list.d/parrot.list
:
deb https://deb.parrot.sh/parrot/ parrot main contrib non-free
#deb-src https://deb.parrot.sh/parrot/ parrot 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
您可以在此处找到文档:
https://www.parrotsec.org/docs/mirrors-list.html