安装epel扩展后出现的几个问题
A1:
Error: Cannot retrieve metalink for repository: epel. Please verify its path and try again
编辑/etc/yum.repo/epel.repo文件,
1 | #baseurl |
A2:
PYCURL ERROR 7 - “Failed to connect to 2001:4178:5:200::10: Network is unreachable”
1 | vim /etc/yum.conf |
A3:
[Errno 14] problem making ssl connection
[Errno 14] PYCURL ERROR 7 - Failed to connect to 2605:bc80:3010:600:dead:beef:cafe:fed9: Network is unreachable
1 | yum install ca-certificates -y |
A4:
There are unfinished transactions remaining. You might consider running yum-complete-transaction, or “yum-complete-transaction –cleanup-only” and “yum history redo last”, first to finish them. If those don’t work you’ll have to try removing/installing packages by hand (maybe package-cleanup can help).
The program yum-complete-transaction is found in the yum-utils package.
1 | yum install yum-utils |