[p2pu-dev] difficulty setting up p2pu development environment

James Sheldon voyager640 at gmail.com
Thu Oct 25 23:01:07 UTC 2012


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

@@@@@@@@@@@@@@@@@@@@
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.p2pu.org/pipermail/p2pu-dev/attachments/20121025/238d317c/attachment.html>


More information about the p2pu-dev mailing list