使用apt update进行更新时报以下错误

root@yzw-home:~# sudo apt update
忽略:1 https://home-packages.chinauos.com/home plum InRelease
忽略:2 https://home-store-packages.chinauos.com/appstore eagle InRelease
忽略:3 https://home-packages.chinauos.com/printer eagle InRelease
错误:4 https://home-store-packages.chinauos.com/appstore eagle ReleaseCertificate verification failed: The certificate is NOT trusted. The certificate chain uses not yet valid certificate.  Could not handshake: Error in the certificate verification. [IP: 61.54.25.98 443]
错误:5 https://home-packages.chinauos.com/home plum ReleaseCertificate verification failed: The certificate is NOT trusted. The certificate chain uses not yet valid certificate.  Could not handshake: Error in the certificate verification. [IP: 61.54.25.98 443]
错误:6 https://home-packages.chinauos.com/printer eagle ReleaseCertificate verification failed: The certificate is NOT trusted. The certificate chain uses not yet valid certificate.  Could not handshake: Error in the certificate verification. [IP: 61.54.25.98 443]
正在读取软件包列表... 完成
E: 仓库 “https://home-store-packages.chinauos.com/appstore eagle Release” 不再含有 Release 文件。
N: 无法安全地用该源进行更新,所以默认禁用该源。
N: 参见 apt-secure(8) 手册以了解仓库创建和用户配置方面的细节。
E: 仓库 “https://home-packages.chinauos.com/home plum Release” 不再含有 Release 文件。
N: 无法安全地用该源进行更新,所以默认禁用该源。
N: 参见 apt-secure(8) 手册以了解仓库创建和用户配置方面的细节。
E: 仓库 “https://home-packages.chinauos.com/printer eagle Release” 不再含有 Release 文件。
N: 无法安全地用该源进行更新,所以默认禁用该源。
N: 参见 apt-secure(8) 手册以了解仓库创建和用户配置方面的细节。

解决

  1. 修改当前系统时间,重新更新即可。(本人未使用过不知道是否有用)
  2. 执行sudo nano /etc/apt/sources.list把https的s删除掉即可。(亲测有用)
# 默认注释了源码镜像以提高 apt update 速度,如有需要可自行取消注释
deb http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ focal main restricted universe multiverse
# deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ focal main restricted universe multiverse
deb http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ focal-updates main restricted universe multiverse
# deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ focal-updates main restricted universe multiverse
deb http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ focal-backports main restricted universe multiverse
# deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ focal-backports main restricted universe multiverse
deb http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ focal-security main restricted universe multiverse
# deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ focal-security main restricted universe multiverse

记录docker镜像中证书验证失败导致更新不成功相关推荐

  1. 手机工行显示服务器,工行手机银行服务器安全证书验证失败

    工行手机银行服务器安全证书验证失败 内容精选 换一换 华为云帮助中心为用户提供云产品文档,解决公有云用户常见问题,包括云服务器ECS,云数据库RDS,云存储OBS,负载均衡等服务的使用指南,API及S ...

  2. 在docker镜像中加入环境变量

    原文链接 前言 reference:https://vsupalov.com/docker-build-time-env-values/ 很多时候,我们需要在docker镜像中加入环境变量,本人了解的 ...

  3. 服务器证书验证失败怎么办

    手机或是电脑在日常生活中使用是非常频繁的,一些人会拿自己个人信息绑定手机或者电脑上,一些人害怕出现信息泄漏的问题,手机可以使用密码保护自己的信息资料,电脑也可以加密自己的信息,只要在电脑上安装服务器就 ...

  4. idea使用Database连接数据库报错ssm证书验证失败无法建立安全连接

    项目场景: idea使用Database连接数据库报错ssm证书验证失败无法建立安全连接 问题描述 [08S01] 驱动程序无法通过使用安全套接字层(SSL)加密与 SQL Server 建立安全连接 ...

  5. python ssl连接 证书验证失败_python foursquare – SSL3证书验证失败

    我正在尝试使用Mike Lewis的 Python包装器( https://github.com/mLewisLogic/foursquare)向Foursquare API发出无用的请求: clie ...

  6. ssl证书验证失败打不开网页

    现在说到证书方面的知识,大家一点都不陌生,反倒是有很多人比较熟悉,但是关于ssl证书验证失败打不开网页这个问题如何去处理,ssl证书下载又是怎么样的一个过程?大家很多都是不理解的.其实这个问题都是基础 ...

  7. 服务器证书验证失败。 CAfile:/etc/ssl/certs/ca-certificates.crt CRLfile:无

    本文翻译自:server certificate verification failed. CAfile: /etc/ssl/certs/ca-certificates.crt CRLfile: no ...

  8. 报税时提示服务器验证证书失败,服务器证书验证失败 服务器证书验证地址出错怎么办...

    手机或是电脑在日常生活中使用是非常频繁的,一些人会拿自己个人信息绑定手机或者电脑上,一些人害怕出现信息泄漏的问题,手机可以使用密码保护自己的信息资料,电脑也可以加密自己的信息,只要在电脑上安装服务器就 ...

  9. idea验证失败_SVN提示https证书验证失败解决办法

    技术分享之 <SVN提示https证书验证失败解决办法>--我要编程技术手册系列 svn提交代码时报错,证书认证失败 Commit failed with error 0 files co ...

最新文章

  1. 对JDBC的一些理解
  2. python程序设计试卷_2013Python程序设计期末试卷A
  3. Cocos Creator Ui系统
  4. 织梦网站上传服务器不显示图片,解决织梦后台登陆不显示验证码图片问题
  5. Linux 内核宏 time_after解析
  6. PHP面向对象中new self( )和 new static( ) 的区别
  7. 安全编码最佳实践:PHP及编程语言安全
  8. Docker学习总结(31)——使用Maven插件构建docker镜像
  9. java 方法详解_Java方法详解
  10. 分布式业务Redis安装与集群配置
  11. CentOS 安装完成后的配置
  12. 深入解析Windows操作系统(笔记2)
  13. 为了帮朋友抢jk,写了一个抢拍器,支持淘宝天猫京东。使用教程如下:
  14. 人工客服行业遭重创,背后支撑的力量
  15. 【Golang】✔️实战✔️ 10 种加密方法实现 ☢️万字长文 建议手收藏☢️
  16. Avalonia UI 简介
  17. CL210管理OPENSTACK网络--开放虚拟网络(OVN)简介
  18. RegNet: Designing Network Design Spaces
  19. (入门)使用ab进行压力测试
  20. 由《编程之美》想到的

热门文章

  1. 【Babble】批量学习与增量学习、稳定性与可塑性矛盾的乱想
  2. Unity获取系统信息SystemInfo(CPU、显卡、操作系统等信息)
  3. 【Unity】动作游戏开发实战详细分析-26-组合攻击
  4. 独家 | 零基础入门优化问题
  5. 基于docer 构建微服务基础设施
  6. html怎么安装系统,一键重装系统_MBR分区一键安装系统教程-爱纯净
  7. python壁纸数据抓取_Python爬虫:爬取必应壁纸(可直接运行)
  8. python爬虫爬取必应壁纸
  9. Download a file from Google Drive
  10. SpringBoot日记本系统 :关键字搜索BUG(Mybatisplus and和or的问题)