简体   繁体   中英

Yum not installing certain packages on CentOS 7

I have been trying to solve this problem, but no luck.

I am trying to install OpenERP 7.0 on CentOS 7. I am following this link

I am unable to install python required packages. When i gave the python installation packages ie

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\

it is give error like.

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

i save etc/yum.conf file there was no exclude= line to comment, but i found this line installonly_limit=5 is it an issue?

Postgres SQL is downloadinf files but it is not installing

 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

or is there any other method to follow?

Thanks in advance.

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM