0

这两天我安装了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 但输出再次相同

请任何帮助,谢谢::)

4

4 回答 4

1
#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

保存文件并重试

于 2021-12-02T06:00:54.500 回答
0
  1. sudo su
  2. passwd
  3. apt update && apt upgrade -o

工作 100%

于 2022-02-20T10:04:11.620 回答
0

我首先使用了命令

# sudo parrot-mirror-selector direct rolling nonfree

重置后视镜,然后

# sudo parrot-upgrade

就是这样:)

于 2021-07-14T12:53:01.863 回答
0

我遇到了这个错误我设法通过安装修复它 sudo apt install ca-certificates 并确保您的时间和日期是正确的

于 2021-05-18T09:44:36.457 回答