Skip to content

Instantly share code, notes, and snippets.

@swade1987
Created February 4, 2016 12:26
Show Gist options
  • Save swade1987/f4db01a88c8ee762a31d to your computer and use it in GitHub Desktop.
Save swade1987/f4db01a88c8ee762a31d to your computer and use it in GitHub Desktop.
chef provisioning of ubuntu trusty
AMI ID - ubuntu-trusty-14.04-amd64-server-20150603 (ami-7f675e4f)
←[0m←[0maws_instance.bamboo-server (chef): Get:33 http://us-west-2.ec2.archive.ubuntu.com/ubuntu/ trusty/main manpages-d
ev all 3.54-1ubuntu1 [1820 kB]
←[0m←[0maws_instance.bamboo-server (chef): Fetched 27.6 MB in 0s (31.8 MB/s)
←[0m←[0maws_instance.bamboo-server (chef): STDERR: E: Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/l/linu
x/linux-libc-dev_3.13.0-53.89_amd64.deb 404 Not Found [IP: 91.189.91.15 80]
←[0m←[0m
←[0m←[0maws_instance.bamboo-server (chef): E: Unable to fetch some archives, maybe run apt-get update or try with --fix-
missing?
←[0m←[0maws_instance.bamboo-server (chef): ---- End output of apt-get -q -y install build-essential=11.6ubuntu6 ----
←[0m←[0maws_instance.bamboo-server (chef): Ran apt-get -q -y install build-essential=11.6ubuntu6 returned 100
←[0m←[0maws_instance.bamboo-server (chef): [2016-02-04T12:23:15+00:00] FATAL: Chef::Exceptions::ChildConvergeError: Chef
run process exited unsuccessfully (exit code 1)
←[31mError applying plan:
1 error(s) occurred:
* Command "sudo chef-client -j \"/etc/chef/first-boot.json\" -E \"_default\"" exited with non-zero exit status: 1
@ramonskie
Copy link

you need to add apt cookbook before the bamboo cookbok
so it does a apt-get update first

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment