ansible-odoo icon indicating copy to clipboard operation
ansible-odoo copied to clipboard

install 'odoo'' failed: E: Unable to correct problems, you have held broken packages.

Open ghost opened this issue 4 years ago • 4 comments

selected Odoo14 and Community edition. after that there was no pip installed in the remote machine so I added a task to install pip2 before this task

    - name: pip upgrade(python2 support latest pip version is 20.3.4)
      shell: python{{ansible_python.version.major}} -m pip install -U "pip < 21.0"

ansible-odoo/roles/role_common/tasks/main.yml

    - name: install pip2
      apt: name=python-pip state=present

Screenshot 2021-02-17 at 13 00 44

Screenshot 2021-02-17 at 12 50 09

ghost avatar Feb 17 '21 07:02 ghost

Odoo14 should installed on Ubuntu20.04 for the reason of Python dependent package

chendelin1982 avatar Feb 18 '21 01:02 chendelin1982

Odoo14 should installed on Ubuntu20.04 for the reason of Python dependent package

that is what we expect the ansible script to do on Ubuntu 20.04 image on AWS EC2 instance. Is there something which I am doing wrong? Could you explain it more clear about the Python dependent package to install Odoo14? ps: I've also tried using Odoo13, Odoo12 and none works because of this dependency issue.

ghost avatar Feb 20 '21 10:02 ghost

  1. We have publish Odoo14 on AWS based on this repo: https://aws.amazon.com/marketplace/pp/B07RBZPHY1
  2. Recommend you install this repository by the following command
    sudo su -
    wget -N https://raw.githubusercontent.com/Websoft9/ansible-linux/main/scripts/install.sh; bash install.sh -r odoo
    

chendelin1982 avatar Feb 21 '21 00:02 chendelin1982

works on Ubuntu 20.04 for Odoo14! but I wonder there was no prompt to enter domain and configure ssl with nginx proxy. I expected that behaviour by ansible playbook.

ghost avatar Mar 05 '21 05:03 ghost