You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is a bug on Ubuntu 10.04 related to the nginx repository.
The bug can be reproduced in this project after running the vm called application (vagrant up application).
The debug output contains this information:
err: /Stage[main]/Nginx::Package::Debian/Package[nginx]/ensure: change from purged to present failed: Execution of '/usr/bin/apt-get -q -y -o DPkg::Options::=--force-confold install nginx' returned 100: Reading package lists...
Building dependency tree...
Reading state information...
The following NEW packages will be installed:
nginx
0 upgraded, 1 newly installed, 0 to remove and 23 not upgraded.
Need to get 336kB of archives.
After this operation, 819kB of additional disk space will be used.
Err http://us.archive.ubuntu.com/ubuntu/ lucid-updates/universe nginx 0.7.65-1ubuntu2.2
404 Not Found [IP: 91.189.91.30 80]
Failed to fetch http://us.archive.ubuntu.com/ubuntu/pool/universe/n/nginx/nginx_0.7.65-1ubuntu2.2_i386.deb 404 Not Found [IP: 91.189.91.30 80]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
The text was updated successfully, but these errors were encountered:
I have seen this issue before, and it usually goes along with not having the apt-cache updated properly. I would recommend applying an 'apt-get update' somewhere before processing this line in order to fix. Likewise, there is another module (http://github.com/jfryman/puppet-apt) you can use to automatically have apt-get update every 24 hours at a minimum, which tends to fix stale vagrant boxes.
There is a bug on Ubuntu 10.04 related to the nginx repository.
The bug can be reproduced in this project after running the vm called application (
vagrant up application
).The debug output contains this information:
The text was updated successfully, but these errors were encountered: