haibor 发表于 2017-7-4 19:46:52

解决Wordpress SSL CA问题时出现如下问题

根据帖子:Wordpress 升级插件出现Problem with the SSL CA cert (path? access rights?)
https://bbs.vpser.net/viewthread.php?page=1&tid=12928

执行如下命令时: # yum reinstall ca-certificates -y

提示如下错误:
There was a problem importing one of the Python modules
required to run yum. The error leading to this problem was:

   No module named sqlite

Please install a package which provides this module, or
verify that the module is installed correctly.

It's possible that the above module doesn't match the
current version of Python, which is:
2.6.6 (r266:84292, Jul 23 2015, 15:22:56)


If you cannot solve this problem yourself, please go to
the yum faq at:
http://yum.baseurl.org/wiki/Faq


使用 mv /usr/lib64/libsqlite3.so.0.8.6.bak /usr/lib64/libsqlite3.so.0.8.6 命令后, yum 可执行


# yum reinstall ca-certificates -y   

出现如下问题:


已加载插件:fastestmirror
设置覆盖安装进程
参数 ca-certificates 没有匹配
Determining fastest mirrors
http://mirrors.cloud.aliyuncs.com/centos/%24releasever/os/x86_64/repodata/repomd.xml: PYCURL ERROR 22 - "The requested URL returned error: 404 Not Found"
尝试其他镜像。
To address this issue please refer to the below knowledge base article

https://access.redhat.com/articles/1320623

If above article doesn't help to resolve this issue please open a ticket with Red Hat Support.

错误:Cannot retrieve repository metadata (repomd.xml) for repository: base. Please verify its path and try again

[ 本帖最后由 haibor 于 2017-7-4 19:51 编辑 ]

licess 发表于 2017-7-5 09:39:26

http://mirrors.cloud.aliyuncs.com/centos/%24releasever/os/x86_64/repodata/repomd.xml: PYCURL ERROR 22 - "The requested URL returned error: 404 Not Found"

你这个源的设置有问题,可以用163源替换一下 http://mirrors.163.com/.help/centos.html
或者自己看一下/etc/yum.repos.d/CentOS-Base.repo 参考同版本的centos的源重新设置一下
页: [1]
查看完整版本: 解决Wordpress SSL CA问题时出现如下问题