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
The cookbook should depend on the apt cookbook or somehow test kitchen should run apt-get update so package installs don't fail in this manner.
Tail from kitchen test:
...
Not Found [IP: 91.189.91.15 80]
Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/o/openjdk-6/openjdk-6-jdk_6b27-1.12.6-1ubuntu0.12.04.4_amd64.deb 404 Not Found [IP: 91.189.91.15 80]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
---- End output of apt-get -q -y install openjdk-6-jdk=6b27-1.12.6-1ubuntu0.12.04.4 ----
Ran apt-get -q -y install openjdk-6-jdk=6b27-1.12.6-1ubuntu0.12.04.4 returned 100
[2014-03-13T05:07:09+00:00] FATAL: Chef::Exceptions::ChildConvergeError: Chef run process exited unsuccessfully (exit code 1)
>>>>>> Converge failed on instance <default-ubuntu-1204>.
>>>>>> Please see .kitchen/logs/default-ubuntu-1204.log for more details
>>>>>> ------Exception-------
>>>>>> Class: Kitchen::ActionFailed
>>>>>> Message: SSH exited (1) for command: [sudo -E chef-solo --config /tmp/kitchen/solo.rb --json-attributes /tmp/kitchen/dna.json --log_level info]
>>>>>> ----------------------
The text was updated successfully, but these errors were encountered:
If you include a recent enough apt cookbook version, it will automatically update the local cache once every 24h (using the /var/lib/apt/periodic/update-success-stamp file) so just by including the 'apt' recipe, this is fixed.
The cookbook should depend on the apt cookbook or somehow test kitchen should run
apt-get update
so package installs don't fail in this manner.Tail from
kitchen test
:The text was updated successfully, but these errors were encountered: