centos 6.5(64位)上hhvm-pgsql的安装问题

时间:2014-07-31 11:47:40

标签: php postgresql centos6 yum hhvm

当我尝试在centos 6.5(64位)服务器上安装hhvm-pgsql时,会发生以下错误。

$ yum install hhvm-pgsql

...
Resolving Dependencies
--> Running transaction check
---> Package hhvm-pgsql.x86_64 0:3.0.1-3.el6 will be installed
--> Processing Dependency: hhvm = 3.0.1-3.el6 for package: hhvm-pgsql-3.0.1-3.el
6.x86_64
--> Finished Dependency Resolution
Error: Package: hhvm-pgsql-3.0.1-3.el6.x86_64 (hop5)
           Requires: hhvm = 3.0.1-3.el6
           Installed: hhvm-3.1.0-1.el6.x86_64 (@hop5)
               hhvm = 3.1.0-1.el6
           Available: hhvm-2.3.0-1.el6.x86_64 (hop5)
               hhvm = 2.3.0-1.el6
           ...
           Available: hhvm-3.0.1-3.el6.x86_64 (hop5)
               hhvm = 3.0.1-3.el6
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest

我也试过这些命令 $ rpm -Va --nofiles --nodigest $ yum install hhvm-pgsql --skip-broken

结果:

...
Resolving Dependencies
--> Running transaction check
---> Package hhvm-pgsql.x86_64 0:3.0.1-3.el6 will be installed
--> Processing Dependency: hhvm = 3.0.1-3.el6 for package: hhvm-pgsql-3.0.1-3.el
6.x86_64

Packages skipped because of dependency problems:
    hhvm-pgsql-3.0.1-3.el6.x86_64 from hop5

hop5 repo:

[hop5]
name=www.hop5.in Centos Repository
baseurl=http://www.hop5.in/yum/el6/
gpgcheck=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-HOP5

我该怎么办?请帮我。 所有答案都非常感谢。 感谢。

1 个答案:

答案 0 :(得分:1)

您似乎已安装hhvm-3.1.0-1.el6,但正在安装的hhvm-pgsql-3.0.1-3.el6需要hhvm-3.0.1-3.el6。所以也许你想要运行类似的东西:

# yum remove hhvm
# yum install hhvm-pgsql

或要求存储库维护者重建hhvm-pgsql以获取最新的hhvm。