after vagrant up I was stuck at the apt name=python-dev with this error
TASK: [apt name=python-dev] ***************************************************
failed: [default] => {"failed": true}
stderr: Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/o/openssl/libssl-dev_1.0.1-4ubuntu5.18_i386.deb 404 Not Found [IP: 91.189.91.24 80]
Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/o/openssl/libssl-doc_1.0.1-4ubuntu5.18_all.deb 404 Not Found [IP: 91.189.91.24 80]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
stdout: Reading package lists...
Building dependency tree...
Reading state information...
The following extra packages will be installed:
libexpat1-dev libssl-dev libssl-doc python2.7-dev zlib1g-dev
The following NEW packages will be installed:
libexpat1-dev libssl-dev libssl-doc python-dev python2.7-dev zlib1g-dev
0 upgraded, 6 newly installed, 0 to remove and 0 not upgraded.
Need to get 2,460 kB/32.1 MB of archives.
After this operation, 44.0 MB of additional disk space will be used.
Err http://archive.ubuntu.com/ubuntu/ precise-updates/main libssl-dev i386 1.0.1-4ubuntu5.18
404 Not Found [IP: 91.189.88.149 80]
Err http://security.ubuntu.com/ubuntu/ precise-security/main libssl-dev i386 1.0.1-4ubuntu5.18
404 Not Found [IP: 91.189.91.24 80]
Err http://security.ubuntu.com/ubuntu/ precise-security/main libssl-doc all 1.0.1-4ubuntu5.18
404 Not Found [IP: 91.189.91.24 80]
msg: 'apt-get install 'python-dev' ' failed: Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/o/openssl/libssl-dev_1.0.1-4ubuntu5.18_i386.deb 404 Not Found [IP: 91.189.91.24 80]
Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/o/openssl/libssl-doc_1.0.1-4ubuntu5.18_all.deb 404 Not Found [IP: 91.189.91.24 80]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
FATAL: all hosts have already failed -- aborting
PLAY RECAP ********************************************************************
I fixed it by adding this line to line 10 of playbook.yml
- apt: update_cache=yes
Hope this is helpful for anyone on similar problem.
Cheers,
after
vagrant up
I was stuck at theapt name=python-dev
with this errorI fixed it by adding this line to line 10 of
playbook.yml
Hope this is helpful for anyone on similar problem. Cheers,