无法在 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

就是这样:)

相关问答

错误1:Request method ‘DELETE‘ not supported 错误还原:...
错误1:启动docker镜像时报错:Error response from daemon:...
错误1:private field ‘xxx‘ is never assigned 按Alt...
报错如下,通过源不能下载,最后警告pip需升级版本 Requirem...