首页 > 其他分享 >使用 sudo apt-get update 命令时出现 Certificate verification failed: The certificate is NOT trusted.

使用 sudo apt-get update 命令时出现 Certificate verification failed: The certificate is NOT trusted.

时间:2023-09-21 11:48:30浏览次数:37  
标签:eagle certificate Certificate chinauos failed certificates professional packages

命令:

sudo apt-get update

问题:Certificate verification failed: The certificate is NOT trusted. Try installing ca-certificates.

忽略:1 https://professional-store-packages.chinauos.com/appstore eagle InRelease
错误:3 https://professional-store-packages.chinauos.com/appstore eagle Release
  Certificate verification failed: The certificate is NOT trusted. The certificate issuer is unknown.  Could not handshake: Error in the certificate verification. [IP: 8.136.212.49 443]
忽略:4 https://professional-packages.chinauos.com/printer eagle InRelease
忽略:2 https://professional-packages.chinauos.com/desktop-professional eagle InRelease
错误:6 https://professional-packages.chinauos.com/printer eagle Release
  Certificate verification failed: The certificate is NOT trusted. The certificate issuer is unknown.  Could not handshake: Error in the certificate verification. [IP: 8.136.212.49 443]
错误:5 https://professional-packages.chinauos.com/desktop-professional eagle Release
  Certificate verification failed: The certificate is NOT trusted. The certificate issuer is unknown.  Could not handshake: Error in the certificate verification. [IP: 8.136.212.49 443]
正在读取软件包列表... 完成
W: https://professional-store-packages.chinauos.com/appstore/dists/eagle/InRelease: No system certificates available. Try installing ca-certificates.
W: https://professional-store-packages.chinauos.com/appstore/dists/eagle/Release: No system certificates available. Try installing ca-certificates.
E: 仓库 “https://professional-store-packages.chinauos.com/appstore eagle Release” 不再含有 Release 文件。
N: 无法安全地用该源进行更新,所以默认禁用该源。
N: 参见 apt-secure(8) 手册以了解仓库创建和用户配置方面的细节。
W: https://professional-packages.chinauos.com/printer/dists/eagle/InRelease: No system certificates available. Try installing ca-certificates.
W: http://professional-packages.chinauos.com/desktop-professional/dists/eagle/InRelease: No system certificates available. Try installing ca-certificates.
W: https://professional-packages.chinauos.com/printer/dists/eagle/Release: No system certificates available. Try installing ca-certificates.
E: 仓库 “https://professional-packages.chinauos.com/printer eagle Release” 不再含有 Release 文件。
N: 无法安全地用该源进行更新,所以默认禁用该源。
N: 参见 apt-secure(8) 手册以了解仓库创建和用户配置方面的细节。
W: http://professional-packages.chinauos.com/desktop-professional/dists/eagle/Release: No system certificates available. Try installing ca-certificates.
E: 仓库 “http://professional-packages.chinauos.com/desktop-professional eagle Release” 不再含有 Release 文件。
N: 无法安全地用该源进行更新,所以默认禁用该源。
N: 参见 apt-secure(8) 手册以了解仓库创建和用户配置方面的细节。

解决:

1. 从 Ubuntu 存储库手动下载包ca-certificates。你可以使用 wget 下载它

wget --no-check-certificate http://security.ubuntu.com/ubuntu/pool/main/c/ca-certificates/ca-certificates_20230311ubuntu0.20.04.1_all.deb

2. 运行

dpkg -r --force-depends ca-certificates

以删除没有内容的旧包和最终文件。

3. 运行

dpkg -i ca-certificates/ca-certificates_20230311ubuntu0.20.04.1_all.deb

以安装软件包。

这应该使你在证书方面或多或少地处于一个干净的状态。

未来读者注意:不要使用wget上面的命令;从 packages.ubuntu.com查找适用于你的 Ubuntu 版本的最新软件包。这些事情确实发生了变化。

参考:https://www.nuomiphp.com/a/serverfault/zh/6222ca083089ac36901903e9.html

标签:eagle,certificate,Certificate,chinauos,failed,certificates,professional,packages
From: https://www.cnblogs.com/mhly/p/17719526.html

相关文章

  • 关于FAILED: ParseException line 4:0 cannot recognize input near ')' 'row' 'fo
    问题描述在我使用建表语句在hive数据库里面建表时,就出现了这个错误:问题解决指示的是第四行数据没有被访问到;那就是上面的语句有问题:观察发现,我定义的count字符串后面多加了一个逗号,去掉再执行建表语句,就没问题啦!......
  • Handler dispatch failed; nested exception is java.lang.NoSuchMethodError: com.fa
    报错:Handlerdispatchfailed;nestedexceptionisjava.lang.NoSuchMethodError:com.fasterxml.jackson.databind.ObjectMapper.canSerialize(Ljava/lang/Class;Ljava/util/concurrent/atomic/AtomicReference;)Zjar包冲突,找到对应的jar包删除......
  • 解决安装wsl时候报错的问题: WslRegisterDistribution failed with error: 0x800701bc
    在Win10或者Win11上安装wsl的时候,可能会遇到如下的错误信息:Error:0x800701bcWSL2??????????????????https://aka.ms/wsl2kernelPressanykeytocontinue...  这个是由于系统内置的WSL内核过低导致的,可以到如下的网址下载升级包:https://learn.microsoft.com/zh-cn......
  • Failed to determine a suitable driver class(maven不编译配置文件)
    现象:启动报错 问题排查与处理:1:根据错误翻译,是datasource没有一些配置属性。不过检查下来写法没有啥问题 2:注意启动端口是不是生效了。发现是配置文件没起作用 3:maven添加resources<resources><resource><directory>src/main/java</dir......
  • Mac Source Tree fatal: Authentication failed解决办法
    这种情况一般是用户名和密码时间太长,sourceTree自动给你过期了。1.先打开协同偏好设置-高级,把下图中的账号删除了然后你再次推送时,会提醒是输入用户名和密码2.在已经登录的git地址上,退出一下,重新返回登录页面,查看账号和密码就可以了直接在登录页面,把password的dom修改生tex......
  • mysql连接不上Job for mysqld.service failed because the control process exited wi
    问题:mysql服务器链接不上我们是自己买的服务器搭建的,查看mysql的服务器能不能连的上,看服务是否正常查看进程:top-c;查看磁盘:df-h;linux环境有很多大小,只需要看最大的一个存储就行了,发现可使用的没了,我这图片是清理过后的问题解决先要排查是哪些文件堆满了磁盘,极大的......
  • Invalid prop type check failed for prop “image“. Expected String, got Undefine
    问题描述:vue中类型不匹配导致的错误。大致的意思是期待的是“image“类型,传入的是string,所以导致出错。解决办法:类型转换 <pan-thumb :image="String(filePath)"> ......
  • PcellEvalFailed
    前言这个系列指得是在我日常工作中遇到的一些问题,最后我成功解决了。顺便在这里进行总结,后面不会再赘述。一、问题描述这个问题是鄙人新安装好一个库,在Cadence上画好原理图,打算layoutXL看看效果。但是有个别器件调用无法显示,在layout单独再调器件也是报这个问题。二......
  • debia12报错 perl: warning: Setting locale failed
    目录前奏情景复现官方解释解决以防走丢前奏该文档是在Debian12上遇到的问题,特别做个记录情景复现perl:warning:Settinglocalefailed.perl:warning:Pleasecheckthatyourlocalesettings:LANGUAGE="en_US:en",LC_ALL=(unset),LC_CTYPE="zh_CN.UTF-8",LANG......
  • (Windows Hadoop环境配置)IDEA:ERROR util.Shell: Failed to locate the winutils bina
    ERRORutil.Shell:Failedtolocatethewinutilsbinaryinthehadoopbinarypath出错原因:还没有在windows上配置hadoop环境变量。解决:在windows上配置hadoop环境变量参考:windows下缺少windutils.exe和hadoop.dll的解决方法_winuntil.exe_许你常欢的博客-CSDN博客下载好对......