04 | 配置Linux系统下载源

1 Centos配置下载源

2 Ubuntu配置下载源

  • 配置下载源,报错信息:

Failed to fetch http://cn.archive.ubuntu.com/ubuntu/pool/universe/f/firewalld/firewalld_0.4.4.6-1_all.deb Connection failed [IP: 91.189.91.38 80]

  • 查看操作系统的版本:
lsb_release -a

在这里插入图片描述

  • 查看清华的镜像地址,根据对应的版本,选择版本:
https://mirrors.tuna.tsinghua.edu.cn/help/ubuntu/

在这里插入图片描述

更换

[root@prd-devel-00 /etc/apt]$apt-get  update
Ign:1 https://mirrors.tuna.tsinghua.edu.cn/ubuntu bionic InRelease
Ign:2 https://mirrors.tuna.tsinghua.edu.cn/ubuntu bionic-updates InRelease
Ign:3 https://mirrors.tuna.tsinghua.edu.cn/ubuntu bionic-backports InRelease
Ign:4 https://mirrors.tuna.tsinghua.edu.cn/ubuntu bionic-security InRelease
Err:5 https://mirrors.tuna.tsinghua.edu.cn/ubuntu bionic Release
  Certificate verification failed: The certificate is NOT trusted. The certificate chain uses expired certificate.  Could not handshake: Error in the certificate verification. [IP: 101.6.15.130 443]
Err:6 https://mirrors.tuna.tsinghua.edu.cn/ubuntu bionic-updates Release
  Certificate verification failed: The certificate is NOT trusted. The certificate chain uses expired certificate.  Could not handshake: Error in the certificate verification. [IP: 101.6.15.130 443]
Err:7 https://mirrors.tuna.tsinghua.edu.cn/ubuntu bionic-backports Release
  Certificate verification failed: The certificate is NOT trusted. The certificate chain uses expired certificate.  Could not handshake: Error in the certificate verification. [IP: 101.6.15.130 443]
Err:8 https://mirrors.tuna.tsinghua.edu.cn/ubuntu bionic-security Release
  Certificate verification failed: The certificate is NOT trusted. The certificate chain uses expired certificate.  Could not handshake: Error in the certificate verification. [IP: 101.6.15.130 443]
Reading package lists... Done
E: The repository 'https://mirrors.tuna.tsinghua.edu.cn/ubuntu bionic 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://mirrors.tuna.tsinghua.edu.cn/ubuntu bionic-updates 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://mirrors.tuna.tsinghua.edu.cn/ubuntu bionic-backports 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://mirrors.tuna.tsinghua.edu.cn/ubuntu bionic-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.
W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list:56
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list:56
W: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list:56
W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list:56
W: Target CNF (main/cnf/Commands-amd64) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list:56
W: Target CNF (main/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list:56
W: Target Packages (restricted/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list:56
W: Target Packages (restricted/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list:56
W: Target Translations (restricted/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list:56
W: Target Translations (restricted/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list:56
W: Target CNF (restricted/cnf/Commands-amd64) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list:56
W: Target CNF (restricted/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list:56
W: Target Packages (universe/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:14 and /etc/apt/sources.list:56
W: Target Packages (universe/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:14 and /etc/apt/sources.list:56
W: Target Translations (universe/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list:14 and /etc/apt/sources.list:56
W: Target Translations (universe/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:14 and /etc/apt/sources.list:56
W: Target CNF (universe/cnf/Commands-amd64) is configured multiple times in /etc/apt/sources.list:14 and /etc/apt/sources.list:56
W: Target CNF (universe/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:14 and /etc/apt/sources.list:56
W: Target Packages (multiverse/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:24 and /etc/apt/sources.list:56
W: Target Packages (multiverse/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:24 and /etc/apt/sources.list:56
W: Target Translations (multiverse/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list:24 and /etc/apt/sources.list:56
W: Target Translations (multiverse/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:24 and /etc/apt/sources.list:56
W: Target CNF (multiverse/cnf/Commands-amd64) is configured multiple times in /etc/apt/sources.list:24 and /etc/apt/sources.list:56
W: Target CNF (multiverse/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:24 and /etc/apt/sources.list:56
W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:8 and /etc/apt/sources.list:58
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:8 and /etc/apt/sources.list:58
W: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list:8 and /etc/apt/sources.list:58
W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:8 and /etc/apt/sources.list:58
W: Target CNF (main/cnf/Commands-amd64) is configured multiple times in /etc/apt/sources.list:8 and /etc/apt/sources.list:58
W: Target CNF (main/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:8 and /etc/apt/sources.list:58
W: Target Packages (restricted/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:8 and /etc/apt/sources.list:58
W: Target Packages (restricted/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:8 and /etc/apt/sources.list:58
W: Target Translations (restricted/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list:8 and /etc/apt/sources.list:58
W: Target Translations (restricted/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:8 and /etc/apt/sources.list:58
W: Target CNF (restricted/cnf/Commands-amd64) is configured multiple times in /etc/apt/sources.list:8 and /etc/apt/sources.list:58
W: Target CNF (restricted/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:8 and /etc/apt/sources.list:58
W: Target Packages (universe/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:16 and /etc/apt/sources.list:58
W: Target Packages (universe/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:16 and /etc/apt/sources.list:58
W: Target Translations (universe/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list:16 and /etc/apt/sources.list:58
W: Target Translations (universe/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:16 and /etc/apt/sources.list:58
W: Target CNF (universe/cnf/Commands-amd64) is configured multiple times in /etc/apt/sources.list:16 and /etc/apt/sources.list:58
W: Target CNF (universe/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:16 and /etc/apt/sources.list:58
W: Target Packages (multiverse/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:26 and /etc/apt/sources.list:58
W: Target Packages (multiverse/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:26 and /etc/apt/sources.list:58
W: Target Translations (multiverse/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list:26 and /etc/apt/sources.list:58
W: Target Translations (multiverse/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:26 and /etc/apt/sources.list:58
W: Target CNF (multiverse/cnf/Commands-amd64) is configured multiple times in /etc/apt/sources.list:26 and /etc/apt/sources.list:58
W: Target CNF (multiverse/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:26 and /etc/apt/sources.list:58
W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:34 and /etc/apt/sources.list:60
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:34 and /etc/apt/sources.list:60
W: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list:34 and /etc/apt/sources.list:60
W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:34 and /etc/apt/sources.list:60
W: Target CNF (main/cnf/Commands-amd64) is configured multiple times in /etc/apt/sources.list:34 and /etc/apt/sources.list:60
W: Target CNF (main/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:34 and /etc/apt/sources.list:60
W: Target Packages (restricted/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:34 and /etc/apt/sources.list:60
W: Target Packages (restricted/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:34 and /etc/apt/sources.list:60
W: Target Translations (restricted/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list:34 and /etc/apt/sources.list:60
W: Target Translations (restricted/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:34 and /etc/apt/sources.list:60
W: Target CNF (restricted/cnf/Commands-amd64) is configured multiple times in /etc/apt/sources.list:34 and /etc/apt/sources.list:60
W: Target CNF (restricted/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:34 and /etc/apt/sources.list:60
W: Target Packages (universe/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:34 and /etc/apt/sources.list:60
W: Target Packages (universe/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:34 and /etc/apt/sources.list:60
W: Target Translations (universe/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list:34 and /etc/apt/sources.list:60
W: Target Translations (universe/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:34 and /etc/apt/sources.list:60
W: Target CNF (universe/cnf/Commands-amd64) is configured multiple times in /etc/apt/sources.list:34 and /etc/apt/sources.list:60
W: Target CNF (universe/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:34 and /etc/apt/sources.list:60
W: Target Packages (multiverse/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:34 and /etc/apt/sources.list:60
W: Target Packages (multiverse/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:34 and /etc/apt/sources.list:60
W: Target Translations (multiverse/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list:34 and /etc/apt/sources.list:60
W: Target Translations (multiverse/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:34 and /etc/apt/sources.list:60
W: Target CNF (multiverse/cnf/Commands-amd64) is configured multiple times in /etc/apt/sources.list:34 and /etc/apt/sources.list:60
W: Target CNF (multiverse/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:34 and /etc/apt/sources.list:60
W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:44 and /etc/apt/sources.list:62
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:44 and /etc/apt/sources.list:62
W: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list:44 and /etc/apt/sources.list:62
W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:44 and /etc/apt/sources.list:62
W: Target CNF (main/cnf/Commands-amd64) is configured multiple times in /etc/apt/sources.list:44 and /etc/apt/sources.list:62
W: Target CNF (main/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:44 and /etc/apt/sources.list:62
W: Target Packages (restricted/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:44 and /etc/apt/sources.list:62
W: Target Packages (restricted/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:44 and /etc/apt/sources.list:62
W: Target Translations (restricted/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list:44 and /etc/apt/sources.list:62
W: Target Translations (restricted/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:44 and /etc/apt/sources.list:62
W: Target CNF (restricted/cnf/Commands-amd64) is configured multiple times in /etc/apt/sources.list:44 and /etc/apt/sources.list:62
W: Target CNF (restricted/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:44 and /etc/apt/sources.list:62
W: Target Packages (universe/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:46 and /etc/apt/sources.list:62
W: Target Packages (universe/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:46 and /etc/apt/sources.list:62
W: Target Translations (universe/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list:46 and /etc/apt/sources.list:62
W: Target Translations (universe/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:46 and /etc/apt/sources.list:62
W: Target CNF (universe/cnf/Commands-amd64) is configured multiple times in /etc/apt/sources.list:46 and /etc/apt/sources.list:62
W: Target CNF (universe/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:46 and /etc/apt/sources.list:62
W: Target Packages (multiverse/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:48 and /etc/apt/sources.list:62
W: Target Packages (multiverse/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:48 and /etc/apt/sources.list:62
W: Target Translations (multiverse/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list:48 and /etc/apt/sources.list:62
W: Target Translations (multiverse/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:48 and /etc/apt/sources.list:62
W: Target CNF (multiverse/cnf/Commands-amd64) is configured multiple times in /etc/apt/sources.list:48 and /etc/apt/sources.list:62
W: Target CNF (multiverse/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:48 and /etc/apt/sources.list:62

解决方法:
https修改成http后,执行

sudo apt-get update
[root@prd-devel-00 /etc/apt]$sudo  apt-get update 
Get:1 http://mirrors.tuna.tsinghua.edu.cn/ubuntu bionic InRelease [242 kB]
Get:2 http://mirrors.tuna.tsinghua.edu.cn/ubuntu bionic-updates InRelease [88.7 kB]
Get:3 http://mirrors.tuna.tsinghua.edu.cn/ubuntu bionic-backports InRelease [74.6 kB]
Get:4 http://mirrors.tuna.tsinghua.edu.cn/ubuntu bionic-security InRelease [88.7 kB]
Get:5 http://mirrors.tuna.tsinghua.edu.cn/ubuntu bionic/main amd64 Packages [1,019 kB]
Get:6 http://mirrors.tuna.tsinghua.edu.cn/ubuntu bionic/main Translation-en [516 kB]
Get:7 http://mirrors.tuna.tsinghua.edu.cn/ubuntu bionic/restricted amd64 Packages [9,184 B]
Get:8 http://mirrors.tuna.tsinghua.edu.cn/ubuntu bionic/restricted Translation-en [3,584 B]
Get:9 http://mirrors.tuna.tsinghua.edu.cn/ubuntu bionic/universe amd64 Packages [8,570 kB]
Get:10 http://mirrors.tuna.tsinghua.edu.cn/ubuntu bionic/universe Translation-en [4,941 kB]                                                                                                                                                
Get:11 http://mirrors.tuna.tsinghua.edu.cn/ubuntu bionic/multiverse amd64 Packages [151 kB]                                                                                                                                                
Get:12 http://mirrors.tuna.tsinghua.edu.cn/ubuntu bionic/multiverse Translation-en [108 kB]                                                                                                                                                
Get:13 http://mirrors.tuna.tsinghua.edu.cn/ubuntu bionic-updates/main amd64 Packages [2,749 kB]                                                                                                                                            
Get:14 http://mirrors.tuna.tsinghua.edu.cn/ubuntu bionic-updates/main Translation-en [506 kB]                                                                                                                                              
Get:15 http://mirrors.tuna.tsinghua.edu.cn/ubuntu bionic-updates/restricted amd64 Packages [936 kB]                                                                                                                                        
Get:16 http://mirrors.tuna.tsinghua.edu.cn/ubuntu bionic-updates/restricted Translation-en [130 kB]                                                                                                                                        
Get:17 http://mirrors.tuna.tsinghua.edu.cn/ubuntu bionic-updates/universe amd64 Packages [1,845 kB]                                                                                                                                        
Get:18 http://mirrors.tuna.tsinghua.edu.cn/ubuntu bionic-updates/universe Translation-en [400 kB]                                                                                                                                          
Get:19 http://mirrors.tuna.tsinghua.edu.cn/ubuntu bionic-updates/multiverse amd64 Packages [24.9 kB]                                                                                                                                       
Get:20 http://mirrors.tuna.tsinghua.edu.cn/ubuntu bionic-updates/multiverse Translation-en [6,012 B]                                                                                                                                       
Get:21 http://mirrors.tuna.tsinghua.edu.cn/ubuntu bionic-backports/main amd64 Packages [10.8 kB]                                                                                                                                           
Get:22 http://mirrors.tuna.tsinghua.edu.cn/ubuntu bionic-backports/main Translation-en [5,016 B]                                                                                                                                           
Get:23 http://mirrors.tuna.tsinghua.edu.cn/ubuntu bionic-backports/universe amd64 Packages [11.6 kB]                                                                                                                                       
Get:24 http://mirrors.tuna.tsinghua.edu.cn/ubuntu bionic-backports/universe Translation-en [5,864 B]                                                                                                                                       
Get:25 http://mirrors.tuna.tsinghua.edu.cn/ubuntu bionic-security/main amd64 Packages [2,408 kB]                                                                                                                                           
Get:26 http://mirrors.tuna.tsinghua.edu.cn/ubuntu bionic-security/main Translation-en [417 kB]                                                                                                                                             
Get:27 http://mirrors.tuna.tsinghua.edu.cn/ubuntu bionic-security/restricted amd64 Packages [906 kB]                                                                                                                                       
Get:28 http://mirrors.tuna.tsinghua.edu.cn/ubuntu bionic-security/restricted Translation-en [125 kB]                                                                                                                                       
Get:29 http://mirrors.tuna.tsinghua.edu.cn/ubuntu bionic-security/universe amd64 Packages [1,231 kB]                                                                                                                                       
Get:30 http://mirrors.tuna.tsinghua.edu.cn/ubuntu bionic-security/universe Translation-en [283 kB]                                                                                                                                         
Get:31 http://mirrors.tuna.tsinghua.edu.cn/ubuntu bionic-security/multiverse amd64 Packages [19.0 kB]                                                                                                                                      
Get:32 http://mirrors.tuna.tsinghua.edu.cn/ubuntu bionic-security/multiverse Translation-en [3,836 B]                                                                                                                                      
Fetched 27.8 MB in 1min 27s (321 kB/s)                                                                                                                                                                                                     
Reading package lists... Done
W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list:56
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list:56
W: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list:56
W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list:56
W: Target CNF (main/cnf/Commands-amd64) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list:56
W: Target CNF (main/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list:56
W: Target Packages (restricted/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list:56
W: Target Packages (restricted/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list:56
W: Target Translations (restricted/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list:56
W: Target Translations (restricted/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list:56
W: Target CNF (restricted/cnf/Commands-amd64) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list:56
W: Target CNF (restricted/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list:56
W: Target Packages (universe/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:14 and /etc/apt/sources.list:56
W: Target Packages (universe/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:14 and /etc/apt/sources.list:56
W: Target Translations (universe/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list:14 and /etc/apt/sources.list:56
W: Target Translations (universe/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:14 and /etc/apt/sources.list:56
W: Target CNF (universe/cnf/Commands-amd64) is configured multiple times in /etc/apt/sources.list:14 and /etc/apt/sources.list:56
W: Target CNF (universe/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:14 and /etc/apt/sources.list:56
W: Target Packages (multiverse/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:24 and /etc/apt/sources.list:56
W: Target Packages (multiverse/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:24 and /etc/apt/sources.list:56
W: Target Translations (multiverse/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list:24 and /etc/apt/sources.list:56
W: Target Translations (multiverse/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:24 and /etc/apt/sources.list:56
W: Target CNF (multiverse/cnf/Commands-amd64) is configured multiple times in /etc/apt/sources.list:24 and /etc/apt/sources.list:56
W: Target CNF (multiverse/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:24 and /etc/apt/sources.list:56
W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:8 and /etc/apt/sources.list:58
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:8 and /etc/apt/sources.list:58
W: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list:8 and /etc/apt/sources.list:58
W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:8 and /etc/apt/sources.list:58
W: Target CNF (main/cnf/Commands-amd64) is configured multiple times in /etc/apt/sources.list:8 and /etc/apt/sources.list:58
W: Target CNF (main/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:8 and /etc/apt/sources.list:58
W: Target Packages (restricted/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:8 and /etc/apt/sources.list:58
W: Target Packages (restricted/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:8 and /etc/apt/sources.list:58
W: Target Translations (restricted/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list:8 and /etc/apt/sources.list:58
W: Target Translations (restricted/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:8 and /etc/apt/sources.list:58
W: Target CNF (restricted/cnf/Commands-amd64) is configured multiple times in /etc/apt/sources.list:8 and /etc/apt/sources.list:58
W: Target CNF (restricted/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:8 and /etc/apt/sources.list:58
W: Target Packages (universe/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:16 and /etc/apt/sources.list:58
W: Target Packages (universe/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:16 and /etc/apt/sources.list:58
W: Target Translations (universe/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list:16 and /etc/apt/sources.list:58
W: Target Translations (universe/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:16 and /etc/apt/sources.list:58
W: Target CNF (universe/cnf/Commands-amd64) is configured multiple times in /etc/apt/sources.list:16 and /etc/apt/sources.list:58
W: Target CNF (universe/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:16 and /etc/apt/sources.list:58
W: Target Packages (multiverse/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:26 and /etc/apt/sources.list:58
W: Target Packages (multiverse/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:26 and /etc/apt/sources.list:58
W: Target Translations (multiverse/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list:26 and /etc/apt/sources.list:58
W: Target Translations (multiverse/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:26 and /etc/apt/sources.list:58
W: Target CNF (multiverse/cnf/Commands-amd64) is configured multiple times in /etc/apt/sources.list:26 and /etc/apt/sources.list:58
W: Target CNF (multiverse/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:26 and /etc/apt/sources.list:58
W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:34 and /etc/apt/sources.list:60
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:34 and /etc/apt/sources.list:60
W: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list:34 and /etc/apt/sources.list:60
W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:34 and /etc/apt/sources.list:60
W: Target CNF (main/cnf/Commands-amd64) is configured multiple times in /etc/apt/sources.list:34 and /etc/apt/sources.list:60
W: Target CNF (main/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:34 and /etc/apt/sources.list:60
W: Target Packages (restricted/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:34 and /etc/apt/sources.list:60
W: Target Packages (restricted/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:34 and /etc/apt/sources.list:60
W: Target Translations (restricted/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list:34 and /etc/apt/sources.list:60
W: Target Translations (restricted/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:34 and /etc/apt/sources.list:60
W: Target CNF (restricted/cnf/Commands-amd64) is configured multiple times in /etc/apt/sources.list:34 and /etc/apt/sources.list:60
W: Target CNF (restricted/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:34 and /etc/apt/sources.list:60
W: Target Packages (universe/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:34 and /etc/apt/sources.list:60
W: Target Packages (universe/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:34 and /etc/apt/sources.list:60
W: Target Translations (universe/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list:34 and /etc/apt/sources.list:60
W: Target Translations (universe/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:34 and /etc/apt/sources.list:60
W: Target CNF (universe/cnf/Commands-amd64) is configured multiple times in /etc/apt/sources.list:34 and /etc/apt/sources.list:60
W: Target CNF (universe/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:34 and /etc/apt/sources.list:60
W: Target Packages (multiverse/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:34 and /etc/apt/sources.list:60
W: Target Packages (multiverse/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:34 and /etc/apt/sources.list:60
W: Target Translations (multiverse/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list:34 and /etc/apt/sources.list:60
W: Target Translations (multiverse/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:34 and /etc/apt/sources.list:60
W: Target CNF (multiverse/cnf/Commands-amd64) is configured multiple times in /etc/apt/sources.list:34 and /etc/apt/sources.list:60
W: Target CNF (multiverse/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:34 and /etc/apt/sources.list:60
W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:44 and /etc/apt/sources.list:62
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:44 and /etc/apt/sources.list:62
W: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list:44 and /etc/apt/sources.list:62
W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:44 and /etc/apt/sources.list:62
W: Target CNF (main/cnf/Commands-amd64) is configured multiple times in /etc/apt/sources.list:44 and /etc/apt/sources.list:62
W: Target CNF (main/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:44 and /etc/apt/sources.list:62
W: Target Packages (restricted/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:44 and /etc/apt/sources.list:62
W: Target Packages (restricted/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:44 and /etc/apt/sources.list:62
W: Target Translations (restricted/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list:44 and /etc/apt/sources.list:62
W: Target Translations (restricted/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:44 and /etc/apt/sources.list:62
W: Target CNF (restricted/cnf/Commands-amd64) is configured multiple times in /etc/apt/sources.list:44 and /etc/apt/sources.list:62
W: Target CNF (restricted/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:44 and /etc/apt/sources.list:62
W: Target Packages (universe/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:46 and /etc/apt/sources.list:62
W: Target Packages (universe/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:46 and /etc/apt/sources.list:62
W: Target Translations (universe/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list:46 and /etc/apt/sources.list:62
W: Target Translations (universe/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:46 and /etc/apt/sources.list:62
W: Target CNF (universe/cnf/Commands-amd64) is configured multiple times in /etc/apt/sources.list:46 and /etc/apt/sources.list:62
W: Target CNF (universe/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:46 and /etc/apt/sources.list:62
W: Target Packages (multiverse/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:48 and /etc/apt/sources.list:62
W: Target Packages (multiverse/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:48 and /etc/apt/sources.list:62
W: Target Translations (multiverse/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list:48 and /etc/apt/sources.list:62
W: Target Translations (multiverse/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:48 and /etc/apt/sources.list:62
W: Target CNF (multiverse/cnf/Commands-amd64) is configured multiple times in /etc/apt/sources.list:48 and /etc/apt/sources.list:62
W: Target CNF (multiverse/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:48 and /etc/apt/sources.list:62
W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list:56
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list:56
W: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list:56
W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list:56
W: Target CNF (main/cnf/Commands-amd64) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list:56
W: Target CNF (main/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list:56
W: Target Packages (restricted/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list:56
W: Target Packages (restricted/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list:56
W: Target Translations (restricted/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list:56
W: Target Translations (restricted/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list:56
W: Target CNF (restricted/cnf/Commands-amd64) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list:56
W: Target CNF (restricted/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list:56
W: Target Packages (universe/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:14 and /etc/apt/sources.list:56
W: Target Packages (universe/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:14 and /etc/apt/sources.list:56
W: Target Translations (universe/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list:14 and /etc/apt/sources.list:56
W: Target Translations (universe/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:14 and /etc/apt/sources.list:56
W: Target CNF (universe/cnf/Commands-amd64) is configured multiple times in /etc/apt/sources.list:14 and /etc/apt/sources.list:56
W: Target CNF (universe/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:14 and /etc/apt/sources.list:56
W: Target Packages (multiverse/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:24 and /etc/apt/sources.list:56
W: Target Packages (multiverse/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:24 and /etc/apt/sources.list:56
W: Target Translations (multiverse/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list:24 and /etc/apt/sources.list:56
W: Target Translations (multiverse/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:24 and /etc/apt/sources.list:56
W: Target CNF (multiverse/cnf/Commands-amd64) is configured multiple times in /etc/apt/sources.list:24 and /etc/apt/sources.list:56
W: Target CNF (multiverse/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:24 and /etc/apt/sources.list:56
W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:8 and /etc/apt/sources.list:58
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:8 and /etc/apt/sources.list:58
W: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list:8 and /etc/apt/sources.list:58
W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:8 and /etc/apt/sources.list:58
W: Target CNF (main/cnf/Commands-amd64) is configured multiple times in /etc/apt/sources.list:8 and /etc/apt/sources.list:58
W: Target CNF (main/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:8 and /etc/apt/sources.list:58
W: Target Packages (restricted/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:8 and /etc/apt/sources.list:58
W: Target Packages (restricted/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:8 and /etc/apt/sources.list:58
W: Target Translations (restricted/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list:8 and /etc/apt/sources.list:58
W: Target Translations (restricted/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:8 and /etc/apt/sources.list:58
W: Target CNF (restricted/cnf/Commands-amd64) is configured multiple times in /etc/apt/sources.list:8 and /etc/apt/sources.list:58
W: Target CNF (restricted/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:8 and /etc/apt/sources.list:58
W: Target Packages (universe/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:16 and /etc/apt/sources.list:58
W: Target Packages (universe/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:16 and /etc/apt/sources.list:58
W: Target Translations (universe/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list:16 and /etc/apt/sources.list:58
W: Target Translations (universe/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:16 and /etc/apt/sources.list:58
W: Target CNF (universe/cnf/Commands-amd64) is configured multiple times in /etc/apt/sources.list:16 and /etc/apt/sources.list:58
W: Target CNF (universe/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:16 and /etc/apt/sources.list:58
W: Target Packages (multiverse/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:26 and /etc/apt/sources.list:58
W: Target Packages (multiverse/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:26 and /etc/apt/sources.list:58
W: Target Translations (multiverse/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list:26 and /etc/apt/sources.list:58
W: Target Translations (multiverse/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:26 and /etc/apt/sources.list:58
W: Target CNF (multiverse/cnf/Commands-amd64) is configured multiple times in /etc/apt/sources.list:26 and /etc/apt/sources.list:58
W: Target CNF (multiverse/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:26 and /etc/apt/sources.list:58
W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:34 and /etc/apt/sources.list:60
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:34 and /etc/apt/sources.list:60
W: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list:34 and /etc/apt/sources.list:60
W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:34 and /etc/apt/sources.list:60
W: Target CNF (main/cnf/Commands-amd64) is configured multiple times in /etc/apt/sources.list:34 and /etc/apt/sources.list:60
W: Target CNF (main/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:34 and /etc/apt/sources.list:60
W: Target Packages (restricted/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:34 and /etc/apt/sources.list:60
W: Target Packages (restricted/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:34 and /etc/apt/sources.list:60
W: Target Translations (restricted/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list:34 and /etc/apt/sources.list:60
W: Target Translations (restricted/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:34 and /etc/apt/sources.list:60
W: Target CNF (restricted/cnf/Commands-amd64) is configured multiple times in /etc/apt/sources.list:34 and /etc/apt/sources.list:60
W: Target CNF (restricted/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:34 and /etc/apt/sources.list:60
W: Target Packages (universe/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:34 and /etc/apt/sources.list:60
W: Target Packages (universe/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:34 and /etc/apt/sources.list:60
W: Target Translations (universe/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list:34 and /etc/apt/sources.list:60
W: Target Translations (universe/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:34 and /etc/apt/sources.list:60
W: Target CNF (universe/cnf/Commands-amd64) is configured multiple times in /etc/apt/sources.list:34 and /etc/apt/sources.list:60
W: Target CNF (universe/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:34 and /etc/apt/sources.list:60
W: Target Packages (multiverse/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:34 and /etc/apt/sources.list:60
W: Target Packages (multiverse/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:34 and /etc/apt/sources.list:60
W: Target Translations (multiverse/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list:34 and /etc/apt/sources.list:60
W: Target Translations (multiverse/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:34 and /etc/apt/sources.list:60
W: Target CNF (multiverse/cnf/Commands-amd64) is configured multiple times in /etc/apt/sources.list:34 and /etc/apt/sources.list:60
W: Target CNF (multiverse/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:34 and /etc/apt/sources.list:60
W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:44 and /etc/apt/sources.list:62
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:44 and /etc/apt/sources.list:62
W: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list:44 and /etc/apt/sources.list:62
W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:44 and /etc/apt/sources.list:62
W: Target CNF (main/cnf/Commands-amd64) is configured multiple times in /etc/apt/sources.list:44 and /etc/apt/sources.list:62
W: Target CNF (main/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:44 and /etc/apt/sources.list:62
W: Target Packages (restricted/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:44 and /etc/apt/sources.list:62
W: Target Packages (restricted/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:44 and /etc/apt/sources.list:62
W: Target Translations (restricted/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list:44 and /etc/apt/sources.list:62
W: Target Translations (restricted/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:44 and /etc/apt/sources.list:62
W: Target CNF (restricted/cnf/Commands-amd64) is configured multiple times in /etc/apt/sources.list:44 and /etc/apt/sources.list:62
W: Target CNF (restricted/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:44 and /etc/apt/sources.list:62
W: Target Packages (universe/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:46 and /etc/apt/sources.list:62
W: Target Packages (universe/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:46 and /etc/apt/sources.list:62
W: Target Translations (universe/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list:46 and /etc/apt/sources.list:62
W: Target Translations (universe/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:46 and /etc/apt/sources.list:62
W: Target CNF (universe/cnf/Commands-amd64) is configured multiple times in /etc/apt/sources.list:46 and /etc/apt/sources.list:62
W: Target CNF (universe/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:46 and /etc/apt/sources.list:62
W: Target Packages (multiverse/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:48 and /etc/apt/sources.list:62
W: Target Packages (multiverse/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:48 and /etc/apt/sources.list:62
W: Target Translations (multiverse/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list:48 and /etc/apt/sources.list:62
W: Target Translations (multiverse/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:48 and /etc/apt/sources.list:62
W: Target CNF (multiverse/cnf/Commands-amd64) is configured multiple times in /etc/apt/sources.list:48 and /etc/apt/sources.list:62
W: Target CNF (multiverse/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:48 and /etc/apt/sources.list:62
[root@prd-devel-00 /etc/apt]$

执行

sudo apt-get install --reinstall ca-certificates
[root@prd-devel-00 /etc/apt]$sudo apt-get install --reinstall ca-certificates
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following additional packages will be installed:
  openssl
The following NEW packages will be installed:
  ca-certificates openssl
0 upgraded, 2 newly installed, 0 to remove and 1 not upgraded.
Need to get 0 B/757 kB of archives.
After this operation, 1,635 kB of additional disk space will be used.
Do you want to continue? [Y/n] Y
Preconfiguring packages ...
Selecting previously unselected package openssl.
(Reading database ... 50251 files and directories currently installed.)
Preparing to unpack .../openssl_1.1.1-1ubuntu2.1~18.04.20_amd64.deb ...
Unpacking openssl (1.1.1-1ubuntu2.1~18.04.20) ...
Selecting previously unselected package ca-certificates.
Preparing to unpack .../ca-certificates_20211016~18.04.1_all.deb ...
Unpacking ca-certificates (20211016~18.04.1) ...
Setting up openssl (1.1.1-1ubuntu2.1~18.04.20) ...
Setting up ca-certificates (20211016~18.04.1) ...
Updating certificates in /etc/ssl/certs...
rehash: warning: skipping ca-certificates.crt,it does not contain exactly one certificate or CRL
7 added, 0 removed; done.
Processing triggers for ca-certificates (20211016~18.04.1) ...
Updating certificates in /etc/ssl/certs...
0 added, 0 removed; done.
Running hooks in /etc/ca-certificates/update.d...
done.
[root@prd-devel-00 /etc/apt]$
  • 执行后还报错:
Certificate verification failed: The certificate is NOT trusted. The certificate issuer is unknown.  Could not handshake: Error in the certificate verification
  • 在次更改:
touch /etc/apt/apt.conf.d/99verify-peer.conf \
&& echo >>/etc/apt/apt.conf.d/99verify-peer.conf "Acquire { https::Verify-Peer false }"

在这里插入图片描述

  • 验证
[root@prd-devel-00 /etc/apt]$sudo apt-get update
Hit:1 https://mirrors.tuna.tsinghua.edu.cn/ubuntu bionic InRelease  
Get:2 https://mirrors.tuna.tsinghua.edu.cn/ubuntu bionic-updates InRelease [88.7 kB]
Get:3 https://mirrors.tuna.tsinghua.edu.cn/ubuntu bionic-backports InRelease [74.6 kB]
Get:4 https://mirrors.tuna.tsinghua.edu.cn/ubuntu bionic-security InRelease [88.7 kB]
Fetched 252 kB in 2s (121 kB/s)     
Reading package lists... Done
W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list:56
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list:56
W: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list:56
W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list:56
W: Target CNF (main/cnf/Commands-amd64) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list:56
W: Target CNF (main/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list:56
W: Target Packages (restricted/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list:56
W: Target Packages (restricted/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list:56
W: Target Translations (restricted/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list:56
W: Target Translations (restricted/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list:56
W: Target CNF (restricted/cnf/Commands-amd64) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list:56
W: Target CNF (restricted/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list:56
W: Target Packages (universe/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:14 and /etc/apt/sources.list:56
W: Target Packages (universe/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:14 and /etc/apt/sources.list:56
W: Target Translations (universe/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list:14 and /etc/apt/sources.list:56
W: Target Translations (universe/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:14 and /etc/apt/sources.list:56
W: Target CNF (universe/cnf/Commands-amd64) is configured multiple times in /etc/apt/sources.list:14 and /etc/apt/sources.list:56
W: Target CNF (universe/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:14 and /etc/apt/sources.list:56
W: Target Packages (multiverse/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:24 and /etc/apt/sources.list:56
W: Target Packages (multiverse/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:24 and /etc/apt/sources.list:56
W: Target Translations (multiverse/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list:24 and /etc/apt/sources.list:56
W: Target Translations (multiverse/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:24 and /etc/apt/sources.list:56
W: Target CNF (multiverse/cnf/Commands-amd64) is configured multiple times in /etc/apt/sources.list:24 and /etc/apt/sources.list:56
W: Target CNF (multiverse/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:24 and /etc/apt/sources.list:56
W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:8 and /etc/apt/sources.list:58
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:8 and /etc/apt/sources.list:58
W: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list:8 and /etc/apt/sources.list:58
W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:8 and /etc/apt/sources.list:58
W: Target CNF (main/cnf/Commands-amd64) is configured multiple times in /etc/apt/sources.list:8 and /etc/apt/sources.list:58
W: Target CNF (main/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:8 and /etc/apt/sources.list:58
W: Target Packages (restricted/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:8 and /etc/apt/sources.list:58
W: Target Packages (restricted/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:8 and /etc/apt/sources.list:58
W: Target Translations (restricted/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list:8 and /etc/apt/sources.list:58
W: Target Translations (restricted/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:8 and /etc/apt/sources.list:58
W: Target CNF (restricted/cnf/Commands-amd64) is configured multiple times in /etc/apt/sources.list:8 and /etc/apt/sources.list:58
W: Target CNF (restricted/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:8 and /etc/apt/sources.list:58
W: Target Packages (universe/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:16 and /etc/apt/sources.list:58
W: Target Packages (universe/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:16 and /etc/apt/sources.list:58
W: Target Translations (universe/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list:16 and /etc/apt/sources.list:58
W: Target Translations (universe/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:16 and /etc/apt/sources.list:58
W: Target CNF (universe/cnf/Commands-amd64) is configured multiple times in /etc/apt/sources.list:16 and /etc/apt/sources.list:58
W: Target CNF (universe/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:16 and /etc/apt/sources.list:58
W: Target Packages (multiverse/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:26 and /etc/apt/sources.list:58
W: Target Packages (multiverse/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:26 and /etc/apt/sources.list:58
W: Target Translations (multiverse/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list:26 and /etc/apt/sources.list:58
W: Target Translations (multiverse/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:26 and /etc/apt/sources.list:58
W: Target CNF (multiverse/cnf/Commands-amd64) is configured multiple times in /etc/apt/sources.list:26 and /etc/apt/sources.list:58
W: Target CNF (multiverse/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:26 and /etc/apt/sources.list:58
W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:34 and /etc/apt/sources.list:60
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:34 and /etc/apt/sources.list:60
W: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list:34 and /etc/apt/sources.list:60
W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:34 and /etc/apt/sources.list:60
W: Target CNF (main/cnf/Commands-amd64) is configured multiple times in /etc/apt/sources.list:34 and /etc/apt/sources.list:60
W: Target CNF (main/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:34 and /etc/apt/sources.list:60
W: Target Packages (restricted/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:34 and /etc/apt/sources.list:60
W: Target Packages (restricted/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:34 and /etc/apt/sources.list:60
W: Target Translations (restricted/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list:34 and /etc/apt/sources.list:60
W: Target Translations (restricted/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:34 and /etc/apt/sources.list:60
W: Target CNF (restricted/cnf/Commands-amd64) is configured multiple times in /etc/apt/sources.list:34 and /etc/apt/sources.list:60
W: Target CNF (restricted/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:34 and /etc/apt/sources.list:60
W: Target Packages (universe/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:34 and /etc/apt/sources.list:60
W: Target Packages (universe/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:34 and /etc/apt/sources.list:60
W: Target Translations (universe/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list:34 and /etc/apt/sources.list:60
W: Target Translations (universe/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:34 and /etc/apt/sources.list:60
W: Target CNF (universe/cnf/Commands-amd64) is configured multiple times in /etc/apt/sources.list:34 and /etc/apt/sources.list:60
W: Target CNF (universe/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:34 and /etc/apt/sources.list:60
W: Target Packages (multiverse/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:34 and /etc/apt/sources.list:60
W: Target Packages (multiverse/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:34 and /etc/apt/sources.list:60
W: Target Translations (multiverse/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list:34 and /etc/apt/sources.list:60
W: Target Translations (multiverse/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:34 and /etc/apt/sources.list:60
W: Target CNF (multiverse/cnf/Commands-amd64) is configured multiple times in /etc/apt/sources.list:34 and /etc/apt/sources.list:60
W: Target CNF (multiverse/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:34 and /etc/apt/sources.list:60
W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:44 and /etc/apt/sources.list:62
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:44 and /etc/apt/sources.list:62
W: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list:44 and /etc/apt/sources.list:62
W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:44 and /etc/apt/sources.list:62
W: Target CNF (main/cnf/Commands-amd64) is configured multiple times in /etc/apt/sources.list:44 and /etc/apt/sources.list:62
W: Target CNF (main/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:44 and /etc/apt/sources.list:62
W: Target Packages (restricted/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:44 and /etc/apt/sources.list:62
W: Target Packages (restricted/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:44 and /etc/apt/sources.list:62
W: Target Translations (restricted/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list:44 and /etc/apt/sources.list:62
W: Target Translations (restricted/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:44 and /etc/apt/sources.list:62
W: Target CNF (restricted/cnf/Commands-amd64) is configured multiple times in /etc/apt/sources.list:44 and /etc/apt/sources.list:62
W: Target CNF (restricted/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:44 and /etc/apt/sources.list:62
W: Target Packages (universe/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:46 and /etc/apt/sources.list:62
W: Target Packages (universe/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:46 and /etc/apt/sources.list:62
W: Target Translations (universe/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list:46 and /etc/apt/sources.list:62
W: Target Translations (universe/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:46 and /etc/apt/sources.list:62
W: Target CNF (universe/cnf/Commands-amd64) is configured multiple times in /etc/apt/sources.list:46 and /etc/apt/sources.list:62
W: Target CNF (universe/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:46 and /etc/apt/sources.list:62
W: Target Packages (multiverse/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:48 and /etc/apt/sources.list:62
W: Target Packages (multiverse/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:48 and /etc/apt/sources.list:62
W: Target Translations (multiverse/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list:48 and /etc/apt/sources.list:62
W: Target Translations (multiverse/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:48 and /etc/apt/sources.list:62
W: Target CNF (multiverse/cnf/Commands-amd64) is configured multiple times in /etc/apt/sources.list:48 and /etc/apt/sources.list:62
W: Target CNF (multiverse/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:48 and /etc/apt/sources.list:62
W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list:56
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list:56
W: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list:56
W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list:56
W: Target CNF (main/cnf/Commands-amd64) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list:56
W: Target CNF (main/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list:56
W: Target Packages (restricted/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list:56
W: Target Packages (restricted/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list:56
W: Target Translations (restricted/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list:56
W: Target Translations (restricted/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list:56
W: Target CNF (restricted/cnf/Commands-amd64) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list:56
W: Target CNF (restricted/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list:56
W: Target Packages (universe/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:14 and /etc/apt/sources.list:56
W: Target Packages (universe/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:14 and /etc/apt/sources.list:56
W: Target Translations (universe/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list:14 and /etc/apt/sources.list:56
W: Target Translations (universe/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:14 and /etc/apt/sources.list:56
W: Target CNF (universe/cnf/Commands-amd64) is configured multiple times in /etc/apt/sources.list:14 and /etc/apt/sources.list:56
W: Target CNF (universe/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:14 and /etc/apt/sources.list:56
W: Target Packages (multiverse/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:24 and /etc/apt/sources.list:56
W: Target Packages (multiverse/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:24 and /etc/apt/sources.list:56
W: Target Translations (multiverse/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list:24 and /etc/apt/sources.list:56
W: Target Translations (multiverse/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:24 and /etc/apt/sources.list:56
W: Target CNF (multiverse/cnf/Commands-amd64) is configured multiple times in /etc/apt/sources.list:24 and /etc/apt/sources.list:56
W: Target CNF (multiverse/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:24 and /etc/apt/sources.list:56
W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:8 and /etc/apt/sources.list:58
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:8 and /etc/apt/sources.list:58
W: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list:8 and /etc/apt/sources.list:58
W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:8 and /etc/apt/sources.list:58
W: Target CNF (main/cnf/Commands-amd64) is configured multiple times in /etc/apt/sources.list:8 and /etc/apt/sources.list:58
W: Target CNF (main/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:8 and /etc/apt/sources.list:58
W: Target Packages (restricted/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:8 and /etc/apt/sources.list:58
W: Target Packages (restricted/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:8 and /etc/apt/sources.list:58
W: Target Translations (restricted/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list:8 and /etc/apt/sources.list:58
W: Target Translations (restricted/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:8 and /etc/apt/sources.list:58
W: Target CNF (restricted/cnf/Commands-amd64) is configured multiple times in /etc/apt/sources.list:8 and /etc/apt/sources.list:58
W: Target CNF (restricted/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:8 and /etc/apt/sources.list:58
W: Target Packages (universe/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:16 and /etc/apt/sources.list:58
W: Target Packages (universe/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:16 and /etc/apt/sources.list:58
W: Target Translations (universe/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list:16 and /etc/apt/sources.list:58
W: Target Translations (universe/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:16 and /etc/apt/sources.list:58
W: Target CNF (universe/cnf/Commands-amd64) is configured multiple times in /etc/apt/sources.list:16 and /etc/apt/sources.list:58
W: Target CNF (universe/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:16 and /etc/apt/sources.list:58
W: Target Packages (multiverse/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:26 and /etc/apt/sources.list:58
W: Target Packages (multiverse/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:26 and /etc/apt/sources.list:58
W: Target Translations (multiverse/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list:26 and /etc/apt/sources.list:58
W: Target Translations (multiverse/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:26 and /etc/apt/sources.list:58
W: Target CNF (multiverse/cnf/Commands-amd64) is configured multiple times in /etc/apt/sources.list:26 and /etc/apt/sources.list:58
W: Target CNF (multiverse/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:26 and /etc/apt/sources.list:58
W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:34 and /etc/apt/sources.list:60
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:34 and /etc/apt/sources.list:60
W: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list:34 and /etc/apt/sources.list:60
W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:34 and /etc/apt/sources.list:60
W: Target CNF (main/cnf/Commands-amd64) is configured multiple times in /etc/apt/sources.list:34 and /etc/apt/sources.list:60
W: Target CNF (main/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:34 and /etc/apt/sources.list:60
W: Target Packages (restricted/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:34 and /etc/apt/sources.list:60
W: Target Packages (restricted/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:34 and /etc/apt/sources.list:60
W: Target Translations (restricted/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list:34 and /etc/apt/sources.list:60
W: Target Translations (restricted/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:34 and /etc/apt/sources.list:60
W: Target CNF (restricted/cnf/Commands-amd64) is configured multiple times in /etc/apt/sources.list:34 and /etc/apt/sources.list:60
W: Target CNF (restricted/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:34 and /etc/apt/sources.list:60
W: Target Packages (universe/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:34 and /etc/apt/sources.list:60
W: Target Packages (universe/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:34 and /etc/apt/sources.list:60
W: Target Translations (universe/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list:34 and /etc/apt/sources.list:60
W: Target Translations (universe/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:34 and /etc/apt/sources.list:60
W: Target CNF (universe/cnf/Commands-amd64) is configured multiple times in /etc/apt/sources.list:34 and /etc/apt/sources.list:60
W: Target CNF (universe/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:34 and /etc/apt/sources.list:60
W: Target Packages (multiverse/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:34 and /etc/apt/sources.list:60
W: Target Packages (multiverse/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:34 and /etc/apt/sources.list:60
W: Target Translations (multiverse/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list:34 and /etc/apt/sources.list:60
W: Target Translations (multiverse/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:34 and /etc/apt/sources.list:60
W: Target CNF (multiverse/cnf/Commands-amd64) is configured multiple times in /etc/apt/sources.list:34 and /etc/apt/sources.list:60
W: Target CNF (multiverse/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:34 and /etc/apt/sources.list:60
W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:44 and /etc/apt/sources.list:62
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:44 and /etc/apt/sources.list:62
W: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list:44 and /etc/apt/sources.list:62
W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:44 and /etc/apt/sources.list:62
W: Target CNF (main/cnf/Commands-amd64) is configured multiple times in /etc/apt/sources.list:44 and /etc/apt/sources.list:62
W: Target CNF (main/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:44 and /etc/apt/sources.list:62
W: Target Packages (restricted/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:44 and /etc/apt/sources.list:62
W: Target Packages (restricted/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:44 and /etc/apt/sources.list:62
W: Target Translations (restricted/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list:44 and /etc/apt/sources.list:62
W: Target Translations (restricted/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:44 and /etc/apt/sources.list:62
W: Target CNF (restricted/cnf/Commands-amd64) is configured multiple times in /etc/apt/sources.list:44 and /etc/apt/sources.list:62
W: Target CNF (restricted/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:44 and /etc/apt/sources.list:62
W: Target Packages (universe/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:46 and /etc/apt/sources.list:62
W: Target Packages (universe/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:46 and /etc/apt/sources.list:62
W: Target Translations (universe/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list:46 and /etc/apt/sources.list:62
W: Target Translations (universe/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:46 and /etc/apt/sources.list:62
W: Target CNF (universe/cnf/Commands-amd64) is configured multiple times in /etc/apt/sources.list:46 and /etc/apt/sources.list:62
W: Target CNF (universe/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:46 and /etc/apt/sources.list:62
W: Target Packages (multiverse/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:48 and /etc/apt/sources.list:62
W: Target Packages (multiverse/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:48 and /etc/apt/sources.list:62
W: Target Translations (multiverse/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list:48 and /etc/apt/sources.list:62
W: Target Translations (multiverse/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:48 and /etc/apt/sources.list:62
W: Target CNF (multiverse/cnf/Commands-amd64) is configured multiple times in /etc/apt/sources.list:48 and /etc/apt/sources.list:62
W: Target CNF (multiverse/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:48 and /etc/apt/sources.list:62
[root@prd-devel-00 /etc/apt]$
  • 安装firewalld

执行:

sudo  apt-get  install  firewalld
[root@prd-devel-00 /etc/apt]$sudo apt-get install  firewalld 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following additional packages will be installed:
  dbus ebtables gir1.2-glib-2.0 ipset iptables libapparmor1 libargon2-0 libcap2 libcryptsetup12 libdbus-1-3 libgirepository-1.0-1 libglib2.0-0 libglib2.0-data libidn11 libip4tc0 libip6tc0 libipset3 libiptc0 libmnl0
  libnetfilter-conntrack3 libnfnetlink0 libnss-systemd libpam-runtime libpam-systemd libpolkit-agent-1-0 libpolkit-backend-1-0 libpolkit-gobject-1-0 libseccomp2 libxtables12 mount networkd-dispatcher policykit-1 python3-dbus
  python3-decorator python3-gi python3-selinux python3-six python3-slip python3-slip-dbus shared-mime-info systemd systemd-sysv xdg-user-dirs
Suggested packages:
  default-dbus-session-bus | dbus-session-bus nfs-common python-dbus-doc python3-dbus-dbg systemd-container
The following NEW packages will be installed:
  dbus ebtables firewalld gir1.2-glib-2.0 ipset iptables libapparmor1 libargon2-0 libcap2 libcryptsetup12 libdbus-1-3 libgirepository-1.0-1 libglib2.0-0 libglib2.0-data libidn11 libip4tc0 libip6tc0 libipset3 libiptc0 libmnl0
  libnetfilter-conntrack3 libnfnetlink0 libnss-systemd libpam-runtime libpam-systemd libpolkit-agent-1-0 libpolkit-backend-1-0 libpolkit-gobject-1-0 libseccomp2 libxtables12 mount networkd-dispatcher policykit-1 python3-dbus
  python3-decorator python3-gi python3-selinux python3-six python3-slip python3-slip-dbus shared-mime-info systemd systemd-sysv xdg-user-dirs
0 upgraded, 44 newly installed, 0 to remove and 1 not upgraded.
Need to get 435 kB/7,332 kB of archives.
After this operation, 33.4 MB of additional disk space will be used.
Do you want to continue? [Y/n] Y
Get:1 https://mirrors.tuna.tsinghua.edu.cn/ubuntu bionic/universe amd64 firewalld all 0.4.4.6-1 [435 kB]
Fetched 435 kB in 1s (660 kB/s)    
Extracting templates from packages: 100%
Preconfiguring packages ...
Selecting previously unselected package mount.
(Reading database ... 50557 files and directories currently installed.)
Preparing to unpack .../0-mount_2.31.1-0.4ubuntu3.7_amd64.deb ...
Unpacking mount (2.31.1-0.4ubuntu3.7) ...
Selecting previously unselected package libcap2:amd64.
Preparing to unpack .../1-libcap2_1%3a2.25-1.2_amd64.deb ...
Unpacking libcap2:amd64 (1:2.25-1.2) ...
Selecting previously unselected package libargon2-0:amd64.
Preparing to unpack .../2-libargon2-0_0~20161029-1.1_amd64.deb ...
Unpacking libargon2-0:amd64 (0~20161029-1.1) ...
Selecting previously unselected package libcryptsetup12:amd64.
Preparing to unpack .../3-libcryptsetup12_2%3a2.0.2-1ubuntu1.2_amd64.deb ...
Unpacking libcryptsetup12:amd64 (2:2.0.2-1ubuntu1.2) ...
Selecting previously unselected package libidn11:amd64.
Preparing to unpack .../4-libidn11_1.33-2.1ubuntu1.2_amd64.deb ...
Unpacking libidn11:amd64 (1.33-2.1ubuntu1.2) ...
Selecting previously unselected package libip4tc0:amd64.
Preparing to unpack .../5-libip4tc0_1.6.1-2ubuntu2_amd64.deb ...
Unpacking libip4tc0:amd64 (1.6.1-2ubuntu2) ...
Selecting previously unselected package libseccomp2:amd64.
Preparing to unpack .../6-libseccomp2_2.5.1-1ubuntu1~18.04.2_amd64.deb ...
Unpacking libseccomp2:amd64 (2.5.1-1ubuntu1~18.04.2) ...
Selecting previously unselected package libapparmor1:amd64.
Preparing to unpack .../7-libapparmor1_2.12-4ubuntu5.1_amd64.deb ...
Unpacking libapparmor1:amd64 (2.12-4ubuntu5.1) ...
Setting up libcap2:amd64 (1:2.25-1.2) ...
Setting up libargon2-0:amd64 (0~20161029-1.1) ...
Setting up libcryptsetup12:amd64 (2:2.0.2-1ubuntu1.2) ...
Setting up libidn11:amd64 (1.33-2.1ubuntu1.2) ...
Setting up libip4tc0:amd64 (1.6.1-2ubuntu2) ...
Setting up libseccomp2:amd64 (2.5.1-1ubuntu1~18.04.2) ...
Selecting previously unselected package systemd.
(Reading database ... 50618 files and directories currently installed.)
Preparing to unpack .../systemd_237-3ubuntu10.56_amd64.deb ...
Unpacking systemd (237-3ubuntu10.56) ...
Setting up libapparmor1:amd64 (2.12-4ubuntu5.1) ...
Setting up mount (2.31.1-0.4ubuntu3.7) ...
Setting up systemd (237-3ubuntu10.56) ...

Configuration file '/etc/dhcp/dhclient-enter-hooks.d/resolved'
 ==> File on system created by you or by a script.
 ==> File also in package provided by package maintainer.
   What would you like to do about it ?  Your options are:
    Y or I  : install the package maintainer's version
    N or O  : keep your currently-installed version
      D     : show the differences between the versions
      Z     : start a shell to examine the situation
 The default action is to keep your current version.
*** resolved (Y/I/N/O/D/Z) [default=N] ? Y
Installing new version of config file /etc/dhcp/dhclient-enter-hooks.d/resolved ...

Configuration file '/etc/systemd/resolved.conf'
 ==> File on system created by you or by a script.
 ==> File also in package provided by package maintainer.
   What would you like to do about it ?  Your options are:
    Y or I  : install the package maintainer's version
    N or O  : keep your currently-installed version
      D     : show the differences between the versions
      Z     : start a shell to examine the situation
 The default action is to keep your current version.
*** resolved.conf (Y/I/N/O/D/Z) [default=N] ? Y
Installing new version of config file /etc/systemd/resolved.conf ...
Selecting previously unselected package systemd-sysv.
(Reading database ... 51313 files and directories currently installed.)
Preparing to unpack .../00-systemd-sysv_237-3ubuntu10.56_amd64.deb ...
Unpacking systemd-sysv (237-3ubuntu10.56) ...
Selecting previously unselected package libnfnetlink0:amd64.
Preparing to unpack .../01-libnfnetlink0_1.0.1-3_amd64.deb ...
Unpacking libnfnetlink0:amd64 (1.0.1-3) ...
Selecting previously unselected package libpam-runtime.
Preparing to unpack .../02-libpam-runtime_1.1.8-3.6ubuntu2.18.04.3_all.deb ...
Unpacking libpam-runtime (1.1.8-3.6ubuntu2.18.04.3) ...
Selecting previously unselected package libdbus-1-3:amd64.
Preparing to unpack .../03-libdbus-1-3_1.12.2-1ubuntu1.3_amd64.deb ...
Unpacking libdbus-1-3:amd64 (1.12.2-1ubuntu1.3) ...
Selecting previously unselected package dbus.
Preparing to unpack .../04-dbus_1.12.2-1ubuntu1.3_amd64.deb ...
Unpacking dbus (1.12.2-1ubuntu1.3) ...
Selecting previously unselected package libglib2.0-0:amd64.
Preparing to unpack .../05-libglib2.0-0_2.56.4-0ubuntu0.18.04.9_amd64.deb ...
Unpacking libglib2.0-0:amd64 (2.56.4-0ubuntu0.18.04.9) ...
Selecting previously unselected package libgirepository-1.0-1:amd64.
Preparing to unpack .../06-libgirepository-1.0-1_1.56.1-1_amd64.deb ...
Unpacking libgirepository-1.0-1:amd64 (1.56.1-1) ...
Selecting previously unselected package gir1.2-glib-2.0:amd64.
Preparing to unpack .../07-gir1.2-glib-2.0_1.56.1-1_amd64.deb ...
Unpacking gir1.2-glib-2.0:amd64 (1.56.1-1) ...
Selecting previously unselected package libglib2.0-data.
Preparing to unpack .../08-libglib2.0-data_2.56.4-0ubuntu0.18.04.9_all.deb ...
Unpacking libglib2.0-data (2.56.4-0ubuntu0.18.04.9) ...
Selecting previously unselected package libmnl0:amd64.
Preparing to unpack .../09-libmnl0_1.0.4-2_amd64.deb ...
Unpacking libmnl0:amd64 (1.0.4-2) ...
Selecting previously unselected package libnss-systemd:amd64.
Preparing to unpack .../10-libnss-systemd_237-3ubuntu10.56_amd64.deb ...
Unpacking libnss-systemd:amd64 (237-3ubuntu10.56) ...
Selecting previously unselected package libpam-systemd:amd64.
Preparing to unpack .../11-libpam-systemd_237-3ubuntu10.56_amd64.deb ...
Unpacking libpam-systemd:amd64 (237-3ubuntu10.56) ...
Selecting previously unselected package libxtables12:amd64.
Preparing to unpack .../12-libxtables12_1.6.1-2ubuntu2_amd64.deb ...
Unpacking libxtables12:amd64 (1.6.1-2ubuntu2) ...
Selecting previously unselected package python3-dbus.
Preparing to unpack .../13-python3-dbus_1.2.6-1_amd64.deb ...
Unpacking python3-dbus (1.2.6-1) ...
Selecting previously unselected package python3-gi.
Preparing to unpack .../14-python3-gi_3.26.1-2ubuntu1_amd64.deb ...
Unpacking python3-gi (3.26.1-2ubuntu1) ...
Selecting previously unselected package networkd-dispatcher.
Preparing to unpack .../15-networkd-dispatcher_1.7-0ubuntu3.5_all.deb ...
Unpacking networkd-dispatcher (1.7-0ubuntu3.5) ...
Selecting previously unselected package shared-mime-info.
Preparing to unpack .../16-shared-mime-info_1.9-2_amd64.deb ...
Unpacking shared-mime-info (1.9-2) ...
Selecting previously unselected package xdg-user-dirs.
Preparing to unpack .../17-xdg-user-dirs_0.17-1ubuntu1_amd64.deb ...
Unpacking xdg-user-dirs (0.17-1ubuntu1) ...
Selecting previously unselected package libip6tc0:amd64.
Preparing to unpack .../18-libip6tc0_1.6.1-2ubuntu2_amd64.deb ...
Unpacking libip6tc0:amd64 (1.6.1-2ubuntu2) ...
Selecting previously unselected package libiptc0:amd64.
Preparing to unpack .../19-libiptc0_1.6.1-2ubuntu2_amd64.deb ...
Unpacking libiptc0:amd64 (1.6.1-2ubuntu2) ...
Selecting previously unselected package libnetfilter-conntrack3:amd64.
Preparing to unpack .../20-libnetfilter-conntrack3_1.0.6-2_amd64.deb ...
Unpacking libnetfilter-conntrack3:amd64 (1.0.6-2) ...
Selecting previously unselected package iptables.
Preparing to unpack .../21-iptables_1.6.1-2ubuntu2_amd64.deb ...
Unpacking iptables (1.6.1-2ubuntu2) ...
Selecting previously unselected package libpolkit-gobject-1-0:amd64.
Preparing to unpack .../22-libpolkit-gobject-1-0_0.105-20ubuntu0.18.04.6_amd64.deb ...
Unpacking libpolkit-gobject-1-0:amd64 (0.105-20ubuntu0.18.04.6) ...
Selecting previously unselected package ebtables.
Preparing to unpack .../23-ebtables_2.0.10.4-3.5ubuntu2.18.04.3_amd64.deb ...
Unpacking ebtables (2.0.10.4-3.5ubuntu2.18.04.3) ...
Selecting previously unselected package libpolkit-agent-1-0:amd64.
Preparing to unpack .../24-libpolkit-agent-1-0_0.105-20ubuntu0.18.04.6_amd64.deb ...
Unpacking libpolkit-agent-1-0:amd64 (0.105-20ubuntu0.18.04.6) ...
Selecting previously unselected package libpolkit-backend-1-0:amd64.
Preparing to unpack .../25-libpolkit-backend-1-0_0.105-20ubuntu0.18.04.6_amd64.deb ...
Unpacking libpolkit-backend-1-0:amd64 (0.105-20ubuntu0.18.04.6) ...
Selecting previously unselected package policykit-1.
Preparing to unpack .../26-policykit-1_0.105-20ubuntu0.18.04.6_amd64.deb ...
Created symlink /run/systemd/system/polkit.service → /dev/null.
Unpacking policykit-1 (0.105-20ubuntu0.18.04.6) ...
Selecting previously unselected package python3-decorator.
Preparing to unpack .../27-python3-decorator_4.1.2-1_all.deb ...
Unpacking python3-decorator (4.1.2-1) ...
Selecting previously unselected package python3-six.
Preparing to unpack .../28-python3-six_1.11.0-2_all.deb ...
Unpacking python3-six (1.11.0-2) ...
Selecting previously unselected package python3-selinux.
Preparing to unpack .../29-python3-selinux_2.7-2build2_amd64.deb ...
Unpacking python3-selinux (2.7-2build2) ...
Selecting previously unselected package python3-slip.
Preparing to unpack .../30-python3-slip_0.6.5-2_all.deb ...
Unpacking python3-slip (0.6.5-2) ...
Selecting previously unselected package python3-slip-dbus.
Preparing to unpack .../31-python3-slip-dbus_0.6.5-2_all.deb ...
Unpacking python3-slip-dbus (0.6.5-2) ...
Selecting previously unselected package firewalld.
Preparing to unpack .../32-firewalld_0.4.4.6-1_all.deb ...
Unpacking firewalld (0.4.4.6-1) ...
Selecting previously unselected package libipset3:amd64.
Preparing to unpack .../33-libipset3_6.34-1_amd64.deb ...
Unpacking libipset3:amd64 (6.34-1) ...
Selecting previously unselected package ipset.
Preparing to unpack .../34-ipset_6.34-1_amd64.deb ...
Unpacking ipset (6.34-1) ...
Setting up libpam-runtime (1.1.8-3.6ubuntu2.18.04.3) ...
Setting up libnss-systemd:amd64 (237-3ubuntu10.56) ...
First installation detected...
Checking NSS setup...
Setting up python3-selinux (2.7-2build2) ...
Setting up systemd-sysv (237-3ubuntu10.56) ...
Sourcing file `/etc/default/grub'
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-4.15.0-144-generic
Found initrd image: /boot/initrd.img-4.15.0-144-generic
Found linux image: /boot/vmlinuz-4.15.0-143-generic
Found initrd image: /boot/initrd.img-4.15.0-143-generic
Found linux image: /boot/vmlinuz-4.15.0-142-generic
Found initrd image: /boot/initrd.img-4.15.0-142-generic
Found linux image: /boot/vmlinuz-4.15.0-112-generic
Found initrd image: /boot/initrd.img-4.15.0-112-generic
Found Ubuntu 16.04.7 LTS (16.04) on /dev/xvdc2
done
Setting up libglib2.0-0:amd64 (2.56.4-0ubuntu0.18.04.9) ...
No schema files found: doing nothing.
Setting up python3-six (1.11.0-2) ...
Setting up libiptc0:amd64 (1.6.1-2ubuntu2) ...
Setting up python3-slip (0.6.5-2) ...
Setting up libgirepository-1.0-1:amd64 (1.56.1-1) ...
Setting up gir1.2-glib-2.0:amd64 (1.56.1-1) ...
Setting up libglib2.0-data (2.56.4-0ubuntu0.18.04.9) ...
Setting up libxtables12:amd64 (1.6.1-2ubuntu2) ...
Setting up ebtables (2.0.10.4-3.5ubuntu2.18.04.3) ...
update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults
Setting up shared-mime-info (1.9-2) ...
Setting up libnfnetlink0:amd64 (1.0.1-3) ...
Setting up python3-decorator (4.1.2-1) ...
Setting up libmnl0:amd64 (1.0.4-2) ...
Setting up xdg-user-dirs (0.17-1ubuntu1) ...
Setting up libpolkit-gobject-1-0:amd64 (0.105-20ubuntu0.18.04.6) ...
Setting up libdbus-1-3:amd64 (1.12.2-1ubuntu1.3) ...
Setting up libip6tc0:amd64 (1.6.1-2ubuntu2) ...
Setting up libnetfilter-conntrack3:amd64 (1.0.6-2) ...
Setting up python3-dbus (1.2.6-1) ...
Setting up libpolkit-agent-1-0:amd64 (0.105-20ubuntu0.18.04.6) ...
Setting up python3-gi (3.26.1-2ubuntu1) ...
Setting up libipset3:amd64 (6.34-1) ...
Setting up libpolkit-backend-1-0:amd64 (0.105-20ubuntu0.18.04.6) ...
Setting up iptables (1.6.1-2ubuntu2) ...
Setting up python3-slip-dbus (0.6.5-2) ...
Setting up ipset (6.34-1) ...
Setting up dbus (1.12.2-1ubuntu1.3) ...
Setting up networkd-dispatcher (1.7-0ubuntu3.5) ...
Setting up libpam-systemd:amd64 (237-3ubuntu10.56) ...
Setting up policykit-1 (0.105-20ubuntu0.18.04.6) ...
Removed /run/systemd/system/polkit.service.
polkit.service is a disabled or a static unit, not starting it.
Setting up firewalld (0.4.4.6-1) ...
update-alternatives: using /usr/share/polkit-1/actions/org.fedoraproject.FirewallD1.server.policy.choice to provide /usr/share/polkit-1/actions/org.fedoraproject.FirewallD1.policy (org.fedoraproject.FirewallD1.policy) in auto mode
Created symlink /etc/systemd/system/dbus-org.fedoraproject.FirewallD1.service → /lib/systemd/system/firewalld.service.
Created symlink /etc/systemd/system/multi-user.target.wants/firewalld.service → /lib/systemd/system/firewalld.service.
Processing triggers for systemd (237-3ubuntu10.56) ...
Processing triggers for dbus (1.12.2-1ubuntu1.3) ...
[root@prd-devel-00 /etc/apt]$
  • 1
    点赞
  • 4
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值