Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
ghost opened this issue Feb 17, 2021 · 4 comments

Comments

@ghost
Copy link

ghost commented Feb 17, 2021

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

@chendelin1982
Copy link
Contributor

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

@ghost
Copy link
Author

ghost commented Feb 20, 2021

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.

@chendelin1982
Copy link
Contributor

  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
    

@ghost
Copy link
Author

ghost commented Mar 5, 2021

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant