4

我一直在尝试解决这个问题,但没有运气。

我正在尝试在 CentOS 7 上安装 OpenERP 7.0。我正在关注此链接

我无法安装 python 所需的软件包。当我给python安装包时,即

yum -y install python-psycopg2 python-lxml PyXML python-setuptools libxslt-python pytz \
python-matplotlib python-babel python-mako python-dateutil python-psycopg2 \
pychart pydot python-reportlab python-devel python-imaging python-vobject \
hippo-canvas-python mx python-gdata python-ldap python-openid \
python-werkzeug python-vatnumber pygtk2 glade3 pydot python-dateutil \
python-matplotlib pygtk2 glade3 pydot python-dateutil python-matplotlib \
python python-devel python-psutil python-docutils make\
automake gcc gcc-c++ kernel-devel byacc flashplugin-nonfree poppler-utils pywebdav\

它是错误的。

Error: Package: hippo-canvas-python-0.3.0-6.el6.x86_64 (epel)
           Requires: python(abi) = 2.6
           Installed: python-2.7.5-16.el7.x86_64 (@anaconda)
               python(abi) = 2.7
               python(abi) = 2.7
Error: Package: python-vatnumber-1.0-1.el6.noarch (epel)
           Requires: python(abi) = 2.6
           Installed: python-2.7.5-16.el7.x86_64 (@anaconda)
               python(abi) = 2.7
               python(abi) = 2.7
Error: Package: python-openid-2.2.5-7.el6.noarch (epel)
           Requires: python(abi) = 2.6
           Installed: python-2.7.5-16.el7.x86_64 (@anaconda)
               python(abi) = 2.7
               python(abi) = 2.7
Error: Package: pywebdav-0.9.4.1-1.el6.noarch (epel)
           Requires: python(abi) = 2.6
           Installed: python-2.7.5-16.el7.x86_64 (@anaconda)
               python(abi) = 2.7
               python(abi) = 2.7
Error: Package: python-gdata-2.0.11-1.el6.noarch (epel)
           Requires: python(abi) = 2.6
           Installed: python-2.7.5-16.el7.x86_64 (@anaconda)
               python(abi) = 2.7
               python(abi) = 2.7
Error: Package: python-psutil-0.6.1-1.el6.x86_64 (epel)
           Requires: python(abi) = 2.6
           Installed: python-2.7.5-16.el7.x86_64 (@anaconda)
               python(abi) = 2.7
               python(abi) = 2.7
Error: Package: mx-3.1.1-6.el6.x86_64 (epel)
           Requires: libpython2.6.so.1.0()(64bit)
Error: Package: python-psutil-0.6.1-1.el6.x86_64 (epel)
           Requires: libpython2.6.so.1.0()(64bit)
Error: Package: mx-3.1.1-6.el6.x86_64 (epel)
           Requires: python(abi) = 2.6
           Installed: python-2.7.5-16.el7.x86_64 (@anaconda)
               python(abi) = 2.7
               python(abi) = 2.7
Error: Package: pydot-1.0.3-1.el6.noarch (epel)
           Requires: python(abi) = 2.6
           Installed: python-2.7.5-16.el7.x86_64 (@anaconda)
               python(abi) = 2.7
               python(abi) = 2.7
Error: Package: python-vobject-0.8.1c-5.el6.noarch (epel)
           Requires: python(abi) = 2.6
           Installed: python-2.7.5-16.el7.x86_64 (@anaconda)
               python(abi) = 2.7
               python(abi) = 2.7
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest

我保存了 etc/yum.conf 文件,没有 exclude= 行来评论,但我发现这一行installonly_limit=5有问题吗?

Postgres SQL 正在下载 inf 文件,但未安装

 yum -y install postgresql92-libs postgresql92-server postgresql92
Loaded plugins: fastestmirror
base                                                                                                                                             | 3.6 kB  00:00:00
epel/x86_64/metalink                                                                                                                             | 4.6 kB  00:00:00
epel                                                                                                                                             | 4.4 kB  00:00:00
extras                                                                                                                                           | 3.4 kB  00:00:00
updates                                                                                                                                          | 3.4 kB  00:00:00
(1/6): base/7/x86_64/group_gz                                                                                                                    | 157 kB  00:00:00
(2/6): extras/7/x86_64/primary_db                                                                                                                |  26 kB  00:00:01
(3/6): epel/x86_64/group_gz                                                                                                                      | 250 kB  00:00:02
(4/6): updates/7/x86_64/primary_db                                                                                                               | 3.6 MB  00:00:12
(5/6): base/7/x86_64/primary_db                                                                                                                  | 4.9 MB  00:00:26
(6/6): epel/x86_64/primary_db                                                                                                                    | 3.3 MB  00:00:29
(1/2): epel/x86_64/updateinfo                                                                                                                    |  59 kB  00:00:00
(2/2): epel/x86_64/pkgtags                                                                                                                       | 1.3 MB  00:00:03
Determining fastest mirrors
 * base: mirror.vodien.com
 * epel: mirrors.vinahost.vn
 * extras: mirror.vodien.com
 * updates: mirror.vodien.com
No package postgresql92-libs available.
No package postgresql92-server available.
No package postgresql92 available.
Error: Nothing to do

还是有其他方法可以遵循?

提前致谢。

4

1 回答 1

1

该指南是为 CentOS 6.x 编写的,它建议安装为 CentOS 6 制作的 yum 软件库。这不适用于 CentOS 7。要么搜索更新的指南,要么尝试仅从 CentOS 7兼容的 软件库安装依赖项。

于 2014-10-14T05:18:54.773 回答