This question has been flagged
3 Replies
10974 Views

I have problem with dependencies when i try to install openerp 7 on Ubuntu 10.04

mario@u-open:~$ sudo dpkg -i openerp_7.0-latest-1_all.deb 
[sudo] password for mario: 
(Reading database ... 63131 files and directories currently installed.)
Preparing to replace openerp 7.0-20130307-002146-1 (using openerp_7.0-latest-1_all.deb) ...
Unpacking replacement openerp ...
dpkg: dependency problems prevent configuration of openerp:
 openerp depends on python-docutils; however:
  Package python-docutils is not installed.
 openerp depends on python-feedparser; however:
  Package python-feedparser is not installed.
 openerp depends on python-gdata; however:
  Package python-gdata is not installed.
 openerp depends on python-imaging; however:
  Package python-imaging is not installed.
 openerp depends on python-jinja2; however:
  Package python-jinja2 is not installed.
 openerp depends on python-ldap; however:
  Package python-ldap is not installed.
 openerp depends on python-libxslt1; however:
  Package python-libxslt1 is not installed.
 openerp depends on python-lxml; however:
  Package python-lxml is not installed.
 openerp depends on python-mako; however:
  Package python-mako is not installed.
 openerp depends on python-mock; however:
  Package python-mock is not installed.
 openerp depends on python-openid; however:
  Package python-openid is not installed.
 openerp depends on python-psutil; however:
  Package python-psutil is not installed.
 openerp depends on python-psycopg2; however:
  Package python-psycopg2 is not installed.
 openerp depends on python-pybabel; however:
  Package python-pybabel is not installed.
 openerp depends on python-pychart; however:
  Package python-pychart is not installed.
 openerp depends on python-pydot; however:
  Package python-pydot is not installed.
 openerp depends on python-pyparsing; however:
  Package python-pyparsing is not installed.
 openerp depends on python-reportlab; however:
  Package python-reportlab is not installed.
 openerp depends on python-tz; however:
  Package python-tz is not installed.
 openerp depends on python-unittest2; however:
  Package python-unittest2 is not installed.
 openerp depends on python-vatnumber; however:
  Package python-vatnumber is not installed.
 openerp depends on python-vobject; however:
  Package python-vobject is not installed.
 openerp depends on python-webdav; however:
  Package python-webdav is not installed.
 openerp depends on python-werkzeug; however:
  Package python-werkzeug is not installed.
 openerp depends on python-xlwt; however:
  Package python-xlwt is not installed.
 openerp depends on python-yaml; however:
  Package python-yaml is not installed.
 openerp depends on python-zsi; however:
  Package python-zsi is not installed.
dpkg: error processing openerp (--install):
 dependency problems - leaving unconfigured
Processing triggers for ureadahead ...
Errors were encountered while processing:
 openerp

i use python 2.7 someone know what is the problem? What i need to do..

Avatar
Discard
Best Answer

You need to install OpenERP dependencies.

Check this guide: How to install OpenERP 7.0 on Ubuntu 12.04 LTS.

In short, use this command:

sudo apt-get install python-dateutil python-docutils python-feedparser python-gdata \
python-jinja2 python-ldap python-libxslt1 python-lxml python-mako python-mock python-openid \
python-psycopg2 python-psutil python-pybabel python-pychart python-pydot python-pyparsing \
python-reportlab python-simplejson python-tz python-unittest2 python-vatnumber python-vobject \
python-webdav python-werkzeug python-xlwt python-yaml python-zsi

Your Ubuntu version is a bit old. Some packages may not be available. You may install missing packages using easy_install utility.

Avatar
Discard
Author

thanks, that's right! My ubuntu is old.. i upgrade to ubuntu 12.4..

Best Answer

When you have an error's messsage always see the last 10 lines and not all the log. If you read the last lines you have :

Package python-zsi is not installed.dpkg: error processing openerp (--install): dependency problems - leaving unconfiguredProcessing triggers for ureadahead ...Errors were encountered while processing: openerp

then install dependency package python whith command apt, easy_install or pip. Bye

Avatar
Discard
Author

thanks i install de package with apt and now function correctly..

Best Answer

According to the official installation instructions, the packages dependencies you need to install are:

sudo apt-get install graphviz ghostscript postgresql-client \
      python-dateutil python-feedparser python-gdata \
      python-ldap python-libxslt1 python-lxml python-mako \
      python-openid python-psycopg2 python-pybabel python-pychart \
      python-pydot python-pyparsing python-reportlab python-simplejson \
      python-tz python-vatnumber python-vobject python-webdav \
      python-werkzeug python-xlwt python-yaml python-imaging \
      python-matplotlib
Avatar
Discard
Author

thanks!! it's that i needed..