Skip to content

Instantly share code, notes, and snippets.

@mwarkentin
Created July 29, 2011 12:19
Show Gist options
  • Save mwarkentin/1113706 to your computer and use it in GitHub Desktop.
Save mwarkentin/1113706 to your computer and use it in GitHub Desktop.
Vagrant Error
vagrant@lucid32:~$ sudo apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages have been kept back:
linux-generic linux-image-generic
The following packages will be upgraded:
apt apt-transport-https apt-utils base-files bind9-host dhcp3-client dhcp3-common dnsutils fuse-utils initscripts libbind9-60 libcurl3-gnutls libdbus-1-3 libdns64 libfuse2
libgssapi-krb5-2 libisc60 libisccc60 libisccfg60 libk5crypto3 libkrb5-3 libkrb5support0 libldap-2.4-2 liblwres60 libpam-modules libpam-runtime libpam0g libparted0debian1
libpng12-0 linux-firmware linux-libc-dev login logrotate ntpdate parted passwd perl perl-base perl-modules python-apt rsync sysv-rc sysvinit-utils tzdata w3m xkb-data
46 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.
Need to get 30.5MB of archives.
After this operation, 922kB of additional disk space will be used.
Do you want to continue [Y/n]? Y
Get:1 http://us.archive.ubuntu.com/ubuntu/ lucid-updates/main libpam-modules 1.1.1-2ubuntu5.3 [371kB]
Get:2 http://us.archive.ubuntu.com/ubuntu/ lucid-updates/main base-files 5.0.0ubuntu20.10.04.4 [70.3kB]
Get:3 http://us.archive.ubuntu.com/ubuntu/ lucid-updates/main login 1:4.1.4.2-1ubuntu2.2 [316kB]
Get:4 http://us.archive.ubuntu.com/ubuntu/ lucid-updates/main perl-modules 5.10.1-8ubuntu2.1 [3,489kB]
Get:5 http://us.archive.ubuntu.com/ubuntu/ lucid-updates/main perl 5.10.1-8ubuntu2.1 [3,743kB]
Get:6 http://us.archive.ubuntu.com/ubuntu/ lucid-updates/main perl-base 5.10.1-8ubuntu2.1 [1,003kB]
Get:7 http://us.archive.ubuntu.com/ubuntu/ lucid-updates/main apt 0.7.25.3ubuntu9.6 [1,817kB]
Get:8 http://us.archive.ubuntu.com/ubuntu/ lucid-updates/main libpam-runtime 1.1.1-2ubuntu5.3 [115kB]
Get:9 http://us.archive.ubuntu.com/ubuntu/ lucid-updates/main libpam0g 1.1.1-2ubuntu5.3 [123kB]
Get:10 http://us.archive.ubuntu.com/ubuntu/ lucid-updates/main passwd 1:4.1.4.2-1ubuntu2.2 [881kB]
Get:11 http://us.archive.ubuntu.com/ubuntu/ lucid-updates/main tzdata 2011g-0ubuntu0.10.04 [663kB]
Get:12 http://us.archive.ubuntu.com/ubuntu/ lucid-updates/main apt-utils 0.7.25.3ubuntu9.6 [239kB]
Get:13 http://us.archive.ubuntu.com/ubuntu/ lucid-updates/main dhcp3-client 3.1.3-2ubuntu3.2 [257kB]
Get:14 http://us.archive.ubuntu.com/ubuntu/ lucid-updates/main dhcp3-common 3.1.3-2ubuntu3.2 [319kB]
Get:15 http://us.archive.ubuntu.com/ubuntu/ lucid-updates/main libk5crypto3 1.8.1+dfsg-2ubuntu0.9 [96.9kB]
Get:16 http://us.archive.ubuntu.com/ubuntu/ lucid-updates/main libgssapi-krb5-2 1.8.1+dfsg-2ubuntu0.9 [121kB]
Get:17 http://us.archive.ubuntu.com/ubuntu/ lucid-updates/main libkrb5-3 1.8.1+dfsg-2ubuntu0.9 [351kB]
Get:18 http://us.archive.ubuntu.com/ubuntu/ lucid-updates/main libkrb5support0 1.8.1+dfsg-2ubuntu0.9 [42.9kB]
Get:19 http://us.archive.ubuntu.com/ubuntu/ lucid-updates/main libldap-2.4-2 2.4.21-0ubuntu5.5 [202kB]
Get:20 http://us.archive.ubuntu.com/ubuntu/ lucid-updates/main logrotate 3.7.8-4ubuntu2.2 [44.1kB]
Get:21 http://us.archive.ubuntu.com/ubuntu/ lucid-updates/main ntpdate 1:4.2.4p8+dfsg-1ubuntu2.1 [68.7kB]
Get:22 http://us.archive.ubuntu.com/ubuntu/ lucid-updates/main xkb-data 1.8-1ubuntu8.1~10.04.1 [447kB]
Get:23 http://us.archive.ubuntu.com/ubuntu/ lucid-updates/main sysvinit-utils 2.87dsf-4ubuntu17.4 [111kB]
Get:24 http://us.archive.ubuntu.com/ubuntu/ lucid-updates/main sysv-rc 2.87dsf-4ubuntu17.4 [79.7kB]
Get:25 http://us.archive.ubuntu.com/ubuntu/ lucid-updates/main initscripts 2.87dsf-4ubuntu17.4 [74.6kB]
Get:26 http://us.archive.ubuntu.com/ubuntu/ lucid-updates/main libcurl3-gnutls 7.19.7-1ubuntu1.1 [216kB]
Get:27 http://us.archive.ubuntu.com/ubuntu/ lucid-updates/main apt-transport-https 0.7.25.3ubuntu9.6 [80.8kB]
Get:28 http://us.archive.ubuntu.com/ubuntu/ lucid-updates/main bind9-host 1:9.7.0.dfsg.P1-1ubuntu0.3 [65.2kB]
Get:29 http://us.archive.ubuntu.com/ubuntu/ lucid-updates/main dnsutils 1:9.7.0.dfsg.P1-1ubuntu0.3 [151kB]
Get:30 http://us.archive.ubuntu.com/ubuntu/ lucid-updates/main libisc60 1:9.7.0.dfsg.P1-1ubuntu0.3 [157kB]
Get:31 http://us.archive.ubuntu.com/ubuntu/ lucid-updates/main libdns64 1:9.7.0.dfsg.P1-1ubuntu0.3 [651kB]
Get:32 http://us.archive.ubuntu.com/ubuntu/ lucid-updates/main libisccc60 1:9.7.0.dfsg.P1-1ubuntu0.3 [28.4kB]
Get:33 http://us.archive.ubuntu.com/ubuntu/ lucid-updates/main libisccfg60 1:9.7.0.dfsg.P1-1ubuntu0.3 [46.6kB]
Get:34 http://us.archive.ubuntu.com/ubuntu/ lucid-updates/main liblwres60 1:9.7.0.dfsg.P1-1ubuntu0.3 [47.1kB]
Get:35 http://us.archive.ubuntu.com/ubuntu/ lucid-updates/main libbind9-60 1:9.7.0.dfsg.P1-1ubuntu0.3 [35.0kB]
Get:36 http://us.archive.ubuntu.com/ubuntu/ lucid-updates/main fuse-utils 2.8.1-1.1ubuntu3.1 [22.0kB]
Get:37 http://us.archive.ubuntu.com/ubuntu/ lucid-updates/main libfuse2 2.8.1-1.1ubuntu3.1 [141kB]
Get:38 http://us.archive.ubuntu.com/ubuntu/ lucid-updates/main libparted0debian1 2.2-5ubuntu5.2 [338kB]
Get:39 http://us.archive.ubuntu.com/ubuntu/ lucid-updates/main parted 2.2-5ubuntu5.2 [150kB]
Get:40 http://us.archive.ubuntu.com/ubuntu/ lucid-updates/main python-apt 0.7.94.2ubuntu6.4 [180kB]
Get:41 http://us.archive.ubuntu.com/ubuntu/ lucid-updates/main rsync 3.0.7-1ubuntu1.1 [341kB]
Get:42 http://us.archive.ubuntu.com/ubuntu/ lucid-updates/main w3m 0.5.2-2.1ubuntu1.2 [1,104kB]
Get:43 http://us.archive.ubuntu.com/ubuntu/ lucid-updates/main libdbus-1-3 1.2.16-2ubuntu4.3 [128kB]
Get:44 http://us.archive.ubuntu.com/ubuntu/ lucid-updates/main libpng12-0 1.2.42-1ubuntu2.2 [177kB]
Get:45 http://us.archive.ubuntu.com/ubuntu/ lucid-updates/main linux-firmware 1.34.7 [10.6MB]
Get:46 http://us.archive.ubuntu.com/ubuntu/ lucid-updates/main linux-libc-dev 2.6.32-33.71 [822kB]
Fetched 30.5MB in 1min 30s (338kB/s)
Extracting templates from packages: 100%
Preconfiguring packages ...
(Reading database ... 27072 files and directories currently installed.)
Preparing to replace libpam-modules 1.1.1-2ubuntu5 (using .../libpam-modules_1.1.1-2ubuntu5.3_i386.deb) ...
Unpacking replacement libpam-modules ...
Processing triggers for man-db ...
Setting up libpam-modules (1.1.1-2ubuntu5.3) ...
(Reading database ... 27072 files and directories currently installed.)
Preparing to replace base-files 5.0.0ubuntu20.10.04.3 (using .../base-files_5.0.0ubuntu20.10.04.4_i386.deb) ...
Unpacking replacement base-files ...
Processing triggers for install-info ...
Processing triggers for man-db ...
Setting up base-files (5.0.0ubuntu20.10.04.4) ...
Installing new version of config file /etc/issue ...
Installing new version of config file /etc/issue.net ...
Installing new version of config file /etc/lsb-release ...
(Reading database ... 27072 files and directories currently installed.)
Preparing to replace login 1:4.1.4.2-1ubuntu2 (using .../login_1%3a4.1.4.2-1ubuntu2.2_i386.deb) ...
Unpacking replacement login ...
Processing triggers for man-db ...
Setting up login (1:4.1.4.2-1ubuntu2.2) ...
(Reading database ... 27072 files and directories currently installed.)
Preparing to replace perl-modules 5.10.1-8ubuntu2 (using .../perl-modules_5.10.1-8ubuntu2.1_all.deb) ...
Unpacking replacement perl-modules ...
Preparing to replace perl 5.10.1-8ubuntu2 (using .../perl_5.10.1-8ubuntu2.1_i386.deb) ...
Unpacking replacement perl ...
Preparing to replace perl-base 5.10.1-8ubuntu2 (using .../perl-base_5.10.1-8ubuntu2.1_i386.deb) ...
Unpacking replacement perl-base ...
Processing triggers for man-db ...
Setting up perl-base (5.10.1-8ubuntu2.1) ...
(Reading database ... 27072 files and directories currently installed.)
Preparing to replace apt 0.7.25.3ubuntu9.3 (using .../apt_0.7.25.3ubuntu9.6_i386.deb) ...
Unpacking replacement apt ...
Processing triggers for man-db ...
Setting up apt (0.7.25.3ubuntu9.6) ...
Installing new version of config file /etc/cron.daily/apt ...
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
(Reading database ... 27072 files and directories currently installed.)
Preparing to replace libpam-runtime 1.1.1-2ubuntu5 (using .../libpam-runtime_1.1.1-2ubuntu5.3_all.deb) ...
Unpacking replacement libpam-runtime ...
Processing triggers for man-db ...
Setting up libpam-runtime (1.1.1-2ubuntu5.3) ...
(Reading database ... 27072 files and directories currently installed.)
Preparing to replace libpam0g 1.1.1-2ubuntu5 (using .../libpam0g_1.1.1-2ubuntu5.3_i386.deb) ...
Unpacking replacement libpam0g ...
Setting up libpam0g (1.1.1-2ubuntu5.3) ...
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
(Reading database ... 27072 files and directories currently installed.)
Preparing to replace passwd 1:4.1.4.2-1ubuntu2 (using .../passwd_1%3a4.1.4.2-1ubuntu2.2_i386.deb) ...
Unpacking replacement passwd ...
Processing triggers for man-db ...
Setting up passwd (1:4.1.4.2-1ubuntu2.2) ...
(Reading database ... 27072 files and directories currently installed.)
Preparing to replace tzdata 2010o-0ubuntu0.10.04 (using .../tzdata_2011g-0ubuntu0.10.04_all.deb) ...
Unpacking replacement tzdata ...
Setting up tzdata (2011g-0ubuntu0.10.04) ...
Current default time zone: 'America/Los_Angeles'
Local time is now: Fri Jul 29 05:06:05 PDT 2011.
Universal Time is now: Fri Jul 29 12:06:05 UTC 2011.
Run 'dpkg-reconfigure tzdata' if you wish to change it.
(Reading database ... 27081 files and directories currently installed.)
Preparing to replace apt-utils 0.7.25.3ubuntu9.3 (using .../apt-utils_0.7.25.3ubuntu9.6_i386.deb) ...
Unpacking replacement apt-utils ...
Preparing to replace dhcp3-client 3.1.3-2ubuntu3 (using .../dhcp3-client_3.1.3-2ubuntu3.2_i386.deb) ...
Unpacking replacement dhcp3-client ...
Preparing to replace dhcp3-common 3.1.3-2ubuntu3 (using .../dhcp3-common_3.1.3-2ubuntu3.2_i386.deb) ...
Unpacking replacement dhcp3-common ...
Preparing to replace libk5crypto3 1.8.1+dfsg-2ubuntu0.4 (using .../libk5crypto3_1.8.1+dfsg-2ubuntu0.9_i386.deb) ...
Unpacking replacement libk5crypto3 ...
Preparing to replace libgssapi-krb5-2 1.8.1+dfsg-2ubuntu0.4 (using .../libgssapi-krb5-2_1.8.1+dfsg-2ubuntu0.9_i386.deb) ...
Unpacking replacement libgssapi-krb5-2 ...
Preparing to replace libkrb5-3 1.8.1+dfsg-2ubuntu0.4 (using .../libkrb5-3_1.8.1+dfsg-2ubuntu0.9_i386.deb) ...
Unpacking replacement libkrb5-3 ...
Preparing to replace libkrb5support0 1.8.1+dfsg-2ubuntu0.4 (using .../libkrb5support0_1.8.1+dfsg-2ubuntu0.9_i386.deb) ...
Unpacking replacement libkrb5support0 ...
Preparing to replace libldap-2.4-2 2.4.21-0ubuntu5.3 (using .../libldap-2.4-2_2.4.21-0ubuntu5.5_i386.deb) ...
Unpacking replacement libldap-2.4-2 ...
Preparing to replace logrotate 3.7.8-4ubuntu2 (using .../logrotate_3.7.8-4ubuntu2.2_i386.deb) ...
Unpacking replacement logrotate ...
Preparing to replace ntpdate 1:4.2.4p8+dfsg-1ubuntu2 (using .../ntpdate_1%3a4.2.4p8+dfsg-1ubuntu2.1_i386.deb) ...
Unpacking replacement ntpdate ...
Preparing to replace xkb-data 1.8-1ubuntu8 (using .../xkb-data_1.8-1ubuntu8.1~10.04.1_all.deb) ...
Unpacking replacement xkb-data ...
Preparing to replace sysvinit-utils 2.87dsf-4ubuntu17 (using .../sysvinit-utils_2.87dsf-4ubuntu17.4_i386.deb) ...
Unpacking replacement sysvinit-utils ...
Preparing to replace sysv-rc 2.87dsf-4ubuntu17 (using .../sysv-rc_2.87dsf-4ubuntu17.4_all.deb) ...
Unpacking replacement sysv-rc ...
Preparing to replace initscripts 2.87dsf-4ubuntu17 (using .../initscripts_2.87dsf-4ubuntu17.4_i386.deb) ...
Unpacking replacement initscripts ...
Preparing to replace libcurl3-gnutls 7.19.7-1ubuntu1 (using .../libcurl3-gnutls_7.19.7-1ubuntu1.1_i386.deb) ...
Unpacking replacement libcurl3-gnutls ...
Preparing to replace apt-transport-https 0.7.25.3ubuntu9.3 (using .../apt-transport-https_0.7.25.3ubuntu9.6_i386.deb) ...
Unpacking replacement apt-transport-https ...
Preparing to replace bind9-host 1:9.7.0.dfsg.P1-1ubuntu0.1 (using .../bind9-host_1%3a9.7.0.dfsg.P1-1ubuntu0.3_i386.deb) ...
Unpacking replacement bind9-host ...
Preparing to replace dnsutils 1:9.7.0.dfsg.P1-1ubuntu0.1 (using .../dnsutils_1%3a9.7.0.dfsg.P1-1ubuntu0.3_i386.deb) ...
Unpacking replacement dnsutils ...
Preparing to replace libisc60 1:9.7.0.dfsg.P1-1ubuntu0.1 (using .../libisc60_1%3a9.7.0.dfsg.P1-1ubuntu0.3_i386.deb) ...
Unpacking replacement libisc60 ...
Preparing to replace libdns64 1:9.7.0.dfsg.P1-1ubuntu0.1 (using .../libdns64_1%3a9.7.0.dfsg.P1-1ubuntu0.3_i386.deb) ...
Unpacking replacement libdns64 ...
Preparing to replace libisccc60 1:9.7.0.dfsg.P1-1ubuntu0.1 (using .../libisccc60_1%3a9.7.0.dfsg.P1-1ubuntu0.3_i386.deb) ...
Unpacking replacement libisccc60 ...
Preparing to replace libisccfg60 1:9.7.0.dfsg.P1-1ubuntu0.1 (using .../libisccfg60_1%3a9.7.0.dfsg.P1-1ubuntu0.3_i386.deb) ...
Unpacking replacement libisccfg60 ...
Preparing to replace liblwres60 1:9.7.0.dfsg.P1-1ubuntu0.1 (using .../liblwres60_1%3a9.7.0.dfsg.P1-1ubuntu0.3_i386.deb) ...
Unpacking replacement liblwres60 ...
Preparing to replace libbind9-60 1:9.7.0.dfsg.P1-1ubuntu0.1 (using .../libbind9-60_1%3a9.7.0.dfsg.P1-1ubuntu0.3_i386.deb) ...
Unpacking replacement libbind9-60 ...
Preparing to replace fuse-utils 2.8.1-1.1ubuntu2.2 (using .../fuse-utils_2.8.1-1.1ubuntu3.1_i386.deb) ...
Unpacking replacement fuse-utils ...
Preparing to replace libfuse2 2.8.1-1.1ubuntu2.2 (using .../libfuse2_2.8.1-1.1ubuntu3.1_i386.deb) ...
Unpacking replacement libfuse2 ...
Preparing to replace libparted0debian1 2.2-5ubuntu5.1 (using .../libparted0debian1_2.2-5ubuntu5.2_i386.deb) ...
Unpacking replacement libparted0debian1 ...
Preparing to replace parted 2.2-5ubuntu5.1 (using .../parted_2.2-5ubuntu5.2_i386.deb) ...
Unpacking replacement parted ...
Preparing to replace python-apt 0.7.94.2ubuntu6.2 (using .../python-apt_0.7.94.2ubuntu6.4_i386.deb) ...
Unpacking replacement python-apt ...
Preparing to replace rsync 3.0.7-1ubuntu1 (using .../rsync_3.0.7-1ubuntu1.1_i386.deb) ...
Unpacking replacement rsync ...
Preparing to replace w3m 0.5.2-2.1ubuntu1.1 (using .../w3m_0.5.2-2.1ubuntu1.2_i386.deb) ...
Unpacking replacement w3m ...
Preparing to replace libdbus-1-3 1.2.16-2ubuntu4.1 (using .../libdbus-1-3_1.2.16-2ubuntu4.3_i386.deb) ...
Unpacking replacement libdbus-1-3 ...
Preparing to replace libpng12-0 1.2.42-1ubuntu2.1 (using .../libpng12-0_1.2.42-1ubuntu2.2_i386.deb) ...
Unpacking replacement libpng12-0 ...
Preparing to replace linux-firmware 1.34.3 (using .../linux-firmware_1.34.7_all.deb) ...
Unpacking replacement linux-firmware ...
Preparing to replace linux-libc-dev 2.6.32-33.70 (using .../linux-libc-dev_2.6.32-33.71_i386.deb) ...
Unpacking replacement linux-libc-dev ...
Processing triggers for man-db ...
Processing triggers for ureadahead ...
ureadahead will be reprofiled on next reboot
Setting up apt-utils (0.7.25.3ubuntu9.6) ...
Setting up dhcp3-common (3.1.3-2ubuntu3.2) ...
Setting up dhcp3-client (3.1.3-2ubuntu3.2) ...
Setting up libkrb5support0 (1.8.1+dfsg-2ubuntu0.9) ...
Setting up libk5crypto3 (1.8.1+dfsg-2ubuntu0.9) ...
Setting up libkrb5-3 (1.8.1+dfsg-2ubuntu0.9) ...
Setting up libgssapi-krb5-2 (1.8.1+dfsg-2ubuntu0.9) ...
Setting up libldap-2.4-2 (2.4.21-0ubuntu5.5) ...
Setting up logrotate (3.7.8-4ubuntu2.2) ...
Setting up ntpdate (1:4.2.4p8+dfsg-1ubuntu2.1) ...
Setting up xkb-data (1.8-1ubuntu8.1~10.04.1) ...
Setting up sysvinit-utils (2.87dsf-4ubuntu17.4) ...
Setting up sysv-rc (2.87dsf-4ubuntu17.4) ...
Setting up initscripts (2.87dsf-4ubuntu17.4) ...
Installing new version of config file /etc/init.d/sendsigs ...
Installing new version of config file /etc/init.d/umountroot ...
Setting up libcurl3-gnutls (7.19.7-1ubuntu1.1) ...
Setting up apt-transport-https (0.7.25.3ubuntu9.6) ...
Setting up libisc60 (1:9.7.0.dfsg.P1-1ubuntu0.3) ...
Setting up libdns64 (1:9.7.0.dfsg.P1-1ubuntu0.3) ...
Setting up libisccc60 (1:9.7.0.dfsg.P1-1ubuntu0.3) ...
Setting up libisccfg60 (1:9.7.0.dfsg.P1-1ubuntu0.3) ...
Setting up libbind9-60 (1:9.7.0.dfsg.P1-1ubuntu0.3) ...
Setting up liblwres60 (1:9.7.0.dfsg.P1-1ubuntu0.3) ...
Setting up bind9-host (1:9.7.0.dfsg.P1-1ubuntu0.3) ...
Setting up dnsutils (1:9.7.0.dfsg.P1-1ubuntu0.3) ...
Setting up libfuse2 (2.8.1-1.1ubuntu3.1) ...
Setting up fuse-utils (2.8.1-1.1ubuntu3.1) ...
udev active, skipping device node creation.
update-initramfs: deferring update (trigger activated)
Setting up libparted0debian1 (2.2-5ubuntu5.2) ...
Setting up parted (2.2-5ubuntu5.2) ...
Setting up python-apt (0.7.94.2ubuntu6.4) ...
Setting up rsync (3.0.7-1ubuntu1.1) ...
Setting up w3m (0.5.2-2.1ubuntu1.2) ...
Setting up libdbus-1-3 (1.2.16-2ubuntu4.3) ...
Setting up libpng12-0 (1.2.42-1ubuntu2.2) ...
Setting up linux-firmware (1.34.7) ...
Setting up linux-libc-dev (2.6.32-33.71) ...
Setting up perl-modules (5.10.1-8ubuntu2.1) ...
Setting up perl (5.10.1-8ubuntu2.1) ...
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
Processing triggers for initramfs-tools ...
update-initramfs: Generating /boot/initrd.img-2.6.32-28-generic
Processing triggers for python-central ...
vagrant@lucid32:~$ exit
logout
Connection to 127.0.0.1 closed.
mwarkentin@imac vagrant_guide $ vagrant reload
[default] Attempting graceful shutdown of linux...
[default] Clearing any previously set forwarded ports...
[default] Forwarding ports...
[default] -- ssh: 22 => 2222 (adapter 1)
[default] Cleaning previously set shared folders...
[default] Creating shared folders metadata...
[default] Running any VM customizations...
[default] Booting VM...
[default] Waiting for VM to boot. This can take a few minutes.
[default] VM booted and ready for use!
[default] Mounting shared folders...
[default] -- v-root: /vagrant
[default] -- v-csc-2: /tmp/vagrant-chef-4/chef-solo-1
[default] Running provisioner: Vagrant::Provisioners::ChefSolo...
[default] Generating chef JSON and uploading...
[default] Running chef-solo...
[default] stdin: is not a tty
: stderr
[default] /opt/ruby/lib/ruby/gems/1.8/gems/chef-0.10.2/bin/../lib/chef/application/solo.rb:159:in `join': stderr
[default] : : stderr
[default] can't convert nil into String: stderr
[default] (: stderr
[default] TypeError: stderr
[default] )
: stderr
[default] from /opt/ruby/lib/ruby/gems/1.8/gems/chef-0.10.2/bin/../lib/chef/application/solo.rb:159:in `reconfigure'
: stderr
[default] from /opt/ruby/lib/ruby/gems/1.8/gems/chef-0.10.2/bin/../lib/chef/application.rb:64:in `run'
: stderr
[default] from /opt/ruby/lib/ruby/gems/1.8/gems/chef-0.10.2/bin/chef-solo:25
: stderr
[default] from /opt/ruby/bin/chef-solo:19:in `load'
: stderr
[default] from /opt/ruby/bin/chef-solo:19
: stderr
The following SSH command responded with a non-zero exit status.
Vagrant assumes that this means the command failed!
chef-solo -c /tmp/vagrant-chef-4/solo.rb -j /tmp/vagrant-chef-4/dna.json
The output of the command prior to failing is outputted below:
[no output]
mwarkentin@imac vagrant_guide $ vagrant ssh
Linux lucid32 2.6.32-28-generic #55-Ubuntu SMP Mon Jan 10 21:21:01 UTC 2011 i686 GNU/Linux
Ubuntu 10.04.3 LTS
Welcome to Ubuntu!
* Documentation: https://help.ubuntu.com/
Last login: Fri Jul 29 05:03:26 2011 from 10.0.2.2
vagrant@lucid32:~$ sudo apt-get install build-essential module-assistant linux-headers-$(uname -r) dkms
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
dpkg-dev fakeroot g++ g++-4.4 liblzma1 libstdc++6-4.4-dev linux-headers-2.6.32-28 patch xz-utils
Suggested packages:
debian-keyring debian-maintainers g++-multilib g++-4.4-multilib gcc-4.4-doc libstdc++6-4.4-dbg libstdc++6-4.4-doc diffutils-doc
Recommended packages:
linux-headers-2.6-686 linux-headers-2.6-amd64 linux-headers-generic linux-headers
The following NEW packages will be installed:
build-essential dkms dpkg-dev fakeroot g++ g++-4.4 liblzma1 libstdc++6-4.4-dev linux-headers-2.6.32-28 linux-headers-2.6.32-28-generic module-assistant patch xz-utils
0 upgraded, 13 newly installed, 0 to remove and 2 not upgraded.
Need to get 18.6MB of archives.
After this operation, 111MB of additional disk space will be used.
Do you want to continue [Y/n]? Y
Get:1 http://us.archive.ubuntu.com/ubuntu/ lucid/main libstdc++6-4.4-dev 4.4.3-4ubuntu5 [1,491kB]
Get:2 http://us.archive.ubuntu.com/ubuntu/ lucid/main g++-4.4 4.4.3-4ubuntu5 [4,950kB]
Get:3 http://us.archive.ubuntu.com/ubuntu/ lucid/main g++ 4:4.4.3-1ubuntu1 [1,442B]
Get:4 http://us.archive.ubuntu.com/ubuntu/ lucid/main liblzma1 4.999.9beta+20091116-1 [152kB]
Get:5 http://us.archive.ubuntu.com/ubuntu/ lucid/main xz-utils 4.999.9beta+20091116-1 [228kB]
Get:6 http://us.archive.ubuntu.com/ubuntu/ lucid/main patch 2.6-2ubuntu1 [123kB]
Get:7 http://us.archive.ubuntu.com/ubuntu/ lucid-updates/main dpkg-dev 1.15.5.6ubuntu4.5 [654kB]
Get:8 http://us.archive.ubuntu.com/ubuntu/ lucid/main build-essential 11.4build1 [7,278B]
Get:9 http://us.archive.ubuntu.com/ubuntu/ lucid-updates/main dkms 2.1.1.2-2ubuntu1 [70.8kB]
Get:10 http://us.archive.ubuntu.com/ubuntu/ lucid/main fakeroot 1.14.4-1ubuntu1 [118kB]
Get:11 http://us.archive.ubuntu.com/ubuntu/ lucid-updates/main linux-headers-2.6.32-28 2.6.32-28.55 [9,907kB]
Get:12 http://us.archive.ubuntu.com/ubuntu/ lucid-updates/main linux-headers-2.6.32-28-generic 2.6.32-28.55 [764kB]
Get:13 http://us.archive.ubuntu.com/ubuntu/ lucid/universe module-assistant 0.11.2ubuntu1 [111kB]
Fetched 18.6MB in 1min 4s (289kB/s)
Selecting previously deselected package libstdc++6-4.4-dev.
(Reading database ... 27085 files and directories currently installed.)
Unpacking libstdc++6-4.4-dev (from .../libstdc++6-4.4-dev_4.4.3-4ubuntu5_i386.deb) ...
Selecting previously deselected package g++-4.4.
Unpacking g++-4.4 (from .../g++-4.4_4.4.3-4ubuntu5_i386.deb) ...
Selecting previously deselected package g++.
Unpacking g++ (from .../g++_4%3a4.4.3-1ubuntu1_i386.deb) ...
Selecting previously deselected package liblzma1.
Unpacking liblzma1 (from .../liblzma1_4.999.9beta+20091116-1_i386.deb) ...
Selecting previously deselected package xz-utils.
Unpacking xz-utils (from .../xz-utils_4.999.9beta+20091116-1_i386.deb) ...
Selecting previously deselected package patch.
Unpacking patch (from .../patch_2.6-2ubuntu1_i386.deb) ...
Selecting previously deselected package dpkg-dev.
Unpacking dpkg-dev (from .../dpkg-dev_1.15.5.6ubuntu4.5_all.deb) ...
Selecting previously deselected package build-essential.
Unpacking build-essential (from .../build-essential_11.4build1_i386.deb) ...
Selecting previously deselected package dkms.
Unpacking dkms (from .../dkms_2.1.1.2-2ubuntu1_all.deb) ...
Selecting previously deselected package fakeroot.
Unpacking fakeroot (from .../fakeroot_1.14.4-1ubuntu1_i386.deb) ...
Selecting previously deselected package linux-headers-2.6.32-28.
Unpacking linux-headers-2.6.32-28 (from .../linux-headers-2.6.32-28_2.6.32-28.55_all.deb) ...
Selecting previously deselected package linux-headers-2.6.32-28-generic.
Unpacking linux-headers-2.6.32-28-generic (from .../linux-headers-2.6.32-28-generic_2.6.32-28.55_i386.deb) ...
Selecting previously deselected package module-assistant.
Unpacking module-assistant (from .../module-assistant_0.11.2ubuntu1_all.deb) ...
Processing triggers for man-db ...
Setting up liblzma1 (4.999.9beta+20091116-1) ...
Setting up xz-utils (4.999.9beta+20091116-1) ...
Setting up patch (2.6-2ubuntu1) ...
Setting up dpkg-dev (1.15.5.6ubuntu4.5) ...
Setting up dkms (2.1.1.2-2ubuntu1) ...
Setting up fakeroot (1.14.4-1ubuntu1) ...
update-alternatives: using /usr/bin/fakeroot-sysv to provide /usr/bin/fakeroot (fakeroot) in auto mode.
Setting up linux-headers-2.6.32-28 (2.6.32-28.55) ...
Setting up linux-headers-2.6.32-28-generic (2.6.32-28.55) ...
Examining /etc/kernel/header_postinst.d.
run-parts: executing /etc/kernel/header_postinst.d/dkms 2.6.32-28-generic /boot/vmlinuz-2.6.32-28-generic
Setting up module-assistant (0.11.2ubuntu1) ...
Setting up libstdc++6-4.4-dev (4.4.3-4ubuntu5) ...
Setting up g++-4.4 (4.4.3-4ubuntu5) ...
Setting up g++ (4:4.4.3-1ubuntu1) ...
update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode.
Setting up build-essential (11.4build1) ...
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
vagrant@lucid32:~$ wget -c http://download.virtualbox.org/virtualbox/4.1.0/VBoxGuestAdditions_4.1.0.iso. -O VBoxGuestAdditions_4.1.iso
--2011-07-29 05:13:34-- http://download.virtualbox.org/virtualbox/4.1.0/VBoxGuestAdditions_4.1.0.iso.
Resolving download.virtualbox.org... 137.254.16.69
Connecting to download.virtualbox.org|137.254.16.69|:80... connected.
HTTP request sent, awaiting response... 302 Moved Temporarily
Location: http://dlc.sun.com.edgesuite.net/virtualbox/4.1.0/VBoxGuestAdditions_4.1.0.iso. [following]
--2011-07-29 05:13:34-- http://dlc.sun.com.edgesuite.net/virtualbox/4.1.0/VBoxGuestAdditions_4.1.0.iso.
Resolving dlc.sun.com.edgesuite.net... 216.246.75.90, 216.246.75.88
Connecting to dlc.sun.com.edgesuite.net|216.246.75.90|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2011-07-29 05:13:34 ERROR 404: Not Found.
vagrant@lucid32:~$ wget -c http://download.virtualbox.org/virtualbox/4.1.0/VBoxGuestAdditions_4.1.0.iso -O VBoxGuestAdditions_4.1.iso
--2011-07-29 05:13:48-- http://download.virtualbox.org/virtualbox/4.1.0/VBoxGuestAdditions_4.1.0.iso
Resolving download.virtualbox.org... 137.254.16.69
Connecting to download.virtualbox.org|137.254.16.69|:80... connected.
HTTP request sent, awaiting response... 302 Moved Temporarily
Location: http://dlc.sun.com.edgesuite.net/virtualbox/4.1.0/VBoxGuestAdditions_4.1.0.iso [following]
--2011-07-29 05:13:48-- http://dlc.sun.com.edgesuite.net/virtualbox/4.1.0/VBoxGuestAdditions_4.1.0.iso
Resolving dlc.sun.com.edgesuite.net... 216.246.75.88, 216.246.75.90
Connecting to dlc.sun.com.edgesuite.net|216.246.75.88|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 44957696 (43M) [application/octet-stream]
Saving to: `VBoxGuestAdditions_4.1.iso'
100%[=======================================================================================================================================>] 44,957,696 1002K/s in 40s
2011-07-29 05:14:28 (1.08 MB/s) - `VBoxGuestAdditions_4.1.iso' saved [44957696/44957696]
vagrant@lucid32:~$ sudo mount VBoxGuestAdditions_4.1.iso -o loop /mnt
vagrant@lucid32:~$ sudo sh /mnt/VBoxLinuxAdditions.run --nox11
Verifying archive integrity... All good.
Uncompressing VirtualBox 4.1.0 Guest Additions for Linux..........
VirtualBox Guest Additions installer
Removing installed version 4.0.12 of VirtualBox Guest Additions...
tar: Record size = 8 blocks
Removing existing VirtualBox DKMS kernel modules ...done.
Removing existing VirtualBox non-DKMS kernel modules ...done.
Building the VirtualBox Guest Additions kernel modules ...done.
Doing non-kernel setup of the Guest Additions ...done.
You should restart your guest to make sure the new modules are actually used
Installing the Window System drivers ...fail!
(Could not find the X.Org or XFree86 Window System.)
vagrant@lucid32:~$ exit
logout
Connection to 127.0.0.1 closed.
mwarkentin@imac vagrant_guide $ vagrant reload
[default] Attempting graceful shutdown of linux...
[default] Clearing any previously set forwarded ports...
[default] Forwarding ports...
[default] -- ssh: 22 => 2222 (adapter 1)
[default] Cleaning previously set shared folders...
[default] Creating shared folders metadata...
[default] Running any VM customizations...
[default] Booting VM...
[default] Waiting for VM to boot. This can take a few minutes.
[default] VM booted and ready for use!
[default] Mounting shared folders...
[default] -- v-root: /vagrant
[default] -- v-csc-2: /tmp/vagrant-chef-4/chef-solo-1
[default] Running provisioner: Vagrant::Provisioners::ChefSolo...
[default] Generating chef JSON and uploading...
[default] Running chef-solo...
[default] stdin: is not a tty
: stderr
[default] /opt/ruby/lib/ruby/gems/1.8/gems/chef-0.10.2/bin/../lib/chef/application/solo.rb:159:in `join': stderr
[default] : : stderr
[default] can't convert nil into String: stderr
[default] (: stderr
[default] TypeError: stderr
[default] )
: stderr
[default] from /opt/ruby/lib/ruby/gems/1.8/gems/chef-0.10.2/bin/../lib/chef/application/solo.rb:159:in `reconfigure'
: stderr
[default] from /opt/ruby/lib/ruby/gems/1.8/gems/chef-0.10.2/bin/../lib/chef/application.rb:64:in `run'
: stderr
[default] from /opt/ruby/lib/ruby/gems/1.8/gems/chef-0.10.2/bin/chef-solo:25
: stderr
[default] from /opt/ruby/bin/chef-solo:19:in `load'
: stderr
[default] from /opt/ruby/bin/chef-solo:19
: stderr
The following SSH command responded with a non-zero exit status.
Vagrant assumes that this means the command failed!
chef-solo -c /tmp/vagrant-chef-4/solo.rb -j /tmp/vagrant-chef-4/dna.json
The output of the command prior to failing is outputted below:
[no output]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment