Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provisioning the vagrant box fails #2

Open
mattrco opened this issue Sep 2, 2014 · 0 comments
Open

Provisioning the vagrant box fails #2

mattrco opened this issue Sep 2, 2014 · 0 comments

Comments

@mattrco
Copy link

mattrco commented Sep 2, 2014

I'll look at this again later, but here's the output in case there's an obvious fix. Running vagrant 1.6.

This also appears to have messed up the terminal (notice prompt near the end of output) but I don't think there is anything essential missing.

vagrant up
Bringing machine 'emfbadge' up with 'virtualbox' provider...
==> emfbadge: Box 'opscode_debian-7.4_chef-provisionerless' could not be found. Attempting to find and install...
    emfbadge: Box Provider: virtualbox
    emfbadge: Box Version: >= 0
==> emfbadge: Adding box 'opscode_debian-7.4_chef-provisionerless' (v0) for provider: virtualbox
    emfbadge: Downloading: http://opscode-vm-bento.s3.amazonaws.com/vagrant/virtualbox/opscode_debian-7.4_chef-provisionerless.box
==> emfbadge: Box download is resuming from prior download progress
==> emfbadge: Successfully added box 'opscode_debian-7.4_chef-provisionerless' (v0) for 'virtualbox'!
==> emfbadge: Importing base box 'opscode_debian-7.4_chef-provisionerless'...
==> emfbadge: Matching MAC address for NAT networking...
==> emfbadge: Clearing any previously set network interfaces...
==> emfbadge: Preparing network interfaces based on configuration...
    emfbadge: Adapter 1: nat
    emfbadge: Adapter 2: bridged
==> emfbadge: Forwarding ports...
    emfbadge: 22 => 2222 (adapter 1)
==> emfbadge: Running 'pre-boot' VM customizations...
==> emfbadge: Booting VM...
==> emfbadge: Waiting for machine to boot. This may take a few minutes...
    emfbadge: SSH address: 127.0.0.1:2222
    emfbadge: SSH username: vagrant
    emfbadge: SSH auth method: private key
    emfbadge: Error: Connection timeout. Retrying...
==> emfbadge: Machine booted and ready!
==> emfbadge: Checking for guest additions in VM...
==> emfbadge: Setting hostname...
==> emfbadge: Configuring and enabling network interfaces...
==> emfbadge: Mounting shared folders...
    emfbadge: /vagrant => /home/matt/Dropbox/code/python/Mk2-Software
==> emfbadge: Running provisioner: shell...
    emfbadge: Running: inline script
stdin: is not a tty
Get:1 http://security.debian.org wheezy/updates Release.gpg [836 B]
Get:2 http://security.debian.org wheezy/updates Release [102 kB]
Get:3 http://security.debian.org wheezy/updates/main Sources [126 kB]
Get:4 http://security.debian.org wheezy/updates/main amd64 Packages [215 kB]
Get:5 http://mirrors.kernel.org wheezy Release.gpg [1,655 B]
Get:6 http://security.debian.org wheezy/updates/main Translation-en [121 kB]
Get:7 http://mirrors.kernel.org wheezy-updates Release.gpg [836 B]
Get:8 http://mirrors.kernel.org wheezy Release [168 kB]
Get:9 http://mirrors.kernel.org wheezy-updates Release [124 kB]
Get:10 http://mirrors.kernel.org wheezy/main Sources [5,957 kB]
Get:11 http://mirrors.kernel.org wheezy/main amd64 Packages [5,841 kB]
Get:12 http://mirrors.kernel.org wheezy/main Translation-en [3,847 kB]
Get:13 http://mirrors.kernel.org wheezy-updates/main Sources [4,478 B]
Get:14 http://mirrors.kernel.org wheezy-updates/main amd64 Packages/DiffIndex [1,471 B]
Get:15 http://mirrors.kernel.org wheezy-updates/main Translation-en/DiffIndex [919 B]
Get:16 http://mirrors.kernel.org wheezy-updates/main amd64 2014-05-14-2051.55.pdiff [379 B]
Get:17 http://mirrors.kernel.org wheezy-updates/main amd64 2014-05-14-2051.55.pdiff [379 B]
Get:18 http://mirrors.kernel.org wheezy-updates/main 2014-06-16-2054.31.pdiff [501 B]
Get:19 http://mirrors.kernel.org wheezy-updates/main 2014-06-16-2054.31.pdiff [501 B]
Get:20 http://mirrors.kernel.org wheezy-updates/main amd64 2014-05-15-2049.21.pdiff [255 B]
Get:21 http://mirrors.kernel.org wheezy-updates/main amd64 2014-05-15-2049.21.pdiff [255 B]
Get:22 http://mirrors.kernel.org wheezy-updates/main amd64 2014-06-16-2054.31.pdiff [2,746 B]
Get:23 http://mirrors.kernel.org wheezy-updates/main amd64 2014-06-16-2054.31.pdiff [2,746 B]
Fetched 16.5 MB in 22s (739 kB/s)
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
The following extra packages will be installed:
  build-essential dpkg-dev g++ g++-4.7 libalgorithm-diff-perl
  libalgorithm-diff-xs-perl libalgorithm-merge-perl libdpkg-perl libexpat1-dev
  libfile-fcntllock-perl libpython2.7 libssl-dev libssl-doc libssl1.0.0
  libstdc++6-4.7-dev libtimedate-perl python-pkg-resources python-setuptools
  python2.7-dev
Suggested packages:
  debian-keyring g++-multilib g++-4.7-multilib gcc-4.7-doc libstdc++6-4.7-dbg
  libstdc++6-4.7-doc python-distribute python-distribute-doc
Recommended packages:
  python-dev-all
The following NEW packages will be installed:
  build-essential dpkg-dev g++ g++-4.7 libalgorithm-diff-perl
  libalgorithm-diff-xs-perl libalgorithm-merge-perl libdpkg-perl libexpat1-dev
  libfile-fcntllock-perl libpython2.7 libssl-dev libssl-doc libstdc++6-4.7-dev
  libtimedate-perl python-dev python-pip python-pkg-resources
  python-setuptools python2.7-dev
The following packages will be upgraded:
  libssl1.0.0
1 upgraded, 20 newly installed, 0 to remove and 35 not upgraded.
Need to get 41.3 MB of archives.
After this operation, 77.5 MB of additional disk space will be used.
Get:1 http://security.debian.org/ wheezy/updates/main libssl1.0.0 amd64 1.0.1e-2+deb7u12 [1,259 kB]
Get:2 http://mirrors.kernel.org/debian/ wheezy/main libstdc++6-4.7-dev amd64 4.7.2-5 [1,726 kB]
Get:3 http://security.debian.org/ wheezy/updates/main libssl-dev amd64 1.0.1e-2+deb7u12 [1,754 kB]
Get:4 http://security.debian.org/ wheezy/updates/main libssl-doc all 1.0.1e-2+deb7u12 [1,198 kB]
Get:5 http://mirrors.kernel.org/debian/ wheezy/main g++-4.7 amd64 4.7.2-5 [8,011 kB]
Get:6 http://mirrors.kernel.org/debian/ wheezy/main g++ amd64 4:4.7.2-1 [1,374 B]
Get:7 http://mirrors.kernel.org/debian/ wheezy/main libtimedate-perl all 1.2000-1 [41.2 kB]
Get:8 http://mirrors.kernel.org/debian/ wheezy/main libdpkg-perl all 1.16.15 [958 kB]
Get:9 http://mirrors.kernel.org/debian/ wheezy/main dpkg-dev all 1.16.15 [1,356 kB]
Get:10 http://mirrors.kernel.org/debian/ wheezy/main build-essential amd64 11.5 [7,178 B]
Get:11 http://mirrors.kernel.org/debian/ wheezy/main libalgorithm-diff-perl all 1.19.02-2 [51.5 kB]
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               Package configuration┌─────────────────────┤ Configuring libssl1.0.0:amd64 ├─────────────────────┐│││ There are services installed on your system which need to be restarted    ││ when certain libraries, such as libpam, libc, and libssl, are upgraded.   ││ Since these restarts may cause interruptions of service for the system,   ││ you will normally be prompted on each upgrade for the list of services    ││ you wish to restart.  You can choose this option to avoid being││ prompted; instead, all necessary restarts will be done for you││ automatically so you can avoid being asked questions on each library││ upgrade.││││ Restart services during package upgrades without asking?││││<Yes><No>│││└───────────────────────────────────────────────────────────────────────────┘Failed to open terminal.debconf: whiptail output the above errors, giving up! (923 kB/s)
Setting up libtimedate-perl (1.2000-1) ...ctories currently installed.)
dpkg: error processing libssl1.0.0:amd64 (--configure):(using .../libssl1.0.0_1.0.1e-2+deb7u12_amd64.deb) ...
 subprocess installed post-installation script returned error exit status 255
Setting up libdpkg-perl (1.16.15) ...ge libstdc++6-4.7-dev.
Setting up dpkg-dev (1.16.15) ...m .../libstdc++6-4.7-dev_4.7.2-5_amd64.deb) ...
Setting up libalgorithm-diff-perl (1.19.02-2) ...
Setting up libalgorithm-diff-xs-perl (0.04-2+b1) ...b) ...
Setting up libalgorithm-merge-perl (0.08-2) ...
Setting up libexpat1-dev (2.1.0-1+deb7u1) ....deb) ...
Setting up libfile-fcntllock-perl (0.14-2) ...edate-perl.
Setting up libpython2.7 (2.7.3-6+deb7u2) ...date-perl_1.2000-1_all.deb) ...
Setting up libssl-doc (1.0.1e-2+deb7u12) ...
dpkg: dependency problems prevent configuration of libssl-dev:
 libssl-dev depends on libssl1.0.0 (= 1.0.1e-2+deb7u12); however:
  Package libssl1.0.0:amd64 is not configured yet.

dpkg: error processing libssl-dev (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of python2.7-dev:
 python2.7-dev depends on libssl-dev; however:
  Package libssl-dev is not configured yet.

dpkg: error processing python2.7-dev (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of python-dev:
 python-dev depends on python2.7-dev (>= 2.7.3-1~); however:
  Package python2.7-dev is not configured yet.

dpkg: error processing python-dev (--configure):
 dependency problems - leaving unconfigured
Setting up python-pkg-resources (0.6.24-1) ...
Setting up python-setuptools (0.6.24-1) ...
Setting up python-pip (1.1-3) ...
Setting up g++-4.7 (4.7.2-5) ...
Setting up g++ (4:4.7.2-1) ...
update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode
Setting up build-essential (11.5) ...
Setting up libstdc++6-4.7-dev (4.7.2-5) ...
Errors were encountered while processing:
 libssl1.0.0:amd64
 libssl-dev
 python2.7-dev
 python-dev
E: Sub-process /usr/bin/dpkg returned an error code (1)
Requirement already satisfied (use --upgrade to upgrade): distribute in /usr/lib/python2.7/dist-packages
Cleaning up...
running develop
Checking .pth file support in /usr/local/lib/python2.7/dist-packages/
/usr/bin/python -E -c pass
TEST PASSED: /usr/local/lib/python2.7/dist-packages/ appears to support .pth files
running egg_info
writing requirements to emfmcp.egg-info/requires.txt
writing emfmcp.egg-info/PKG-INFO
writing top-level names to emfmcp.egg-info/top_level.txt
writing dependency_links to emfmcp.egg-info/dependency_links.txt
reading manifest file 'emfmcp.egg-info/SOURCES.txt'
writing manifest file 'emfmcp.egg-info/SOURCES.txt'
running build_ext
Creating /usr/local/lib/python2.7/dist-packages/emfmcp.egg-link (link to .)
Adding emfmcp 0.1 to easy-install.pth file
Installing mcp.py script to /usr/local/bin
Installing gateway.py script to /usr/local/bin

Installed /vagrant
Processing dependencies for emfmcp==0.1
Searching for psycopg2>=2.4.6
Reading http://pypi.python.org/simple/psycopg2/
Reading http://initd.org/projects/psycopg2
Best match: psycopg2 2.5.4
Downloading https://pypi.python.org/packages/source/p/psycopg2/psycopg2-2.5.4.tar.gz#md5=25216543a707eb33fd83aa8efb6e3f26
Processing psycopg2-2.5.4.tar.gz
Running psycopg2-2.5.4/setup.py -q bdist_egg --dist-dir /tmp/easy_install-udWJWb/psycopg2-2.5.4/egg-dist-tmp-9zf7Bu
Error: pg_config executable not found.

Please add the directory containing pg_config to the PATH
or specify the full executable path with the option:

    python setup.py build_ext --pg-config /path/to/pg_config build ...

or with the pg_config option in 'setup.cfg'.
error: Setup script exited with 1
The following SSH command responded with a non-zero exit status.
Vagrant assumes that this means the command failed!

chmod +x /tmp/vagrant-shell && /tmp/vagrant-shell

Stdout from the command:

Get:1 http://security.debian.org wheezy/updates Release.gpg [836 B]
Get:2 http://security.debian.org wheezy/updates Release [102 kB]
Get:3 http://security.debian.org wheezy/updates/main Sources [126 kB]
Get:4 http://security.debian.org wheezy/updates/main amd64 Packages [215 kB]
Get:5 http://mirrors.kernel.org wheezy Release.gpg [1,655 B]
Get:6 http://security.debian.org wheezy/updates/main Translation-en [121 kB]
Get:7 http://mirrors.kernel.org wheezy-updates Release.gpg [836 B]
Get:8 http://mirrors.kernel.org wheezy Release [168 kB]
Get:9 http://mirrors.kernel.org wheezy-updates Release [124 kB]
Get:10 http://mirrors.kernel.org wheezy/main Sources [5,957 kB]
Get:11 http://mirrors.kernel.org wheezy/main amd64 Packages [5,841 kB]
Get:12 http://mirrors.kernel.org wheezy/main Translation-en [3,847 kB]
Get:13 http://mirrors.kernel.org wheezy-updates/main Sources [4,478 B]
Get:14 http://mirrors.kernel.org wheezy-updates/main amd64 Packages/DiffIndex [1,471 B]
Get:15 http://mirrors.kernel.org wheezy-updates/main Translation-en/DiffIndex [919 B]
Get:16 http://mirrors.kernel.org wheezy-updates/main amd64 2014-05-14-2051.55.pdiff [379 B]
Get:17 http://mirrors.kernel.org wheezy-updates/main amd64 2014-05-14-2051.55.pdiff [379 B]
Get:18 http://mirrors.kernel.org wheezy-updates/main 2014-06-16-2054.31.pdiff [501 B]
Get:19 http://mirrors.kernel.org wheezy-updates/main 2014-06-16-2054.31.pdiff [501 B]
Get:20 http://mirrors.kernel.org wheezy-updates/main amd64 2014-05-15-2049.21.pdiff [255 B]
Get:21 http://mirrors.kernel.org wheezy-updates/main amd64 2014-05-15-2049.21.pdiff [255 B]
Get:22 http://mirrors.kernel.org wheezy-updates/main amd64 2014-06-16-2054.31.pdiff [2,746 B]
Get:23 http://mirrors.kernel.org wheezy-updates/main amd64 2014-06-16-2054.31.pdiff [2,746 B]
Fetched 16.5 MB in 22s (739 kB/s)
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
The following extra packages will be installed:
  build-essential dpkg-dev g++ g++-4.7 libalgorithm-diff-perl
  libalgorithm-diff-xs-perl libalgorithm-merge-perl libdpkg-perl libexpat1-dev
  libfile-fcntllock-perl libpython2.7 libssl-dev libssl-doc libssl1.0.0
  libstdc++6-4.7-dev libtimedate-perl python-pkg-resources python-setuptools
  python2.7-dev
Suggested packages:
  debian-keyring g++-multilib g++-4.7-multilib gcc-4.7-doc libstdc++6-4.7-dbg
  libstdc++6-4.7-doc python-distribute python-distribute-doc
Recommended packages:
  python-dev-all
The following NEW packages will be installed:
  build-essential dpkg-dev g++ g++-4.7 libalgorithm-diff-perl
  libalgorithm-diff-xs-perl libalgorithm-merge-perl libdpkg-perl libexpat1-dev
  libfile-fcntllock-perl libpython2.7 libssl-dev libssl-doc libstdc++6-4.7-dev
  libtimedate-perl python-dev python-pip python-pkg-resources
  python-setuptools python2.7-dev
The following packages will be upgraded:
  libssl1.0.0
1 upgraded, 20 newly installed, 0 to remove and 35 not upgraded.
Need to get 41.3 MB of archives.
After this operation, 77.5 MB of additional disk space will be used.
Get:1 http://security.debian.org/ wheezy/updates/main libssl1.0.0 amd64 1.0.1e-2+deb7u12 [1,259 kB]
Get:2 http://mirrors.kernel.org/debian/ wheezy/main libstdc++6-4.7-dev amd64 4.7.2-5 [1,726 kB]
Get:3 http://security.debian.org/ wheezy/updates/main libssl-dev amd64 1.0.1e-2+deb7u12 [1,754 kB]
Get:4 http://security.debian.org/ wheezy/updates/main libssl-doc all 1.0.1e-2+deb7u12 [1,198 kB]
Get:5 http://mirrors.kernel.org/debian/ wheezy/main g++-4.7 amd64 4.7.2-5 [8,011 kB]
Get:6 http://mirrors.kernel.org/debian/ wheezy/main g++ amd64 4:4.7.2-1 [1,374 B]
Get:7 http://mirrors.kernel.org/debian/ wheezy/main libtimedate-perl all 1.2000-1 [41.2 kB]
Get:8 http://mirrors.kernel.org/debian/ wheezy/main libdpkg-perl all 1.16.15 [958 kB]
Get:9 http://mirrors.kernel.org/debian/ wheezy/main dpkg-dev all 1.16.15 [1,356 kB]
Get:10 http://mirrors.kernel.org/debian/ wheezy/main build-essential amd64 11.5 [7,178 B]
Get:11 http://mirrors.kernel.org/debian/ wheezy/main libalgorithm-diff-perl all 1.19.02-2 [51.5 kB]
Get:12 http://mirrors.kernel.org/debian/ wheezy/main libalgorithm-diff-xs-perl amd64 0.04-2+b1 [12.9 kB]
Get:13 http://mirrors.kernel.org/debian/ wheezy/main libalgorithm-merge-perl all 0.08-2 [13.5 kB]
Get:14 http://mirrors.kernel.org/debian/ wheezy/main libexpat1-dev amd64 2.1.0-1+deb7u1 [222 kB]
Get:15 http://mirrors.kernel.org/debian/ wheezy/main libfile-fcntllock-perl amd64 0.14-2 [17.2 kB]
Get:16 http://mirrors.kernel.org/debian/ wheezy/main libpython2.7 amd64 2.7.3-6+deb7u2 [1,207 kB]
Get:17 http://mirrors.kernel.org/debian/ wheezy/main python2.7-dev amd64 2.7.3-6+deb7u2 [22.8 MB]
Get:18 http://mirrors.kernel.org/debian/ wheezy/main python-dev all 2.7.3-4+deb7u1 [920 B]
Get:19 http://mirrors.kernel.org/debian/ wheezy/main python-pkg-resources all 0.6.24-1 [63.6 kB]
Get:20 http://mirrors.kernel.org/debian/ wheezy/main python-setuptools all 0.6.24-1 [449 kB]
Get:21 http://mirrors.kernel.org/debian/ wheezy/main python-pip all 1.1-3 [112 kB]
Fetched 41.3 MB in 44s (923 kB/s)
(Reading database ... 37414 files and directories currently installed.)
Preparing to replace libssl1.0.0:amd64 1.0.1e-2+deb7u4 (using .../libssl1.0.0_1.0.1e-2+deb7u12_amd64.deb) ...
Unpacking replacement libssl1.0.0:amd64 ...
Selecting previously unselected package libstdc++6-4.7-dev.
Unpacking libstdc++6-4.7-dev (from .../libstdc++6-4.7-dev_4.7.2-5_amd64.deb) ...
Selecting previously unselected package g++-4.7.
Unpacking g++-4.7 (from .../g++-4.7_4.7.2-5_amd64.deb) ...
Selecting previously unselected package g++.
Unpacking g++ (from .../g++_4%3a4.7.2-1_amd64.deb) ...
Selecting previously unselected package libtimedate-perl.
Unpacking libtimedate-perl (from .../libtimedate-perl_1.2000-1_all.deb) ...
Selecting previously unselected package libdpkg-perl.
Unpacking libdpkg-perl (from .../libdpkg-perl_1.16.15_all.deb) ...
Selecting previously unselected package dpkg-dev.
Unpacking dpkg-dev (from .../dpkg-dev_1.16.15_all.deb) ...
Selecting previously unselected package build-essential.
Unpacking build-essential (from .../build-essential_11.5_amd64.deb) ...
Selecting previously unselected package libalgorithm-diff-perl.
Unpacking libalgorithm-diff-perl (from .../libalgorithm-diff-perl_1.19.02-2_all.deb) ...
Selecting previously unselected package libalgorithm-diff-xs-perl.
Unpacking libalgorithm-diff-xs-perl (from .../libalgorithm-diff-xs-perl_0.04-2+b1_amd64.deb) ...
Selecting previously unselected package libalgorithm-merge-perl.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               Package configuration┌─────────────────────┤ Configuring libssl1.0.0:amd64 ├─────────────────────┐│││ There are services installed on your system which need to be restarted    ││ when certain libraries, such as libpam, libc, and libssl, are upgraded.   ││ Since these restarts may cause interruptions of service for the system,   ││ you will normally be prompted on each upgrade for the list of services    ││ you wish to restart.  You can choose this option to avoid being││ prompted; instead, all necessary restarts will be done for you││ automatically so you can avoid being asked questions on each library││ upgrade.││││ Restart services during package upgrades without asking?││││<Yes><No>│││└───────────────────────────────────────────────────────────────────────────┘Setting up libtimedate-perl (1.2000-1) ...
Setting up libdpkg-perl (1.16.15) ...hon2.7-dev_2.7.3-6+deb7u2_amd64.deb) ...
Setting up dpkg-dev (1.16.15) ...ackage python-dev.
Setting up libalgorithm-diff-perl (1.19.02-2) ...+deb7u1_all.deb) ...
Setting up libalgorithm-diff-xs-perl (0.04-2+b1) ...esources.
Setting up libalgorithm-merge-perl (0.08-2) ...-pkg-resources_0.6.24-1_all.deb) ...
Setting up libexpat1-dev (2.1.0-1+deb7u1) ...n-setuptools.
Setting up libfile-fcntllock-perl (0.14-2) ...etuptools_0.6.24-1_all.deb) ...
Setting up libpython2.7 (2.7.3-6+deb7u2) ...on-pip.
Setting up libssl-doc (1.0.1e-2+deb7u12) ...1-3_all.deb) ...
Setting up python-pkg-resources (0.6.24-1) ...
Setting up python-setuptools (0.6.24-1) ...u12) ...
Setting up python-pip (1.1-3) ...
Setting up g++-4.7 (4.7.2-5) ...
Setting up g++ (4:4.7.2-1) ...
update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode
Setting up build-essential (11.5) ...
Setting up libstdc++6-4.7-dev (4.7.2-5) ...
Requirement already satisfied (use --upgrade to upgrade): distribute in /usr/lib/python2.7/dist-packages
Cleaning up...
running develop
Checking .pth file support in /usr/local/lib/python2.7/dist-packages/
/usr/bin/python -E -c pass
TEST PASSED: /usr/local/lib/python2.7/dist-packages/ appears to support .pth files
running egg_info
writing requirements to emfmcp.egg-info/requires.txt
writing emfmcp.egg-info/PKG-INFO
writing top-level names to emfmcp.egg-info/top_level.txt
writing dependency_links to emfmcp.egg-info/dependency_links.txt
reading manifest file 'emfmcp.egg-info/SOURCES.txt'
writing manifest file 'emfmcp.egg-info/SOURCES.txt'
running build_ext
Creating /usr/local/lib/python2.7/dist-packages/emfmcp.egg-link (link to .)
Adding emfmcp 0.1 to easy-install.pth file
Installing mcp.py script to /usr/local/bin
Installing gateway.py script to /usr/local/bin

Installed /vagrant
Processing dependencies for emfmcp==0.1
Searching for psycopg2>=2.4.6
Reading http://pypi.python.org/simple/psycopg2/
Reading http://initd.org/projects/psycopg2
Best match: psycopg2 2.5.4
Downloading https://pypi.python.org/packages/source/p/psycopg2/psycopg2-2.5.4.tar.gz#md5=25216543a707eb33fd83aa8efb6e3f26
Processing psycopg2-2.5.4.tar.gz
Running psycopg2-2.5.4/setup.py -q bdist_egg --dist-dir /tmp/easy_install-udWJWb/psycopg2-2.5.4/egg-dist-tmp-9zf7Bu


Stderr from the command:

stdin: is not a tty
Reading changelogs...
dpkg-preconfigure: unable to re-open stdin: No such file or directory
Checking for services that may need to be restarted...done.
Checking for services that may need to be restarted...done.
Checking init scripts...
Failed to open terminal.debconf: whiptail output the above errors, giving up!
dpkg: error processing libssl1.0.0:amd64 (--configure):
 subprocess installed post-installation script returned error exit status 255
dpkg: dependency problems prevent configuration of libssl-dev:
 libssl-dev depends on libssl1.0.0 (= 1.0.1e-2+deb7u12); however:
  Package libssl1.0.0:amd64 is not configured yet.

dpkg: error processing libssl-dev (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of python2.7-dev:
 python2.7-dev depends on libssl-dev; however:
  Package libssl-dev is not configured yet.

dpkg: error processing python2.7-dev (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of python-dev:
 python-dev depends on python2.7-dev (>= 2.7.3-1~); however:
  Package python2.7-dev is not configured yet.

dpkg: error processing python-dev (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 libssl1.0.0:amd64
 libssl-dev
 python2.7-dev
 python-dev
E: Sub-process /usr/bin/dpkg returned an error code (1)
Error: pg_config executable not found.

Please add the directory containing pg_config to the PATH
or specify the full executable path with the option:

    python setup.py build_ext --pg-config /path/to/pg_config build ...

or with the pg_config option in 'setup.cfg'.
error: Setup script exited with 1

matt@asgard:~/src/python/Mk2-Software$ 
Selecting previously unselected package libdpkg-perl.
Unpacking libdpkg-perl (from .../libdpkg-perl_1.16.15_all.deb) ...
Selecting previously unselected package dpkg-dev.
Unpacking dpkg-dev (from .../dpkg-dev_1.16.15_all.deb) ...
Selecting previously unselected package build-essential.
Unpacking build-essential (from .../build-essential_11.5_amd64.deb) ...
Selecting previously unselected package libalgorithm-diff-perl.
Unpacking libalgorithm-diff-perl (from .../libalgorithm-diff-perl_1.19.02-2_all.deb) ...
Selecting previously unselected package libalgorithm-diff-xs-perl.
Unpacking libalgorithm-diff-xs-perl (from .../libalgorithm-diff-xs-perl_0.04-2+b1_amd64.deb) ...
Selecting previously unselected package libalgorithm-merge-perl.
Unpacking libalgorithm-merge-perl (from .../libalgorithm-merge-perl_0.08-2_all.deb) ...
Selecting previously unselected package libexpat1-dev.
Unpacking libexpat1-dev (from .../libexpat1-dev_2.1.0-1+deb7u1_amd64.deb) ...
Selecting previously unselected package libfile-fcntllock-perl.
Unpacking libfile-fcntllock-perl (from .../libfile-fcntllock-perl_0.14-2_amd64.deb) ...
Selecting previously unselected package libpython2.7.
Unpacking libpython2.7 (from .../libpython2.7_2.7.3-6+deb7u2_amd64.deb) ...
Selecting previously unselected package libssl-dev.
Unpacking libssl-dev (from .../libssl-dev_1.0.1e-2+deb7u12_amd64.deb) ...
Selecting previously unselected package libssl-doc.
Unpacking libssl-doc (from .../libssl-doc_1.0.1e-2+deb7u12_all.deb) ...
Selecting previously unselected package python2.7-dev.
Unpacking python2.7-dev (from .../python2.7-dev_2.7.3-6+deb7u2_amd64.deb) ...
Selecting previously unselected package python-dev.
Unpacking python-dev (from .../python-dev_2.7.3-4+deb7u1_all.deb) ...
Selecting previously unselected package python-pkg-resources.
Unpacking python-pkg-resources (from .../python-pkg-resources_0.6.24-1_all.deb) ...
Selecting previously unselected package python-setuptools.
Unpacking python-setuptools (from .../python-setuptools_0.6.24-1_all.deb) ...
Selecting previously unselected package python-pip.
Unpacking python-pip (from .../python-pip_1.1-3_all.deb) ...
Processing triggers for man-db ...
Setting up libssl1.0.0:amd64 (1.0.1e-2+deb7u12) ...
Checking for services that may need to be restarted...done.
Checking for services that may need to be restarted...done.
Checking init scripts...

@mattrco mattrco changed the title Can't provision the vagrant box Provisioning the vagrant box fails Sep 2, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant