[p2pu-dev] difficulty setting up p2pu development environment
Dirk Uys
dirk at p2pu.org
Fri Oct 26 09:55:33 UTC 2012
Hi James
I tried a fresh install and got the same error
After you run vagrant up and it fails, run
$ vagrant ssh
This should get you into the virtual machine. Once in the vagrant machine, run
$ sudo apt-get update
This will update the Ubuntu repositories. Then quit the virtual machine
$ exit
And stop the virtual machine
$ vagrant halt
You can then start up the virtual machine again using
$ vagrant up
It's still running on my PC, so I'll let you know if I encounter any more errors
@Chris: Please check if we can avoid getting this error in the first
place? Maybe by running apt-get update at the start of the process?
Cheers
Dirk
On Fri, Oct 26, 2012 at 1:01 AM, James Sheldon <voyager640 at gmail.com> wrote:
> I was following the instructions at :
> https://github.com/p2pu/lernanta/wiki/Setup-Lernanta-Automated
>
> and when i typed 'vagrant up', it did a bunch of things, followed by this
> error. I tried redoing 'vagrant up' and it doesn't pick up where it left
> off. If I delete everything and start over, I get the same error every
> time.
>
> [2012-10-25T22:54:12+00:00] INFO: Processing package[libxml2] action upgrade
> (main::default line 10)
> [2012-10-25T22:54:15+00:00] INFO: Retrying execution of package[libxml2], 2
> attempt(s) left
> [2012-10-25T22:54:20+00:00] INFO: Retrying execution of package[libxml2], 1
> attempt(s) left
> [2012-10-25T22:54:26+00:00] INFO: Retrying execution of package[libxml2], 0
> attempt(s) left
>
> ================================================================================
>
> Error executing action `upgrade` on resource 'package[libxml2]'
>
> ================================================================================
>
>
> Chef::Exceptions::Exec
> ----------------------
> apt-get -q -y install libxml2=2.7.8.dfsg-5.1ubuntu4.1 returned 100, expected
> 0
>
> Resource Declaration:
> ---------------------
> # In /tmp/vagrant-chef-1/chef-solo-1/cookbooks/main/recipes/default.rb
>
> 9: node[:base_packages].each do |pkg|
> 10: package pkg do
> 11: action :upgrade
> 12: retries 3
> 13: end
> 14: end
>
> Compiled Resource:
> ------------------
> # Declared in
> /tmp/vagrant-chef-1/chef-solo-1/cookbooks/main/recipes/default.rb:10:in
> `from_file'
>
> package("libxml2") do
> retry_delay 2
> retries 0
> recipe_name "default"
> action [:upgrade]
> cookbook_name :main
> package_name "libxml2"
> end
>
> [2012-10-25T22:54:31+00:00] ERROR: Running exception handlers
> [2012-10-25T22:54:31+00:00] ERROR: Exception handlers complete
> [2012-10-25T22:54:32+00:00] FATAL: Stacktrace dumped to
> /tmp/vagrant-chef-1/chef-stacktrace.out
> [2012-10-25T22:54:32+00:00] FATAL: Chef::Exceptions::Exec: package[libxml2]
> (main::default line 10) had an error: Chef::Exceptions::Exec: apt-get -q -y
> install libxml2=2.7.8.dfsg-5.1ubuntu4.1 returned 100, expected 0
> Chef never successfully completed! Any errors should be visible in the
> output above. Please fix your recipes so that they properly complete.
>
>
> --
> @@@@@@@@@@@@@@@@@@@@
> @ james sheldon
> @ http://www.jamessheldon.com
> @ "those who fail to reread
> @ are obliged to read the same story everywhere"
> @ -- Roland Barthes, S/Z (1970)
> @ voyager640 at gmail.com
> @@@@@@@@@@@@@@@@@@@@
>
> _______________________________________________
> p2pu-dev mailing list
> p2pu-dev at lists.p2pu.org
> http://lists.p2pu.org/mailman/listinfo/p2pu-dev
>
More information about the p2pu-dev
mailing list