Running Vagrant with Virtualbox on an Ubuntu 16.04 Host and using Ubuntu 16.04 Virtualbox Guest, bento/ubuntu-16.04
Attempting to install build-essential::default recipe. Fails to what looks like a missing i386, or 32bit dependency. I thought Ubuntu stopped supporting 32bit binaries.
Expected to have the install pass successfully.
$ chef exec kitchen test
-----> Starting Kitchen (v1.19.2)
-----> Cleaning up any prior instances of <default-ubuntu-1604>
-----> Destroying <default-ubuntu-1604>...
==> default: Forcing shutdown of VM...
==> default: Destroying VM and associated drives...
Vagrant instance <default-ubuntu-1604> destroyed.
Finished destroying <default-ubuntu-1604> (0m4.08s).
-----> Testing <default-ubuntu-1604>
-----> Creating <default-ubuntu-1604>...
Bringing machine 'default' up with 'virtualbox' provider...
==> default: Importing base box 'bento/ubuntu-16.04'...
==> default: Matching MAC address for NAT networking...
==> default: Checking if box 'bento/ubuntu-16.04' is up to date...
==> default: Setting the name of the VM: default-ubuntu-1604_default_1513744653923_27681
==> default: Clearing any previously set network interfaces...
==> default: Preparing network interfaces based on configuration...
default: Adapter 1: nat
==> default: Forwarding ports...
default: 22 (guest) => 2222 (host) (adapter 1)
==> default: Booting VM...
==> default: Waiting for machine to boot. This may take a few minutes...
default: SSH address: 127.0.0.1:2222
default: SSH username: vagrant
default: SSH auth method: private key
default:
default: Vagrant insecure key detected. Vagrant will automatically replace
default: this with a newly generated keypair for better security.
default:
default: Inserting generated public key within guest...
default: Removing insecure key from the guest if it's present...
default: Key inserted! Disconnecting and reconnecting using new SSH key...
==> default: Machine booted and ready!
==> default: Checking for guest additions in VM...
==> default: Setting hostname...
==> default: Mounting shared folders...
default: /tmp/omnibus/cache => /home/predatorian/.kitchen/cache
==> default: Machine not provisioned because `--no-provision` is specified.
[SSH] Established
Vagrant instance <default-ubuntu-1604> created.
Finished creating <default-ubuntu-1604> (0m44.81s).
-----> Converging <default-ubuntu-1604>...
Preparing files for transfer
Preparing dna.json
Resolving cookbook dependencies with Berkshelf 6.3.1...
Removing non-cookbook files before transfer
Preparing validation.pem
Preparing client.rb
-----> Installing Chef Omnibus (install only if missing)
Downloading https://omnitruck.chef.io/install.sh to file /tmp/install.sh
Trying wget...
Download complete.
ubuntu 16.04 x86_64
Getting information for chef stable for ubuntu...
downloading https://omnitruck.chef.io/stable/chef/metadata?v=&p=ubuntu&pv=16.04&m=x86_64
to file /tmp/install.sh.1624/metadata.txt
trying wget...
sha1 968d6f567dc45ab4cd8d8f94a5e43d781a1d5ba1
sha256 c523feb2494b407d71c56261035a58b6897ec6312f917477ef0b3fc4e27c072d
url https://packages.chef.io/files/stable/chef/13.6.4/ubuntu/16.04/chef_13.6.4-1_amd64.deb
version 13.6.4
downloaded metadata file looks valid...
/tmp/omnibus/cache/chef_13.6.4-1_amd64.deb exists
Comparing checksum with sha256sum...
WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING
You are installing an omnibus package without a version pin. If you are installing
on production servers via an automated process this is DANGEROUS and you will
be upgraded without warning on new releases, even to new major releases.
Letting the version float is only appropriate in desktop, test, development or
CI/CD environments.
WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING
Installing chef
installing with dpkg...
Selecting previously unselected package chef.
(Reading database ... 35843 files and directories currently installed.)
Preparing to unpack .../cache/chef_13.6.4-1_amd64.deb ...
Unpacking chef (13.6.4-1) ...
Setting up chef (13.6.4-1) ...
Thank you for installing Chef!
Transferring files to <default-ubuntu-1604>
Starting Chef Client, version 13.6.4
Creating a new client identity for default-ubuntu-1604 using the validator key.
resolving cookbooks for run list: ["matrix_synapse::default"]
Synchronizing Cookbooks:
- matrix_synapse (0.1.0)
- build-essential (8.0.4)
- poise-python (1.6.0)
- seven_zip (2.0.2)
- users (5.3.1)
- mingw (2.0.1)
- poise (2.8.1)
- poise-languages (2.1.1)
- windows (3.4.1)
- poise-archive (1.5.0)
- ohai (5.2.0)
Installing Cookbook Gems:
Compiling Cookbooks...
Converging 1 resources
Recipe: build-essential::default
* build_essential[install_packages] action install
* apt_package[autoconf, binutils-doc, bison, build-essential, flex, gettext, ncurses-dev] action install
================================================================================
Error executing action `install` on resource 'apt_package[autoconf, binutils-doc, bison, build-essential, flex, gettext, ncurses-dev]'
================================================================================
Mixlib::ShellOut::ShellCommandFailed
------------------------------------
Expected process to exit with [0], but received '100'
---- Begin output of ["apt-get", "-q", "-y", "install", "autoconf=2.69-9", "binutils-doc=2.26.1-1ubuntu1~16.04.5", "bison=2:3.0.4.dfsg-1", "build-essential=12.1ubuntu2", "flex=2.6.0-11", "gettext=0.19.7-2ubuntu3", "ncurses-dev"] ----
STDOUT: Reading package lists...
Building dependency tree...
Reading state information...
The following additional packages will be installed:
automake autotools-dev dpkg-dev g++ g++-5 libalgorithm-diff-perl
libalgorithm-diff-xs-perl libalgorithm-merge-perl libasprintf-dev
libbison-dev libcroco3 libfl-dev libgettextpo-dev libgettextpo0
libstdc++-5-dev libunistring0 m4
Suggested packages:
autoconf-archive gnu-standards autoconf-doc libtool bison-doc debian-keyring
g++-multilib g++-5-multilib gcc-5-doc libstdc++6-5-dbg gettext-doc autopoint
ncurses-doc libstdc++-5-doc
The following NEW packages will be installed:
autoconf automake autotools-dev binutils-doc bison build-essential dpkg-dev
flex g++ g++-5 gettext libalgorithm-diff-perl libalgorithm-diff-xs-perl
libalgorithm-merge-perl libasprintf-dev libbison-dev libcroco3 libfl-dev
libgettextpo-dev libgettextpo0 libncurses5-dev libstdc++-5-dev libunistring0
m4
0 upgraded, 24 newly installed, 0 to remove and 0 not upgraded.
Need to get 15.0 MB of archives.
After this operation, 56.5 MB of additional disk space will be used.
Get:1 http://archive.ubuntu.com/ubuntu xenial/main amd64 m4 amd64 1.4.17-5 [195 kB]
Get:2 http://archive.ubuntu.com/ubuntu xenial/main amd64 libfl-dev amd64 2.6.0-11 [12.5 kB]
Get:3 http://archive.ubuntu.com/ubuntu xenial/main amd64 flex amd64 2.6.0-11 [290 kB]
Get:4 http://archive.ubuntu.com/ubuntu xenial/main amd64 libunistring0 amd64 0.9.3-5.2ubuntu1 [279 kB]
Get:5 http://archive.ubuntu.com/ubuntu xenial/main amd64 autoconf all 2.69-9 [321 kB]
Get:6 http://archive.ubuntu.com/ubuntu xenial/main amd64 autotools-dev all 20150820.1 [39.8 kB]
Get:7 http://archive.ubuntu.com/ubuntu xenial/main amd64 automake all 1:1.15-4ubuntu1 [510 kB]
Get:8 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 binutils-doc all 2.26.1-1ubuntu1~16.04.5 [601 kB]
Get:9 http://archive.ubuntu.com/ubuntu xenial/main amd64 libbison-dev amd64 2:3.0.4.dfsg-1 [338 kB]
Get:10 http://archive.ubuntu.com/ubuntu xenial/main amd64 bison amd64 2:3.0.4.dfsg-1 [259 kB]
Get:11 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 libstdc++-5-dev amd64 5.4.0-6ubuntu1~16.04.5 [1430 kB]
Get:12 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 g++-5 amd64 5.4.0-6ubuntu1~16.04.5 [8435 kB]
Get:13 http://archive.ubuntu.com/ubuntu xenial/main amd64 g++ amd64 4:5.3.1-1ubuntu1 [1504 B]
Ign:14 http://archive.ubuntu.com/ubuntu xenial-updates/main i386 dpkg-dev all 1.18.4ubuntu1.2
Get:15 http://archive.ubuntu.com/ubuntu xenial/main amd64 build-essential amd64 12.1ubuntu2 [4758 B]
Get:16 http://archive.ubuntu.com/ubuntu xenial/main amd64 libcroco3 amd64 0.6.11-1 [81.6 kB]
Get:17 http://archive.ubuntu.com/ubuntu xenial/main amd64 gettext amd64 0.19.7-2ubuntu3 [1076 kB]
Get:18 http://archive.ubuntu.com/ubuntu xenial/main amd64 libalgorithm-diff-perl all 1.19.03-1 [47.6 kB]
Get:19 http://archive.ubuntu.com/ubuntu xenial/main amd64 libalgorithm-diff-xs-perl amd64 0.04-4build1 [11.0 kB]
Get:20 http://archive.ubuntu.com/ubuntu xenial/main amd64 libalgorithm-merge-perl all 0.08-3 [12.0 kB]
Get:21 http://archive.ubuntu.com/ubuntu xenial/main amd64 libasprintf-dev amd64 0.19.7-2ubuntu3 [4734 B]
Get:22 http://archive.ubuntu.com/ubuntu xenial/main amd64 libgettextpo0 amd64 0.19.7-2ubuntu3 [125 kB]
Get:23 http://archive.ubuntu.com/ubuntu xenial/main amd64 libgettextpo-dev amd64 0.19.7-2ubuntu3 [141 kB]
Get:24 http://archive.ubuntu.com/ubuntu xenial/main amd64 libncurses5-dev amd64 6.0+20160213-1ubuntu1 [175 kB]
Err:14 http://archive.ubuntu.com/ubuntu xenial-updates/main i386 dpkg-dev all 1.18.4ubuntu1.2
404 Not Found [IP: 91.189.88.149 80]
Fetched 14.4 MB in 3s (3986 kB/s)
STDERR: E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/d/dpkg/dpkg-dev_1.18.4ubuntu1.2_all.deb 404 Not Found [IP: 91.189.88.149 80]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
---- End output of ["apt-get", "-q", "-y", "install", "autoconf=2.69-9", "binutils-doc=2.26.1-1ubuntu1~16.04.5", "bison=2:3.0.4.dfsg-1", "build-essential=12.1ubuntu2", "flex=2.6.0-11", "gettext=0.19.7-2ubuntu3", "ncurses-dev"] ----
Ran ["apt-get", "-q", "-y", "install", "autoconf=2.69-9", "binutils-doc=2.26.1-1ubuntu1~16.04.5", "bison=2:3.0.4.dfsg-1", "build-essential=12.1ubuntu2", "flex=2.6.0-11", "gettext=0.19.7-2ubuntu3", "ncurses-dev"] returned 100
Resource Declaration:
---------------------
# In /tmp/kitchen/cache/cookbooks/build-essential/resources/build_essential.rb
28: package %w( autoconf binutils-doc bison build-essential flex gettext ncurses-dev )
29: when 'amazon', 'fedora', 'rhel'
Compiled Resource:
------------------
# Declared in /tmp/kitchen/cache/cookbooks/build-essential/resources/build_essential.rb:28:in `block in class_from_file'
apt_package("autoconf, binutils-doc, bison, build-essential, flex, gettext, ncurses-dev") do
package_name ["autoconf", "binutils-doc", "bison", "build-essential", "flex", "gettext", "ncurses-dev"]
action [:install]
default_guard_interpreter :default
declared_type :package
cookbook_name "build-essential"
end
System Info:
------------
chef_version=13.6.4
platform=ubuntu
platform_version=16.04
ruby=ruby 2.4.2p198 (2017-09-14 revision 59899) [x86_64-linux]
program_name=chef-client worker: ppid=1704;start=04:38:17;
executable=/opt/chef/bin/chef-client
================================================================================
Error executing action `install` on resource 'build_essential[install_packages]'
================================================================================
Mixlib::ShellOut::ShellCommandFailed
------------------------------------
apt_package[autoconf, binutils-doc, bison, build-essential, flex, gettext, ncurses-dev] (/tmp/kitchen/cache/cookbooks/build-essential/resources/build_essential.rb line 28) had an error: Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], but received '100'
---- Begin output of ["apt-get", "-q", "-y", "install", "autoconf=2.69-9", "binutils-doc=2.26.1-1ubuntu1~16.04.5", "bison=2:3.0.4.dfsg-1", "build-essential=12.1ubuntu2", "flex=2.6.0-11", "gettext=0.19.7-2ubuntu3", "ncurses-dev"] ----
STDOUT: Reading package lists...
Building dependency tree...
Reading state information...
The following additional packages will be installed:
automake autotools-dev dpkg-dev g++ g++-5 libalgorithm-diff-perl
libalgorithm-diff-xs-perl libalgorithm-merge-perl libasprintf-dev
libbison-dev libcroco3 libfl-dev libgettextpo-dev libgettextpo0
libstdc++-5-dev libunistring0 m4
Suggested packages:
autoconf-archive gnu-standards autoconf-doc libtool bison-doc debian-keyring
g++-multilib g++-5-multilib gcc-5-doc libstdc++6-5-dbg gettext-doc autopoint
ncurses-doc libstdc++-5-doc
The following NEW packages will be installed:
autoconf automake autotools-dev binutils-doc bison build-essential dpkg-dev
flex g++ g++-5 gettext libalgorithm-diff-perl libalgorithm-diff-xs-perl
libalgorithm-merge-perl libasprintf-dev libbison-dev libcroco3 libfl-dev
libgettextpo-dev libgettextpo0 libncurses5-dev libstdc++-5-dev libunistring0
m4
0 upgraded, 24 newly installed, 0 to remove and 0 not upgraded.
Need to get 15.0 MB of archives.
After this operation, 56.5 MB of additional disk space will be used.
Get:1 http://archive.ubuntu.com/ubuntu xenial/main amd64 m4 amd64 1.4.17-5 [195 kB]
Get:2 http://archive.ubuntu.com/ubuntu xenial/main amd64 libfl-dev amd64 2.6.0-11 [12.5 kB]
Get:3 http://archive.ubuntu.com/ubuntu xenial/main amd64 flex amd64 2.6.0-11 [290 kB]
Get:4 http://archive.ubuntu.com/ubuntu xenial/main amd64 libunistring0 amd64 0.9.3-5.2ubuntu1 [279 kB]
Get:5 http://archive.ubuntu.com/ubuntu xenial/main amd64 autoconf all 2.69-9 [321 kB]
Get:6 http://archive.ubuntu.com/ubuntu xenial/main amd64 autotools-dev all 20150820.1 [39.8 kB]
Get:7 http://archive.ubuntu.com/ubuntu xenial/main amd64 automake all 1:1.15-4ubuntu1 [510 kB]
Get:8 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 binutils-doc all 2.26.1-1ubuntu1~16.04.5 [601 kB]
Get:9 http://archive.ubuntu.com/ubuntu xenial/main amd64 libbison-dev amd64 2:3.0.4.dfsg-1 [338 kB]
Get:10 http://archive.ubuntu.com/ubuntu xenial/main amd64 bison amd64 2:3.0.4.dfsg-1 [259 kB]
Get:11 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 libstdc++-5-dev amd64 5.4.0-6ubuntu1~16.04.5 [1430 kB]
Get:12 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 g++-5 amd64 5.4.0-6ubuntu1~16.04.5 [8435 kB]
Get:13 http://archive.ubuntu.com/ubuntu xenial/main amd64 g++ amd64 4:5.3.1-1ubuntu1 [1504 B]
Ign:14 http://archive.ubuntu.com/ubuntu xenial-updates/main i386 dpkg-dev all 1.18.4ubuntu1.2
Get:15 http://archive.ubuntu.com/ubuntu xenial/main amd64 build-essential amd64 12.1ubuntu2 [4758 B]
Get:16 http://archive.ubuntu.com/ubuntu xenial/main amd64 libcroco3 amd64 0.6.11-1 [81.6 kB]
Get:17 http://archive.ubuntu.com/ubuntu xenial/main amd64 gettext amd64 0.19.7-2ubuntu3 [1076 kB]
Get:18 http://archive.ubuntu.com/ubuntu xenial/main amd64 libalgorithm-diff-perl all 1.19.03-1 [47.6 kB]
Get:19 http://archive.ubuntu.com/ubuntu xenial/main amd64 libalgorithm-diff-xs-perl amd64 0.04-4build1 [11.0 kB]
Get:20 http://archive.ubuntu.com/ubuntu xenial/main amd64 libalgorithm-merge-perl all 0.08-3 [12.0 kB]
Get:21 http://archive.ubuntu.com/ubuntu xenial/main amd64 libasprintf-dev amd64 0.19.7-2ubuntu3 [4734 B]
Get:22 http://archive.ubuntu.com/ubuntu xenial/main amd64 libgettextpo0 amd64 0.19.7-2ubuntu3 [125 kB]
Get:23 http://archive.ubuntu.com/ubuntu xenial/main amd64 libgettextpo-dev amd64 0.19.7-2ubuntu3 [141 kB]
Get:24 http://archive.ubuntu.com/ubuntu xenial/main amd64 libncurses5-dev amd64 6.0+20160213-1ubuntu1 [175 kB]
Err:14 http://archive.ubuntu.com/ubuntu xenial-updates/main i386 dpkg-dev all 1.18.4ubuntu1.2
404 Not Found [IP: 91.189.88.149 80]
Fetched 14.4 MB in 3s (3986 kB/s)
STDERR: E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/d/dpkg/dpkg-dev_1.18.4ubuntu1.2_all.deb 404 Not Found [IP: 91.189.88.149 80]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
---- End output of ["apt-get", "-q", "-y", "install", "autoconf=2.69-9", "binutils-doc=2.26.1-1ubuntu1~16.04.5", "bison=2:3.0.4.dfsg-1", "build-essential=12.1ubuntu2", "flex=2.6.0-11", "gettext=0.19.7-2ubuntu3", "ncurses-dev"] ----
Ran ["apt-get", "-q", "-y", "install", "autoconf=2.69-9", "binutils-doc=2.26.1-1ubuntu1~16.04.5", "bison=2:3.0.4.dfsg-1", "build-essential=12.1ubuntu2", "flex=2.6.0-11", "gettext=0.19.7-2ubuntu3", "ncurses-dev"] returned 100
Resource Declaration:
---------------------
# In /tmp/kitchen/cache/cookbooks/build-essential/recipes/default.rb
22: build_essential 'install_packages' do
23: compile_time node['build-essential']['compile_time']
24: end
Compiled Resource:
------------------
# Declared in /tmp/kitchen/cache/cookbooks/build-essential/recipes/default.rb:22:in `from_file'
build_essential("install_packages") do
action [:install]
default_guard_interpreter :default
declared_type :build_essential
cookbook_name "build-essential"
recipe_name "default"
compile_time false
end
System Info:
------------
chef_version=13.6.4
platform=ubuntu
platform_version=16.04
ruby=ruby 2.4.2p198 (2017-09-14 revision 59899) [x86_64-linux]
program_name=chef-client worker: ppid=1704;start=04:38:17;
executable=/opt/chef/bin/chef-client
Running handlers:
[2017-12-20T04:38:24+00:00] ERROR: Running exception handlers
[2017-12-20T04:38:24+00:00] ERROR: Running exception handlers
Running handlers complete
[2017-12-20T04:38:24+00:00] ERROR: Exception handlers complete
[2017-12-20T04:38:24+00:00] ERROR: Exception handlers complete
Chef Client failed. 0 resources updated in 06 seconds
[2017-12-20T04:38:24+00:00] FATAL: Stacktrace dumped to /tmp/kitchen/cache/chef-stacktrace.out
[2017-12-20T04:38:24+00:00] FATAL: Stacktrace dumped to /tmp/kitchen/cache/chef-stacktrace.out
[2017-12-20T04:38:24+00:00] FATAL: Please provide the contents of the stacktrace.out file if you file a bug report
[2017-12-20T04:38:24+00:00] FATAL: Please provide the contents of the stacktrace.out file if you file a bug report
[2017-12-20T04:38:24+00:00] ERROR: build_essential[install_packages] (build-essential::default line 22) had an error: Mixlib::ShellOut::ShellCommandFailed: apt_package[autoconf, binutils-doc, bison, build-essential, flex, gettext, ncurses-dev] (/tmp/kitchen/cache/cookbooks/build-essential/resources/build_essential.rb line 28) had an error: Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], but received '100'
---- Begin output of ["apt-get", "-q", "-y", "install", "autoconf=2.69-9", "binutils-doc=2.26.1-1ubuntu1~16.04.5", "bison=2:3.0.4.dfsg-1", "build-essential=12.1ubuntu2", "flex=2.6.0-11", "gettext=0.19.7-2ubuntu3", "ncurses-dev"] ----
STDOUT: Reading package lists...
Building dependency tree...
Reading state information...
The following additional packages will be installed:
automake autotools-dev dpkg-dev g++ g++-5 libalgorithm-diff-perl
libalgorithm-diff-xs-perl libalgorithm-merge-perl libasprintf-dev
libbison-dev libcroco3 libfl-dev libgettextpo-dev libgettextpo0
libstdc++-5-dev libunistring0 m4
Suggested packages:
autoconf-archive gnu-standards autoconf-doc libtool bison-doc debian-keyring
g++-multilib g++-5-multilib gcc-5-doc libstdc++6-5-dbg gettext-doc autopoint
ncurses-doc libstdc++-5-doc
The following NEW packages will be installed:
autoconf automake autotools-dev binutils-doc bison build-essential dpkg-dev
flex g++ g++-5 gettext libalgorithm-diff-perl libalgorithm-diff-xs-perl
libalgorithm-merge-perl libasprintf-dev libbison-dev libcroco3 libfl-dev
libgettextpo-dev libgettextpo0 libncurses5-dev libstdc++-5-dev libunistring0
m4
0 upgraded, 24 newly installed, 0 to remove and 0 not upgraded.
Need to get 15.0 MB of archives.
After this operation, 56.5 MB of additional disk space will be used.
Get:1 http://archive.ubuntu.com/ubuntu xenial/main amd64 m4 amd64 1.4.17-5 [195 kB]
Get:2 http://archive.ubuntu.com/ubuntu xenial/main amd64 libfl-dev amd64 2.6.0-11 [12.5 kB]
Get:3 http://archive.ubuntu.com/ubuntu xenial/main amd64 flex amd64 2.6.0-11 [290 kB]
Get:4 http://archive.ubuntu.com/ubuntu xenial/main amd64 libunistring0 amd64 0.9.3-5.2ubuntu1 [279 kB]
Get:5 http://archive.ubuntu.com/ubuntu xenial/main amd64 autoconf all 2.69-9 [321 kB]
Get:6 http://archive.ubuntu.com/ubuntu xenial/main amd64 autotools-dev all 20150820.1 [39.8 kB]
Get:7 http://archive.ubuntu.com/ubuntu xenial/main amd64 automake all 1:1.15-4ubuntu1 [510 kB]
Get:8 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 binutils-doc all 2.26.1-1ubuntu1~16.04.5 [601 kB]
Get:9 http://archive.ubuntu.com/ubuntu xenial/main amd64 libbison-dev amd64 2:3.0.4.dfsg-1 [338 kB]
Get:10 http://archive.ubuntu.com/ubuntu xenial/main amd64 bison amd64 2:3.0.4.dfsg-1 [259 kB]
Get:11 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 libstdc++-5-dev amd64 5.4.0-6ubuntu1~16.04.5 [1430 kB]
Get:12 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 g++-5 amd64 5.4.0-6ubuntu1~16.04.5 [8435 kB]
Get:13 http://archive.ubuntu.com/ubuntu xenial/main amd64 g++ amd64 4:5.3.1-1ubuntu1 [1504 B]
Ign:14 http://archive.ubuntu.com/ubuntu xenial-updates/main i386 dpkg-dev all 1.18.4ubuntu1.2
Get:15 http://archive.ubuntu.com/ubuntu xenial/main amd64 build-essential amd64 12.1ubuntu2 [4758 B]
Get:16 http://archive.ubuntu.com/ubuntu xenial/main amd64 libcroco3 amd64 0.6.11-1 [81.6 kB]
Get:17 http://archive.ubuntu.com/ubuntu xenial/main amd64 gettext amd64 0.19.7-2ubuntu3 [1076 kB]
Get:18 http://archive.ubuntu.com/ubuntu xenial/main amd64 libalgorithm-diff-perl all 1.19.03-1 [47.6 kB]
Get:19 http://archive.ubuntu.com/ubuntu xenial/main amd64 libalgorithm-diff-xs-perl amd64 0.04-4build1 [11.0 kB]
Get:20 http://archive.ubuntu.com/ubuntu xenial/main amd64 libalgorithm-merge-perl all 0.08-3 [12.0 kB]
Get:21 http://archive.ubuntu.com/ubuntu xenial/main amd64 libasprintf-dev amd64 0.19.7-2ubuntu3 [4734 B]
Get:22 http://archive.ubuntu.com/ubuntu xenial/main amd64 libgettextpo0 amd64 0.19.7-2ubuntu3 [125 kB]
Get:23 http://archive.ubuntu.com/ubuntu xenial/main amd64 libgettextpo-dev amd64 0.19.7-2ubuntu3 [141 kB]
Get:24 http://archive.ubuntu.com/ubuntu xenial/main amd64 libncurses5-dev amd64 6.0+20160213-1ubuntu1 [175 kB]
Err:14 http://archive.ubuntu.com/ubuntu xenial-updates/main i386 dpkg-dev all 1.18.4ubuntu1.2
404 Not Found [IP: 91.189.88.149 80]
Fetched 14.4 MB in 3s (3986 kB/s)
STDERR: E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/d/dpkg/dpkg-dev_1.18.4ubuntu1.2_all.deb 404 Not Found [IP: 91.189.88.149 80]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
---- End output of ["apt-get", "-q", "-y", "install", "autoconf=2.69-9", "binutils-doc=2.26.1-1ubuntu1~16.04.5", "bison=2:3.0.4.dfsg-1", "build-essential=12.1ubuntu2", "flex=2.6.0-11", "gettext=0.19.7-2ubuntu3", "ncurses-dev"] ----
Ran ["apt-get", "-q", "-y", "install", "autoconf=2.69-9", "binutils-doc=2.26.1-1ubuntu1~16.04.5", "bison=2:3.0.4.dfsg-1", "build-essential=12.1ubuntu2", "flex=2.6.0-11", "gettext=0.19.7-2ubuntu3", "ncurses-dev"] returned 100
[2017-12-20T04:38:24+00:00] ERROR: build_essential[install_packages] (build-essential::default line 22) had an error: Mixlib::ShellOut::ShellCommandFailed: apt_package[autoconf, binutils-doc, bison, build-essential, flex, gettext, ncurses-dev] (/tmp/kitchen/cache/cookbooks/build-essential/resources/build_essential.rb line 28) had an error: Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], but received '100'
---- Begin output of ["apt-get", "-q", "-y", "install", "autoconf=2.69-9", "binutils-doc=2.26.1-1ubuntu1~16.04.5", "bison=2:3.0.4.dfsg-1", "build-essential=12.1ubuntu2", "flex=2.6.0-11", "gettext=0.19.7-2ubuntu3", "ncurses-dev"] ----
STDOUT: Reading package lists...
Building dependency tree...
Reading state information...
The following additional packages will be installed:
automake autotools-dev dpkg-dev g++ g++-5 libalgorithm-diff-perl
libalgorithm-diff-xs-perl libalgorithm-merge-perl libasprintf-dev
libbison-dev libcroco3 libfl-dev libgettextpo-dev libgettextpo0
libstdc++-5-dev libunistring0 m4
Suggested packages:
autoconf-archive gnu-standards autoconf-doc libtool bison-doc debian-keyring
g++-multilib g++-5-multilib gcc-5-doc libstdc++6-5-dbg gettext-doc autopoint
ncurses-doc libstdc++-5-doc
The following NEW packages will be installed:
autoconf automake autotools-dev binutils-doc bison build-essential dpkg-dev
flex g++ g++-5 gettext libalgorithm-diff-perl libalgorithm-diff-xs-perl
libalgorithm-merge-perl libasprintf-dev libbison-dev libcroco3 libfl-dev
libgettextpo-dev libgettextpo0 libncurses5-dev libstdc++-5-dev libunistring0
m4
0 upgraded, 24 newly installed, 0 to remove and 0 not upgraded.
Need to get 15.0 MB of archives.
After this operation, 56.5 MB of additional disk space will be used.
Get:1 http://archive.ubuntu.com/ubuntu xenial/main amd64 m4 amd64 1.4.17-5 [195 kB]
Get:2 http://archive.ubuntu.com/ubuntu xenial/main amd64 libfl-dev amd64 2.6.0-11 [12.5 kB]
Get:3 http://archive.ubuntu.com/ubuntu xenial/main amd64 flex amd64 2.6.0-11 [290 kB]
Get:4 http://archive.ubuntu.com/ubuntu xenial/main amd64 libunistring0 amd64 0.9.3-5.2ubuntu1 [279 kB]
Get:5 http://archive.ubuntu.com/ubuntu xenial/main amd64 autoconf all 2.69-9 [321 kB]
Get:6 http://archive.ubuntu.com/ubuntu xenial/main amd64 autotools-dev all 20150820.1 [39.8 kB]
Get:7 http://archive.ubuntu.com/ubuntu xenial/main amd64 automake all 1:1.15-4ubuntu1 [510 kB]
Get:8 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 binutils-doc all 2.26.1-1ubuntu1~16.04.5 [601 kB]
Get:9 http://archive.ubuntu.com/ubuntu xenial/main amd64 libbison-dev amd64 2:3.0.4.dfsg-1 [338 kB]
Get:10 http://archive.ubuntu.com/ubuntu xenial/main amd64 bison amd64 2:3.0.4.dfsg-1 [259 kB]
Get:11 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 libstdc++-5-dev amd64 5.4.0-6ubuntu1~16.04.5 [1430 kB]
Get:12 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 g++-5 amd64 5.4.0-6ubuntu1~16.04.5 [8435 kB]
Get:13 http://archive.ubuntu.com/ubuntu xenial/main amd64 g++ amd64 4:5.3.1-1ubuntu1 [1504 B]
Ign:14 http://archive.ubuntu.com/ubuntu xenial-updates/main i386 dpkg-dev all 1.18.4ubuntu1.2
Get:15 http://archive.ubuntu.com/ubuntu xenial/main amd64 build-essential amd64 12.1ubuntu2 [4758 B]
Get:16 http://archive.ubuntu.com/ubuntu xenial/main amd64 libcroco3 amd64 0.6.11-1 [81.6 kB]
Get:17 http://archive.ubuntu.com/ubuntu xenial/main amd64 gettext amd64 0.19.7-2ubuntu3 [1076 kB]
Get:18 http://archive.ubuntu.com/ubuntu xenial/main amd64 libalgorithm-diff-perl all 1.19.03-1 [47.6 kB]
Get:19 http://archive.ubuntu.com/ubuntu xenial/main amd64 libalgorithm-diff-xs-perl amd64 0.04-4build1 [11.0 kB]
Get:20 http://archive.ubuntu.com/ubuntu xenial/main amd64 libalgorithm-merge-perl all 0.08-3 [12.0 kB]
Get:21 http://archive.ubuntu.com/ubuntu xenial/main amd64 libasprintf-dev amd64 0.19.7-2ubuntu3 [4734 B]
Get:22 http://archive.ubuntu.com/ubuntu xenial/main amd64 libgettextpo0 amd64 0.19.7-2ubuntu3 [125 kB]
Get:23 http://archive.ubuntu.com/ubuntu xenial/main amd64 libgettextpo-dev amd64 0.19.7-2ubuntu3 [141 kB]
Get:24 http://archive.ubuntu.com/ubuntu xenial/main amd64 libncurses5-dev amd64 6.0+20160213-1ubuntu1 [175 kB]
Err:14 http://archive.ubuntu.com/ubuntu xenial-updates/main i386 dpkg-dev all 1.18.4ubuntu1.2
404 Not Found [IP: 91.189.88.149 80]
Fetched 14.4 MB in 3s (3986 kB/s)
STDERR: E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/d/dpkg/dpkg-dev_1.18.4ubuntu1.2_all.deb 404 Not Found [IP: 91.189.88.149 80]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
---- End output of ["apt-get", "-q", "-y", "install", "autoconf=2.69-9", "binutils-doc=2.26.1-1ubuntu1~16.04.5", "bison=2:3.0.4.dfsg-1", "build-essential=12.1ubuntu2", "flex=2.6.0-11", "gettext=0.19.7-2ubuntu3", "ncurses-dev"] ----
Ran ["apt-get", "-q", "-y", "install", "autoconf=2.69-9", "binutils-doc=2.26.1-1ubuntu1~16.04.5", "bison=2:3.0.4.dfsg-1", "build-essential=12.1ubuntu2", "flex=2.6.0-11", "gettext=0.19.7-2ubuntu3", "ncurses-dev"] returned 100
[2017-12-20T04:38:24+00:00] FATAL: Chef::Exceptions::ChildConvergeError: Chef run process exited unsuccessfully (exit code 1)
[2017-12-20T04:38:24+00:00] FATAL: Chef::Exceptions::ChildConvergeError: Chef run process exited unsuccessfully (exit code 1)