Comment 2 for bug 1350044

Antonio Rosales (arosales) wrote :

This is also failing for me on local provider:

2014-09-08 04:08:05 INFO install Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/e/eglibc/libc-dev-bin_2.15-0ubuntu10.6_amd64.deb 404 No
t Found [IP: 91.189.88.149 80]
2014-09-08 04:08:05 INFO install Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/l/linux/linux-libc-dev_3.2.0-67.101_amd64.deb 404 Not F
ound [IP: 91.189.88.149 80]
2014-09-08 04:08:05 INFO install Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/e/eglibc/libc6-dev_2.15-0ubuntu10.6_amd64.deb 404 Not F
ound [IP: 91.189.88.149 80]
2014-09-08 04:08:05 INFO install E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
2014-09-08 04:08:05 ERROR juju.worker.uniter uniter.go:486 hook failed: exit status 100

chatting with the juju-core devs the fix is to clean out lxc cached images and set "lxc-clone: false" in the environments.yaml file. This bug is due to lxc-clone being on be default in 1.20 and lxc cached image don't run apt-get update.

Note this runs in a non-local juju environment.

-thanks,
Antonio