当前位置:网站首页>Apt command reports certificate error certificate verification failed: the certificate is not trusted
Apt command reports certificate error certificate verification failed: the certificate is not trusted
2022-07-02 06:36:00 【Dull as dull】
problem apt Command reports certificate error
Certificate verification failed: The certificate is NOT trusted

Treatment method
1. Change source file , Will all https Change to http:
sudo vi /etc/apt/sources.list
After the change, it is as follows :
deb http://mirrors.zju.edu.cn/ubuntu/ focal main restricted universe multiverse
deb http://mirrors.zju.edu.cn/ubuntu/ focal-updates main restricted universe multiverse
deb http://mirrors.zju.edu.cn/ubuntu/ focal-backports main restricted universe multiverse
deb http://mirrors.zju.edu.cn/ubuntu/ focal-security main restricted universe multiverse
2. Update source
sudo apt-get update
3. install / Renew Certificate ca-certificates
sudo apt-get install --reinstall ca-certificates
4. Refer to step 1 to change the image source file back to https
After finishing /etc/apt/sources.list The contents of the document are as follows :
deb https://mirrors.zju.edu.cn/ubuntu/ focal main restricted universe multiverse
deb https://mirrors.zju.edu.cn/ubuntu/ focal-updates main restricted universe multiverse
deb https://mirrors.zju.edu.cn/ubuntu/ focal-backports main restricted universe multiverse
deb https://mirrors.zju.edu.cn/ubuntu/ focal-security main restricted universe multiverse
5. Update the source again
sudo apt-get update
6. Now you can install the software normally .
sudo apt-get install xxxxx
reference
Unable to locate package Error resolution _ Freedom hungry blog -CSDN Blog
apt The solution to the error of command report certificate ------- Certificate verification failed: The certificate is NOT trusted._Chaowanq The blog of -CSDN Blog
From LFY To solve
边栏推荐
- Learn about various joins in SQL and their differences
- 一口气说出 6 种实现延时消息的方案
- VSCODE 安装LATEX环境,参数配置,常见问题解决
- Render minecraft scenes into real scenes using NVIDIA GPU
- 代码技巧——Controller参数注解@RequestParam
- JS modification element attribute flipping commonly used in selenium's Web Automation
- QQ email cannot receive the email sent by Jenkins using email extension after construction (timestamp or auth...)
- 20210306 reprint how to make TextEdit have background pictures
- web自动中利用win32上传附件
- PgSQL学习笔记
猜你喜欢

由于不正常断电导致的unexpected inconsistency;RUN fsck MANUALLY问题已解决

pytest(2) mark功能

【张三学C语言之】—深入理解数据存储

Sentinel rules persist to Nacos
![Data science [viii]: SVD (I)](/img/cb/7bf066a656d49666985a865c3a1456.png)
Data science [viii]: SVD (I)

Introduce two automatic code generators to help improve work efficiency

ShardingSphere-JDBC篇

找到页面当前元素z-index最高的数值

js中正则表达式的使用

VSCODE 安装LATEX环境,参数配置,常见问题解决
随机推荐
Redis——Cluster数据分布算法&哈希槽
一口气说出 6 种实现延时消息的方案
TensorRT的命令行程序
FE - Eggjs 结合 Typeorm 出现连接不了数据库
qq邮箱接收不到jenkins构建后使用email extension 发送的邮件(timestamp 或 auth.......)
自学table au
AtCoder Beginner Contest 253 F - Operations on a Matrix // 树状数组
CUDA and Direct3D consistency
20210306 reprint how to make TextEdit have background pictures
广告业务Bug复盘总结
Function execution space specifier in CUDA
Functions of tensorrt
Warp matrix functions in CUDA
Self cultivation of programmers - Reflection on job hunting
sprintf_ How to use s
IDEA公布全新默认UI,太清爽了(内含申请链接)
Redis - cluster data distribution algorithm & hash slot
Sentinel rules persist to Nacos
【张三学C语言之】—深入理解数据存储
CUDA用户对象