LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Help needed on installing odoo 8 on centos 6.5 box (https://www.linuxquestions.org/questions/linux-software-2/help-needed-on-installing-odoo-8-on-centos-6-5-box-4175541880/)

robinselvam 05-07-2015 10:00 AM

Help needed on installing odoo 8 on centos 6.5 box
 
Dear Frnds,
I'm trying install odoo 8.0 on my minimal installed centos 6.5box.i have configured postgresql and created database and user of odooo.i have added odoo repo to install ODOO and dependency package.when
i give command yum install odoo im getting failed dependencies resolving on python packages.below i have pasted the error please help me to resolve the issue.

Error: Package: odoo-8.0_20150507-1.noarch (odoo-nightly)
Requires: python(abi) = 2.7
Installed: python-2.6.6-52.el6.x86_64 (@base)
python(abi) = 2.6
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest

John VV 05-07-2015 03:16 PM

step #1 on centos 6.5
UPGRADE !!! ASAP !!!
6.5 is UNSUPPORTED!!!!


Cent only supports the current minor version
that is
CentOS 5.11
CentOS 6.6
CentOS 7.1

you will have many almost unsolvable issues with 6.5

Code:

su -
yum update
--- if nothing then ( or reboot and then )

yum --releasever=6.6 upgrade

.


robinselvam 05-07-2015 11:25 PM

Still the problem exist
 
Thanks john for reply as u said i have upgraded to centos box 6.6 .
but still im facing the same issue, please suggest any other solution ..

John VV 05-08-2015 02:00 AM

from the install instructions
https://www.odoo.com/documentation/8...p/install.html
for RPM systems ( cent and RHEL )

i take it you installed " epel " repository
Quote:



Warning

with RHEL-based distributions (RHEL, CenOS, Scientific Linux), EPEL must be added to the distributions repositories for all of Odoos dependencies to be available. For CenOS:

$ sudo yum install -y epel-release

For other RHEL-based distribution, see the EPEL documentation.

$ sudo yum install -y postgresql-server
$ sudo postgresql-setup initdb
$ sudo systemctl enable postgresql
$ sudo systemctl start postgresql
$ sudo yum-config-manager --add-repo=https://nightly.odoo.com/8.0/nightly/rpm/odoo.repo
$ sudo yum install -y odoo
$ sudo systemctl enable odoo
$ sudo systemctl start odoo


cent dose NOT use "sudo" by default

if you want to use it and understand the security risks you can set it up
but it is NOT set up by default

by default cent uses "su" and "su -"


for installing the EPEL repo see the cent wiki
http://wiki.centos.org/AdditionalResources/Repositories

as to python
Warning:
you CAN NOT !!! replace python with a different version !!!
the default installed version HAS TO BE THE SYSTEM DEFAULT !!!
it can not be changed

you will break yum and the package manager if you do


BUT
you can install 2.7 side by side with 2.6

then point odoo to THAT (2.7) version of python
python 2.7 is in SCL
http://wiki.centos.org/AdditionalRes...positories/SCL
Code:

su -
yum install centos-release-SCL

then search for "python"
Code:

su -
yum search python
---- then install it
yum install python27

you will need to point odoo to this one


All times are GMT -5. The time now is 10:19 AM.