apt update 更新错误

博客讲述了用户遇到的证书验证错误,经排查发现是系统时间问题导致。修复方法包括使用`sudo apt-get install ntpdate`和`ntpdate cn.pool.ntp.org`。确保时间同步后,NVIDIA Jetson和Ubuntu软件包更新恢复正常。
摘要由CSDN通过智能技术生成

Err:19 https://repo.download.nvidia.com/jetson/common r32.4 Release
  Certificate verification failed: The certificate is NOT trusted. The certificate chain uses not yet valid certificate.  Could not handshake: Error in the certificate verification. [IP: 23.45.12.83 443]
Err:20 https://repo.download.nvidia.com/jetson/t210 r32.4 Release
  Certificate verification failed: The certificate is NOT trusted. The certificate chain uses not yet valid certificate.  Could not handshake: Error in the certificate verification. [IP: 23.45.12.83 443]
Reading package lists... Done
E: Release file for file:///var/cuda-repo-10-2-local-10.2.89/Release is not valid yet (invalid for another 623d 4h 47min 41s). Updates for this repository will not be applied.
E: Release file for file:///var/visionworks-repo/Release is not valid yet (invalid for another 742d 8h 2min 59s). Updates for this repository will not be applied.
E: Release file for file:///var/visionworks-sfm-repo/Release is not valid yet (invalid for another 723d 23h 22min 22s). Updates for this repository will not be applied.
E: Release file for file:///var/visionworks-tracking-repo/Release is not valid yet (invalid for another 723d 23h 23min 44s). Updates for this repository will not be applied.
E: Release file for http://ports.ubuntu.com/ubuntu-ports/dists/bionic/InRelease is not valid yet (invalid for another 72d 4h 55min 42s). Updates for this repository will not be applied.
E: Release file for http://ports.ubuntu.com/ubuntu-ports/dists/bionic-updates/InRelease is not valid yet (invalid for another 1155d 14h 30min 56s). Updates for this repository will not be applied.
E: Release file for http://ports.ubuntu.com/ubuntu-ports/dists/bionic-backports/InRelease is not valid yet (invalid for another 1155d 14h 31min 55s). Updates for this repository will not be applied.
E: Release file for http://ports.ubuntu.com/ubuntu-ports/dists/bionic-security/InRelease is not valid yet (invalid for another 1155d 14h 30min 9s). Updates for this repository will not be applied.
E: The repository 'https://repo.download.nvidia.com/jetson/common r32.4 Release' no longer has 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://repo.download.nvidia.com/jetson/t210 r32.4 Release' no longer has a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.

 

花了好长时间才发现是系统时间有问题导致的

sudo apt-get install ntpdate

ntpdate cn.pool.ntp.org

更新系统时间后就没问题了
 

评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值