minken 发表于 2018-12-26 19:53:49

安装LNMP失败

centos 6.564位安装
nginx-1.14.1
mysql-5.5.60
php-5.6.36

错误

licess 发表于 2018-12-27 10:31:22

--> Finished Dependency Resolution
Error:Multilib version problems found. This often means that the root
       cause is something else and multilib version checking is just
       pointing out that there is a problem. Eg.:
      
         1. You have an upgrade for libxml2 which is missing some
            dependency that another package requires. Yum is trying to
            solve this by installing an older version of libxml2 of the
            different architecture. If you exclude the bad architecture
            yum will tell you what the root cause is (which package
            requires what). You can try redoing the upgrade with
            --exclude libxml2.otherarch ... this should give you an error
            message showing the root cause of the problem.
      
         2. You have multiple architectures of libxml2 installed, but
            yum can only see an upgrade for one of those arcitectures.
            If you don't want/need both architectures anymore then you
            can remove the one with the missing update and everything
            will work.
      
         3. You have duplicate versions of libxml2 installed already.
            You can use "yum check" to get yum show these errors.
      
       ...you can also use --setopt=protected_multilib=false to remove
       this checking, however this is almost never the correct thing to
       do as something else is very likely to go wrong (often causing
       much more problems).
      
       Protected multilib versions: libxml2-2.7.6-21.el6_8.1.i686 != libxml2-2.9.4-2.0.cf.fc6.x86_64
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
。。。。。。
checking for XSL support... yes
configure: error: xslt-config not found. Please reinstall the libxslt >= 1.1.0 distribution
可以尝试执行 yum install libxml2 libxml2-devel libxslt libxslt-devel --setopt=protected_multilib=false 修复一下再试试

minken 发表于 2018-12-27 12:37:35

搞定了,第一次按原的上面方法不成功,后来我发现组件的版本不兼容是因为我的系统有添加新的源,所以出现了多个版本的libxml,
果断卸载此yum源 rpm -e city-fan.org-release   重装OK

minken 发表于 2018-12-27 12:38:11

谢谢,军哥。。。。。。。
页: [1]
查看完整版本: 安装LNMP失败