Hi Nathen,Thanks for your help.I ended up doing it by puttingconfig.vm.provision :shell, :inline => "apt-get update"into my Vagrant file. Because I'm just trying to learning all this stuff it's nothing lost :-)Anyway, I then moved on to episode 4 where I found that you had addressed the problem but...when I did "knife cookbook create apt" I ended up with an 'official' apt cookbook from somewhere with a lot of stuff (3 recipes) already in it. I removed it and did "knife create cookbook myapt" to get around this. This works fine.I think I must have broken my local installation, have you got any ideas what I may have done?Thanks againRobOn 20 November 2013 12:17, Nathen Harvey < " target="_blank"> > wrote:Watch module 4. We fix the issue there ;)
--Nathen HarveyThanks, I'm not using Berkshelf yet but I expect I will.On 20 November 2013 11:56, Cassiano Leal < " target="_blank"> > wrote:
Are you using Berkshelf?If so, stick this in your Berksfile:cookbook ‘apt’Then, add “recipe[apt::default]” to the top of your run_list in the Vagrantfile.On Wednesday, November 20, 2013 at 07:06, Rob Watkin wrote:
Doh! :-)I have fixed this by running:~# apt-get updateNow I just need to figure out how to put this into Vagrant :-)ThanksRobOn 20 November 2013 08:44, Rob Watkin < " target="_blank"> > wrote:
I have followed the istructions for setting up a Vagrant Lab in "Chef Fundamentals Webinar - Training Lab Setup" prior doing "Chef Fundamentals Module 3".When I run chef-client to install the "apache" cookbook I get ...Err http://us.archive.ubuntu.com/ubuntu/ precise-updates/main apache2.2-bin i386 2.2.22-1ubuntu1.3404 Not Found [IP: 91.189.91.14 80]It seems to be the image config.vm.box_url = "https://opscode-vm.s3.amazonaws.com/vagrant/opscode_ubuntu-12.04-i386_provisionerless.box" which is causing the problembecause if I run ...:~# apt-get install apache2I get ...Err http://us.archive.ubuntu.com/ubuntu/ precise-updates/main apache2.2-bin i386 2.2.22-1ubuntu1.3404 Not Found [IP: 91.189.91.15 80]Err http://security.ubuntu.com/ubuntu/ precise-security/main apache2.2-bin i386 2.2.22-1ubuntu1.3404 Not Found [IP: 91.189.92.200 80]I have looked at http://us.archive.ubuntu.com/ubuntu/ and it seems it should be going to http://us.archive.ubuntu.com/ubuntu/dists.Any ideas on how I can go about fixing this so I can get on with the training webinar.ThanksRob--
Circular reasoning is legitimate due to circular reasoning being legitimate.
Archive powered by MHonArc 2.6.16.