V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
Distributions
Ubuntu
Fedora
CentOS
中文资源站
网易开源镜像站
lfautumn
V2EX  ›  Linux

XZ_5.1.2alpha 找不到怎么解决啊, yum 都用不了,系统 centos7

  •  
  •   lfautumn · 2017-06-14 05:21:41 +08:00 · 3825 次点击
    这是一个创建于 2510 天前的主题,其中的信息可能已经有所发展或是发生改变。
    yum update
    There was a problem importing one of the Python modules
    required to run yum. The error leading to this problem was:

    /usr/local/lib/liblzma.so.5: version `XZ_5.1.2alpha' not found (required by /lib64/librpmio.so.3)

    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.7.5 (default, Nov 6 2016, 00:28:07)
    [GCC 4.8.5 20150623 (Red Hat 4.8.5-11)]

    If you cannot solve this problem yourself, please go to
    the yum faq at:
    http://yum.baseurl.org/wiki/Faq
    lfautumn
        1
    lfautumn  
    OP
       2017-06-14 05:22:08 +08:00
    rpm 命令强制安装这个包也不行,rpm -ivh 也会报这个错误
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   1239 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 29ms · UTC 23:41 · PVG 07:41 · LAX 16:41 · JFK 19:41
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.