We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When running vagrant up
vagrant up
TASK [web : Add deadsnakes team New Python Versions PPA to the apt sources list] *** task path: .../ansible-django-stack/roles/web/tasks/install_additional_packages.yml:3 fatal: [my-cool-app.local]: FAILED! => {"changed": false, "msg": "apt cache update failed"} PLAY RECAP ********************************************************************* my-cool-app.local : ok=24 changed=0 unreachable=0 failed=1 skipped=6 rescued=0 ignored=0 Ansible failed to complete successfully. Any error output should be visible above. Please fix these errors and try again.
This appears to be a longstanding bug in apt related to caching. Similar issue mentioned with #114.
That said I tried some workarounds and was not able to get past this error.
The text was updated successfully, but these errors were encountered:
I was able to resolve this by:
Going into the machine: vagrant ssh Then manually installing deadsnakes:
vagrant ssh
sudo apt-get update sudo apt-get upgrade sudo add-apt-repository ppa:deadsnakes/ppa exit
and then re-running the setup:
vagrant provision
I noticed there was a prompt to hit enter during the the install of deadsnakes. Not sure if this caused the error for ansible.
Sorry, something went wrong.
No branches or pull requests
When running
vagrant up
This appears to be a longstanding bug in apt related to caching. Similar issue mentioned with #114.
That said I tried some workarounds and was not able to get past this error.
The text was updated successfully, but these errors were encountered: