执行yum install时,终端一直刷重复的内容,看起来不像报错,可是又无休止的刷
启动nginx报错,说找不到libcrypto.so.6
这是因为缺少openssl相关包
于是执行下载 yum install openssl*
发现同步了一些库后,开始重复的刷如下内容:
—> Package hal.x86_64 0:0.5.14-11.el6 will be obsoleted
–> Processing Dependency: hal >= 0.5.10 for package: hal-info-20090716-3.1.el6.noarch
—> Package python.x86_64 0:2.6.6-51.el6 will be updated
–> Processing Dependency: python(abi) = 2.6 for package: python-iwlib-0.1-1.2.el6.x86_64
—> Package python-libs.x86_64 0:2.6.6-51.el6 will be updated
–> Processing Dependency: libpython2.6.so.1.0()(64bit) for package: python-iwlib-0.1-1.2.el6.x86_64
—> Package upstart.x86_64 0:0.6.5-12.el6_4.1 will be obsoleted
–> Processing Dependency: upstart for package: 1:readahead-1.5.6-2.el6.x86_64
–> Processing Dependency: /sbin/new-kernel-pkg for package: kernel-2.6.32-431.el6.x86_64
–> Restarting Dependency Resolution with new changes.
–> Running transaction check
这是centos6和centos7的yum源混用了导致的
首先配置yum源
yum源配置参考:
https://blog.csdn.net/wangzs1234/article/details/111151798
(如果wget报错 可以尝试手动打开后面的链接查看yum源配置 复制到本机的/etc/yum.repos.d/CentOS-Base.repo)
#yum clean all
#yum makecache
参考链接:https://blog.csdn.net/Liu_Jennie/article/details/114890421
https://blog.csdn.net/wangzs1234/article/details/111151798