Linux:Yum – error:[Errno 14] Peer cert cannot be verified or peer cert invalid 或 Error: Cannot retrieve repository metadata (repomd.xml) for repository: epel. Please verify its path and try again
报错如题所示,具体如下:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 |
[root@TestSql1 ~]# yum makecache Loaded plugins: fastestmirror Repository base is listed more than once in the configuration Repository updates is listed more than once in the configuration Repository extras is listed more than once in the configuration Repository centosplus is listed more than once in the configuration Loading mirror speeds from cached hostfile * base: mirrors.aliyun.com * extras: mirrors.aliyun.com * updates: mirrors.aliyun.com base | 3.7 kB 00:00 base/group_gz | 242 kB 00:00 base/filelists_db | 6.4 MB 00:00 base/primary_db | 4.7 MB 00:00 base/other_db | 2.8 MB 00:00 https://mirrors.tuna.tsinghua.edu.cn/epel/6/x86_64/repodata/repomd.xml: [Errno 14] Peer cert cannot be verified or peer cert invalid Trying other mirror. Error: Cannot retrieve repository metadata (repomd.xml) for repository: epel. Please verify its path and try again [root@TestSql1 ~]# |
其实,报错中提示的URL【https://mirrors.tuna.tsinghua.edu.cn/epel/6/x86_64/repodata/repomd.xml】是可以访问的:
造成YU[……]