CentOS 6.5 安装 hhvm 时出现依赖错误

CentOS 6.5 安装 hhvm 时出现依赖错误

我正在尝试在新创建的 droplet 上安装 hhvm。为此,我遵循本指南

添加 Gleez 存储库后,我尝试运行

yum update && yum upgrade

有很多行,最后是:

--> Finished Dependency Resolution
Error: Package: less-436-13.el6.x86_64 (@base)
           Requires: libpcre.so.0()(64bit)
           Removing: pcre-7.8-6.el6.x86_64 (@anaconda-CentOS-201311272149.x86_64/6.5)
               libpcre.so.0()(64bit)
           Updated By: pcre-8.33-2.el6.2.x86_64 (gleez)
               Not found
Error: Package: 2:postfix-2.6.6-6.el6_5.x86_64 (@updates)
           Requires: libpcre.so.0()(64bit)
           Removing: pcre-7.8-6.el6.x86_64 (@anaconda-CentOS-201311272149.x86_64/6.5)
               libpcre.so.0()(64bit)
           Updated By: pcre-8.33-2.el6.2.x86_64 (gleez)
               Not found
Error: Package: nginx-1.7.9-1.el6.ngx.x86_64 (@nginx)
           Requires: libpcre.so.0()(64bit)
           Removing: pcre-7.8-6.el6.x86_64 (@anaconda-CentOS-201311272149.x86_64/6.5)
               libpcre.so.0()(64bit)
           Updated By: pcre-8.33-2.el6.2.x86_64 (gleez)
               Not found
Error: Package: boost-regex-1.54.0-9.el6.x86_64 (gleez)
           Requires: libicuuc.so.42()(64bit)
           Removing: libicu-4.2.1-9.1.el6_2.x86_64 (@base)
               libicuuc.so.42()(64bit)
           Obsoleted By: libicu51_2-51.2-9.2.x86_64 (gleez)
               Not found
Error: Package: boost-locale-1.54.0-9.el6.x86_64 (gleez)
           Requires: libicudata.so.42()(64bit)
           Removing: libicu-4.2.1-9.1.el6_2.x86_64 (@base)
               libicudata.so.42()(64bit)
           Obsoleted By: libicu51_2-51.2-9.2.x86_64 (gleez)
               Not found
Error: Package: boost-graph-1.54.0-9.el6.x86_64 (gleez)
           Requires: libicudata.so.42()(64bit)
           Removing: libicu-4.2.1-9.1.el6_2.x86_64 (@base)
               libicudata.so.42()(64bit)
           Obsoleted By: libicu51_2-51.2-9.2.x86_64 (gleez)
               Not found
Error: Package: grep-2.6.3-6.el6.x86_64 (@base)
           Requires: libpcre.so.0()(64bit)
           Removing: pcre-7.8-6.el6.x86_64 (@anaconda-CentOS-201311272149.x86_64/6.5)
               libpcre.so.0()(64bit)
           Updated By: pcre-8.33-2.el6.2.x86_64 (gleez)
               Not found
Error: Package: boost-graph-1.54.0-9.el6.x86_64 (gleez)
           Requires: libicui18n.so.42()(64bit)
           Removing: libicu-4.2.1-9.1.el6_2.x86_64 (@base)
               libicui18n.so.42()(64bit)
           Obsoleted By: libicu51_2-51.2-9.2.x86_64 (gleez)
               Not found
Error: Package: boost-regex-1.54.0-9.el6.x86_64 (gleez)
           Requires: libicudata.so.42()(64bit)
           Removing: libicu-4.2.1-9.1.el6_2.x86_64 (@base)
               libicudata.so.42()(64bit)
           Obsoleted By: libicu51_2-51.2-9.2.x86_64 (gleez)
               Not found
Error: Package: boost-graph-1.54.0-9.el6.x86_64 (gleez)
           Requires: libicuuc.so.42()(64bit)
           Removing: libicu-4.2.1-9.1.el6_2.x86_64 (@base)
               libicuuc.so.42()(64bit)
           Obsoleted By: libicu51_2-51.2-9.2.x86_64 (gleez)
               Not found
Error: Package: boost-locale-1.54.0-9.el6.x86_64 (gleez)
           Requires: libicui18n.so.42()(64bit)
           Removing: libicu-4.2.1-9.1.el6_2.x86_64 (@base)
               libicui18n.so.42()(64bit)
           Obsoleted By: libicu51_2-51.2-9.2.x86_64 (gleez)
               Not found
Error: Package: boost-regex-1.54.0-9.el6.x86_64 (gleez)
           Requires: libicui18n.so.42()(64bit)
           Removing: libicu-4.2.1-9.1.el6_2.x86_64 (@base)
               libicui18n.so.42()(64bit)
           Obsoleted By: libicu51_2-51.2-9.2.x86_64 (gleez)
               Not found
Error: Package: boost-locale-1.54.0-9.el6.x86_64 (gleez)
           Requires: libicuuc.so.42()(64bit)
           Removing: libicu-4.2.1-9.1.el6_2.x86_64 (@base)
               libicuuc.so.42()(64bit)
           Obsoleted By: libicu51_2-51.2-9.2.x86_64 (gleez)
               Not found
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest

但它给了我很多错误。

我想了解为什么会发生这种错误以及解决方法是什么?

从今天起,我一直忽略这些类型的错误,当它们出现时,我习惯于卸载特定的软件包或从头开始。


更新1:

我试过

yum clean all

仍然显示错误,例如

--> Finished Dependency Resolution
Error: Package: less-436-13.el6.x86_64 (@base)
           Requires: libpcre.so.0()(64bit)
           Removing: pcre-7.8-6.el6.x86_64 (@anaconda-CentOS-201311272149.x86_64/6.5)
               libpcre.so.0()(64bit)
           Updated By: pcre-8.33-2.el6.2.x86_64 (gleez)
               Not found
Error: Package: 2:postfix-2.6.6-6.el6_5.x86_64 (@updates)
           Requires: libpcre.so.0()(64bit)
           Removing: pcre-7.8-6.el6.x86_64 (@anaconda-CentOS-201311272149.x86_64/6.5)
               libpcre.so.0()(64bit)
           Updated By: pcre-8.33-2.el6.2.x86_64 (gleez)
               Not found
Error: Package: nginx-1.7.9-1.el6.ngx.x86_64 (@nginx)
           Requires: libpcre.so.0()(64bit)
           Removing: pcre-7.8-6.el6.x86_64 (@anaconda-CentOS-201311272149.x86_64/6.5)
               libpcre.so.0()(64bit)
           Updated By: pcre-8.33-2.el6.2.x86_64 (gleez)
               Not found
Error: Package: boost-regex-1.54.0-9.el6.x86_64 (gleez)
           Requires: libicuuc.so.42()(64bit)
           Removing: libicu-4.2.1-9.1.el6_2.x86_64 (@base)
               libicuuc.so.42()(64bit)
           Obsoleted By: libicu51_2-51.2-9.2.x86_64 (gleez)
               Not found
Error: Package: boost-locale-1.54.0-9.el6.x86_64 (gleez)
           Requires: libicudata.so.42()(64bit)
           Removing: libicu-4.2.1-9.1.el6_2.x86_64 (@base)
               libicudata.so.42()(64bit)
           Obsoleted By: libicu51_2-51.2-9.2.x86_64 (gleez)
               Not found
Error: Package: boost-graph-1.54.0-9.el6.x86_64 (gleez)
           Requires: libicudata.so.42()(64bit)
           Removing: libicu-4.2.1-9.1.el6_2.x86_64 (@base)
               libicudata.so.42()(64bit)
           Obsoleted By: libicu51_2-51.2-9.2.x86_64 (gleez)
               Not found
Error: Package: grep-2.6.3-6.el6.x86_64 (@base)
           Requires: libpcre.so.0()(64bit)
           Removing: pcre-7.8-6.el6.x86_64 (@anaconda-CentOS-201311272149.x86_64/6.5)
               libpcre.so.0()(64bit)
           Updated By: pcre-8.33-2.el6.2.x86_64 (gleez)
               Not found
Error: Package: boost-graph-1.54.0-9.el6.x86_64 (gleez)
           Requires: libicui18n.so.42()(64bit)
           Removing: libicu-4.2.1-9.1.el6_2.x86_64 (@base)
               libicui18n.so.42()(64bit)
           Obsoleted By: libicu51_2-51.2-9.2.x86_64 (gleez)
               Not found
Error: Package: boost-regex-1.54.0-9.el6.x86_64 (gleez)
           Requires: libicudata.so.42()(64bit)
           Removing: libicu-4.2.1-9.1.el6_2.x86_64 (@base)
               libicudata.so.42()(64bit)
           Obsoleted By: libicu51_2-51.2-9.2.x86_64 (gleez)
               Not found
Error: Package: boost-graph-1.54.0-9.el6.x86_64 (gleez)
           Requires: libicuuc.so.42()(64bit)
           Removing: libicu-4.2.1-9.1.el6_2.x86_64 (@base)
               libicuuc.so.42()(64bit)
           Obsoleted By: libicu51_2-51.2-9.2.x86_64 (gleez)
               Not found
Error: Package: boost-locale-1.54.0-9.el6.x86_64 (gleez)
           Requires: libicui18n.so.42()(64bit)
           Removing: libicu-4.2.1-9.1.el6_2.x86_64 (@base)
               libicui18n.so.42()(64bit)
           Obsoleted By: libicu51_2-51.2-9.2.x86_64 (gleez)
               Not found
Error: Package: boost-regex-1.54.0-9.el6.x86_64 (gleez)
           Requires: libicui18n.so.42()(64bit)
           Removing: libicu-4.2.1-9.1.el6_2.x86_64 (@base)
               libicui18n.so.42()(64bit)
           Obsoleted By: libicu51_2-51.2-9.2.x86_64 (gleez)
               Not found
Error: Package: boost-locale-1.54.0-9.el6.x86_64 (gleez)
           Requires: libicuuc.so.42()(64bit)
           Removing: libicu-4.2.1-9.1.el6_2.x86_64 (@base)
               libicuuc.so.42()(64bit)
           Obsoleted By: libicu51_2-51.2-9.2.x86_64 (gleez)
               Not found
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest

答案1

您的本地 yum 缓存似乎已过期。运行yum clean all后重试。

或者可能是存储库已损坏。在这种情况下,您需要联系存储库维护者。

相关内容