udacity / devops-intro-project

Project files for Intro to DevOps class
287 stars 3.56k forks source link

Broken Jenkins install on AWS #8

Open baudtack opened 8 years ago

baudtack commented 8 years ago

Trying to run the jenkins packer script results in the following error.

% packer build --only=amazon-ebs control-server.json amazon-ebs output will be in this color.

==> amazon-ebs: Prevalidating AMI Name... ==> amazon-ebs: Inspecting the source AMI... ==> amazon-ebs: Creating temporary keypair: packer 56a9b79e-8b3c-9630-1fed-3c57cf6cf0c4 ==> amazon-ebs: Creating temporary security group for this instance... ==> amazon-ebs: Authorizing access to port 22 the temporary security group... ==> amazon-ebs: Launching a source AWS instance... amazon-ebs: Instance ID: i-df522056 ==> amazon-ebs: Waiting for instance (i-df522056) to become ready... ==> amazon-ebs: Waiting for SSH to become available... ==> amazon-ebs: Connected to SSH! ==> amazon-ebs: Provisioning with shell script: scripts/update.sh amazon-ebs: Get:1 http://security.ubuntu.com trusty-security InRelease [64.4 kB] amazon-ebs: Ign http://archive.ubuntu.com trusty InRelease amazon-ebs: Get:2 http://archive.ubuntu.com trusty-updates InRelease [64.4 kB] amazon-ebs: Hit http://archive.ubuntu.com trusty Release.gpg amazon-ebs: Hit http://archive.ubuntu.com trusty Release amazon-ebs: Get:3 http://security.ubuntu.com trusty-security/main amd64 Packages [410 kB] amazon-ebs: Get:4 http://archive.ubuntu.com trusty-updates/main amd64 Packages [689 kB] amazon-ebs: Get:5 http://archive.ubuntu.com trusty-updates/restricted amd64 Packages [15.9 kB] amazon-ebs: Get:6 http://archive.ubuntu.com trusty-updates/universe amd64 Packages [334 kB] amazon-ebs: Get:7 http://archive.ubuntu.com trusty-updates/multiverse amd64 Packages [13.0 kB] amazon-ebs: Get:8 http://archive.ubuntu.com trusty-updates/main Translation-en [348 kB] amazon-ebs: Get:9 http://archive.ubuntu.com trusty-updates/multiverse Translation-en [6832 B] amazon-ebs: Get:10 http://archive.ubuntu.com trusty-updates/restricted Translation-en [3699 B] amazon-ebs: Get:11 http://archive.ubuntu.com trusty-updates/universe Translation-en [176 kB] amazon-ebs: Hit http://archive.ubuntu.com trusty/main amd64 Packages amazon-ebs: Hit http://archive.ubuntu.com trusty/restricted amd64 Packages amazon-ebs: Hit http://archive.ubuntu.com trusty/universe amd64 Packages amazon-ebs: Hit http://archive.ubuntu.com trusty/multiverse amd64 Packages amazon-ebs: Hit http://archive.ubuntu.com trusty/main Translation-en amazon-ebs: Hit http://archive.ubuntu.com trusty/multiverse Translation-en amazon-ebs: Hit http://archive.ubuntu.com trusty/restricted Translation-en amazon-ebs: Hit http://archive.ubuntu.com trusty/universe Translation-en amazon-ebs: Get:12 http://security.ubuntu.com trusty-security/restricted amd64 Packages [13.0 kB] amazon-ebs: Get:13 http://security.ubuntu.com trusty-security/universe amd64 Packages [123 kB] amazon-ebs: Get:14 http://security.ubuntu.com trusty-security/multiverse amd64 Packages [4798 B] amazon-ebs: Get:15 http://security.ubuntu.com trusty-security/main Translation-en [225 kB] amazon-ebs: Get:16 http://security.ubuntu.com trusty-security/multiverse Translation-en [2437 B] amazon-ebs: Get:17 http://security.ubuntu.com trusty-security/restricted Translation-en [3206 B] amazon-ebs: Get:18 http://security.ubuntu.com trusty-security/universe Translation-en [72.1 kB] amazon-ebs: Fetched 2569 kB in 17s (144 kB/s) amazon-ebs: Reading package lists... amazon-ebs: Reading package lists... amazon-ebs: Building dependency tree... amazon-ebs: Reading state information... amazon-ebs: The following packages have been kept back: amazon-ebs: linux-headers-generic linux-headers-virtual linux-image-virtual amazon-ebs: linux-virtual amazon-ebs: The following packages will be upgraded: amazon-ebs: apport bind9-host curl dnsutils dpkg fuse grub-common grub-pc grub-pc-bin amazon-ebs: grub2-common isc-dhcp-client isc-dhcp-common krb5-locales libbind9-90 amazon-ebs: libcurl3 libcurl3-gnutls libdns100 libexpat1 libfreetype6 libfuse2 amazon-ebs: libgnutls-openssl27 libgnutls26 libgssapi-krb5-2 libicu52 libisc95 amazon-ebs: libisccc90 libisccfg90 libk5crypto3 libkrb5-3 libkrb5support0 libldap-2.4-2 amazon-ebs: liblwres90 libpcre3 libpng12-0 libpython2.7 libpython2.7-minimal amazon-ebs: libpython2.7-stdlib libpython3.4-minimal libpython3.4-stdlib libsqlite3-0 amazon-ebs: libssl1.0.0 libtasn1-6 libxext6 libxml2 linux-headers-3.13.0-49 amazon-ebs: linux-headers-3.13.0-49-generic linux-image-3.13.0-49-generic ntpdate amazon-ebs: openssh-client openssh-server openssh-sftp-server openssl patch pollinate amazon-ebs: ppp python2.7 python2.7-minimal python3-apport python3-problem-report amazon-ebs: python3.4 python3.4-minimal rsync tcpdump tzdata unattended-upgrades amazon-ebs: 65 upgraded, 0 newly installed, 0 to remove and 4 not upgraded. amazon-ebs: Need to get 54.6 MB of archives. amazon-ebs: After this operation, 28.7 kB of additional disk space will be used. amazon-ebs: Get:1 http://security.ubuntu.com/ubuntu/ trusty-security/main dpkg amd64 1.17.5ubuntu5.5 [1953 kB] amazon-ebs: Get:2 http://security.ubuntu.com/ubuntu/ trusty-security/main libpcre3 amd64 1:8.31-2ubuntu2.1 [144 kB] amazon-ebs: Get:3 http://security.ubuntu.com/ubuntu/ trusty-security/main libexpat1 amd64 2.1.0-4ubuntu1.1 [71.1 kB] amazon-ebs: Get:4 http://security.ubuntu.com/ubuntu/ trusty-security/main libtasn1-6 amd64 3.4-3ubuntu0.3 [43.6 kB] amazon-ebs: Get:5 http://security.ubuntu.com/ubuntu/ trusty-security/main libgnutls-openssl27 amd64 2.12.23-12ubuntu2.4 [18.3 kB] amazon-ebs: Get:6 http://security.ubuntu.com/ubuntu/ trusty-security/main libgnutls26 amd64 2.12.23-12ubuntu2.4 [393 kB] amazon-ebs: Get:7 http://security.ubuntu.com/ubuntu/ trusty-security/main python3.4 amd64 3.4.0-2ubuntu1.1 [163 kB] amazon-ebs: Get:8 http://security.ubuntu.com/ubuntu/ trusty-security/main python3.4-minimal amd64 3.4.0-2ubuntu1.1 [1274 kB] amazon-ebs: Get:9 http://security.ubuntu.com/ubuntu/ trusty-security/main libsqlite3-0 amd64 3.8.2-1ubuntu2.1 [342 kB] amazon-ebs: Get:10 http://security.ubuntu.com/ubuntu/ trusty-security/main libpython3.4-stdlib amd64 3.4.0-2ubuntu1.1 [2014 kB] amazon-ebs: Get:11 http://security.ubuntu.com/ubuntu/ trusty-security/main libssl1.0.0 amd64 1.0.1f-1ubuntu2.16 [827 kB] amazon-ebs: Get:12 http://security.ubuntu.com/ubuntu/ trusty-security/main libpython3.4-minimal amd64 3.4.0-2ubuntu1.1 [443 kB] amazon-ebs: Get:13 http://security.ubuntu.com/ubuntu/ trusty-security/main ntpdate amd64 1:4.2.6.p5+dfsg-3ubuntu2.14.04.5 [57.0 kB] amazon-ebs: Get:14 http://security.ubuntu.com/ubuntu/ trusty-security/main libpng12-0 amd64 1.2.50-1ubuntu2.14.04.2 [118 kB] amazon-ebs: Get:15 http://security.ubuntu.com/ubuntu/ trusty-security/main libk5crypto3 amd64 1.12+dfsg-2ubuntu5.2 [79.4 kB] amazon-ebs: Get:16 http://security.ubuntu.com/ubuntu/ trusty-security/main libgssapi-krb5-2 amd64 1.12+dfsg-2ubuntu5.2 [114 kB] amazon-ebs: Get:17 http://security.ubuntu.com/ubuntu/ trusty-security/main libkrb5-3 amd64 1.12+dfsg-2ubuntu5.2 [262 kB] amazon-ebs: Get:18 http://security.ubuntu.com/ubuntu/ trusty-security/main libkrb5support0 amd64 1.12+dfsg-2ubuntu5.2 [30.7 kB] amazon-ebs: Get:19 http://security.ubuntu.com/ubuntu/ trusty-security/main libldap-2.4-2 amd64 2.4.31-1+nmu2ubuntu8.2 [153 kB] amazon-ebs: Get:20 http://security.ubuntu.com/ubuntu/ trusty-security/main libcurl3-gnutls amd64 7.35.0-1ubuntu2.6 [165 kB] amazon-ebs: Get:21 http://security.ubuntu.com/ubuntu/ trusty-security/main fuse amd64 2.9.2-4ubuntu4.14.04.1 [25.1 kB] amazon-ebs: Get:22 http://security.ubuntu.com/ubuntu/ trusty-security/main libfuse2 amd64 2.9.2-4ubuntu4.14.04.1 [87.4 kB] amazon-ebs: Get:23 http://security.ubuntu.com/ubuntu/ trusty-security/main libxext6 amd64 2:1.3.2-1ubuntu0.0.14.04.1 [28.8 kB] amazon-ebs: Get:24 http://security.ubuntu.com/ubuntu/ trusty-security/main libxml2 amd64 2.9.1+dfsg1-3ubuntu4.7 [571 kB] amazon-ebs: Get:25 http://security.ubuntu.com/ubuntu/ trusty-security/main curl amd64 7.35.0-1ubuntu2.6 [123 kB] amazon-ebs: Get:26 http://security.ubuntu.com/ubuntu/ trusty-security/main libcurl3 amd64 7.35.0-1ubuntu2.6 [172 kB] amazon-ebs: Get:27 http://security.ubuntu.com/ubuntu/ trusty-security/main libfreetype6 amd64 2.5.2-1ubuntu2.5 [304 kB] amazon-ebs: Get:28 http://security.ubuntu.com/ubuntu/ trusty-security/main libicu52 amd64 52.1-3ubuntu0.4 [6752 kB] amazon-ebs: Get:29 http://security.ubuntu.com/ubuntu/ trusty-security/main python2.7 amd64 2.7.6-8ubuntu0.2 [196 kB] amazon-ebs: Get:30 http://security.ubuntu.com/ubuntu/ trusty-security/main libpython2.7 amd64 2.7.6-8ubuntu0.2 [1039 kB] amazon-ebs: Get:31 http://security.ubuntu.com/ubuntu/ trusty-security/main libpython2.7-stdlib amd64 2.7.6-8ubuntu0.2 [1869 kB] amazon-ebs: Get:32 http://security.ubuntu.com/ubuntu/ trusty-security/main python2.7-minimal amd64 2.7.6-8ubuntu0.2 [1185 kB] amazon-ebs: Get:33 http://security.ubuntu.com/ubuntu/ trusty-security/main libpython2.7-minimal amd64 2.7.6-8ubuntu0.2 [308 kB] amazon-ebs: Get:34 http://security.ubuntu.com/ubuntu/ trusty-security/main linux-image-3.13.0-49-generic amd64 3.13.0-49.83 [15.1 MB] amazon-ebs: Get:35 http://security.ubuntu.com/ubuntu/ trusty-security/main tzdata all 2015g-0ubuntu0.14.04 [164 kB] amazon-ebs: Get:36 http://security.ubuntu.com/ubuntu/ trusty-security/main isc-dhcp-client amd64 4.2.4-7ubuntu12.4 [640 kB] amazon-ebs: Get:37 http://security.ubuntu.com/ubuntu/ trusty-security/main isc-dhcp-common amd64 4.2.4-7ubuntu12.4 [708 kB] amazon-ebs: Get:38 http://security.ubuntu.com/ubuntu/ trusty-security/main bind9-host amd64 1:9.9.5.dfsg-3ubuntu0.7 [46.3 kB] amazon-ebs: Get:39 http://security.ubuntu.com/ubuntu/ trusty-security/main dnsutils amd64 1:9.9.5.dfsg-3ubuntu0.7 [96.9 kB] amazon-ebs: Get:40 http://security.ubuntu.com/ubuntu/ trusty-security/main libisc95 amd64 1:9.9.5.dfsg-3ubuntu0.7 [148 kB] amazon-ebs: Get:41 http://security.ubuntu.com/ubuntu/ trusty-security/main libdns100 amd64 1:9.9.5.dfsg-3ubuntu0.7 [645 kB] amazon-ebs: Get:42 http://security.ubuntu.com/ubuntu/ trusty-security/main libisccc90 amd64 1:9.9.5.dfsg-3ubuntu0.7 [15.7 kB] amazon-ebs: Get:43 http://security.ubuntu.com/ubuntu/ trusty-security/main libisccfg90 amd64 1:9.9.5.dfsg-3ubuntu0.7 [36.2 kB] amazon-ebs: Get:44 http://security.ubuntu.com/ubuntu/ trusty-security/main liblwres90 amd64 1:9.9.5.dfsg-3ubuntu0.7 [32.8 kB] amazon-ebs: Get:45 http://security.ubuntu.com/ubuntu/ trusty-security/main libbind9-90 amd64 1:9.9.5.dfsg-3ubuntu0.7 [22.1 kB] amazon-ebs: Get:46 http://security.ubuntu.com/ubuntu/ trusty-security/main krb5-locales all 1.12+dfsg-2ubuntu5.2 [13.6 kB] amazon-ebs: Get:47 http://security.ubuntu.com/ubuntu/ trusty-security/main openssh-sftp-server amd64 1:6.6p1-2ubuntu2.4 [34.1 kB] amazon-ebs: Get:48 http://security.ubuntu.com/ubuntu/ trusty-security/main openssh-server amd64 1:6.6p1-2ubuntu2.4 [320 kB] amazon-ebs: Get:49 http://security.ubuntu.com/ubuntu/ trusty-security/main openssh-client amd64 1:6.6p1-2ubuntu2.4 [563 kB] amazon-ebs: Get:50 http://security.ubuntu.com/ubuntu/ trusty-security/main openssl amd64 1.0.1f-1ubuntu2.16 [488 kB] amazon-ebs: Get:51 http://security.ubuntu.com/ubuntu/ trusty-security/main ppp amd64 2.4.5-5.1ubuntu2.2 [311 kB] amazon-ebs: Get:52 http://security.ubuntu.com/ubuntu/ trusty-security/main rsync amd64 3.1.0-2ubuntu0.2 [284 kB] amazon-ebs: Get:53 http://security.ubuntu.com/ubuntu/ trusty-security/main tcpdump amd64 4.5.1-2ubuntu1.2 [355 kB] amazon-ebs: Get:54 http://security.ubuntu.com/ubuntu/ trusty-security/main grub-pc amd64 2.02~beta2-9ubuntu1.6 [173 kB] amazon-ebs: Get:55 http://security.ubuntu.com/ubuntu/ trusty-security/main grub-pc-bin amd64 2.02~beta2-9ubuntu1.6 [881 kB] amazon-ebs: Get:56 http://security.ubuntu.com/ubuntu/ trusty-security/main grub2-common amd64 2.02~beta2-9ubuntu1.6 [501 kB] amazon-ebs: Get:57 http://security.ubuntu.com/ubuntu/ trusty-security/main grub-common amd64 2.02~beta2-9ubuntu1.6 [1677 kB] amazon-ebs: Get:58 http://security.ubuntu.com/ubuntu/ trusty-security/main python3-problem-report all 2.14.1-0ubuntu3.18 [9926 B] amazon-ebs: Get:59 http://security.ubuntu.com/ubuntu/ trusty-security/main python3-apport all 2.14.1-0ubuntu3.18 [75.2 kB] amazon-ebs: Get:60 http://security.ubuntu.com/ubuntu/ trusty-security/main apport all 2.14.1-0ubuntu3.18 [182 kB] amazon-ebs: Get:61 http://security.ubuntu.com/ubuntu/ trusty-security/main linux-headers-3.13.0-49 all 3.13.0-49.83 [8878 kB] amazon-ebs: Get:62 http://security.ubuntu.com/ubuntu/ trusty-security/main linux-headers-3.13.0-49-generic amd64 3.13.0-49.83 [699 kB] amazon-ebs: Get:63 http://security.ubuntu.com/ubuntu/ trusty-security/main patch amd64 2.7.1-4ubuntu2.3 [86.4 kB] amazon-ebs: Get:64 http://security.ubuntu.com/ubuntu/ trusty-security/main pollinate all 4.7-0ubuntu1.4 [14.5 kB] amazon-ebs: Get:65 http://security.ubuntu.com/ubuntu/ trusty-security/main unattended-upgrades all 0.82.1ubuntu2.3 [25.5 kB] amazon-ebs: debconf: unable to initialize frontend: Dialog amazon-ebs: debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.) amazon-ebs: debconf: falling back to frontend: Readline amazon-ebs: debconf: unable to initialize frontend: Readline amazon-ebs: debconf: (This frontend requires a controlling tty.) amazon-ebs: debconf: falling back to frontend: Teletype amazon-ebs: dpkg-preconfigure: unable to re-open stdin: amazon-ebs: Fetched 54.6 MB in 4min 11s (218 kB/s) amazon-ebs: (Reading database ... 51122 files and directories currently installed.) amazon-ebs: Preparing to unpack .../dpkg_1.17.5ubuntu5.5_amd64.deb ... amazon-ebs: Unpacking dpkg (1.17.5ubuntu5.5) over (1.17.5ubuntu5.3) ... amazon-ebs: Processing triggers for man-db (2.6.7.1-1ubuntu1) ... amazon-ebs: Setting up dpkg (1.17.5ubuntu5.5) ... amazon-ebs: (Reading database ... 51122 files and directories currently installed.) amazon-ebs: Preparing to unpack .../libpcre3_1%3a8.31-2ubuntu2.1_amd64.deb ... amazon-ebs: Unpacking libpcre3:amd64 (1:8.31-2ubuntu2.1) over (1:8.31-2ubuntu2) ... amazon-ebs: Processing triggers for man-db (2.6.7.1-1ubuntu1) ... amazon-ebs: Setting up libpcre3:amd64 (1:8.31-2ubuntu2.1) ... amazon-ebs: Processing triggers for libc-bin (2.19-0ubuntu6.6) ... amazon-ebs: (Reading database ... 51122 files and directories currently installed.) amazon-ebs: Preparing to unpack .../libexpat1_2.1.0-4ubuntu1.1_amd64.deb ... amazon-ebs: Unpacking libexpat1:amd64 (2.1.0-4ubuntu1.1) over (2.1.0-4ubuntu1) ... amazon-ebs: Preparing to unpack .../libtasn1-6_3.4-3ubuntu0.3_amd64.deb ... amazon-ebs: Unpacking libtasn1-6:amd64 (3.4-3ubuntu0.3) over (3.4-3ubuntu0.2) ... amazon-ebs: Preparing to unpack .../libgnutls-openssl27_2.12.23-12ubuntu2.4_amd64.deb ... amazon-ebs: Unpacking libgnutls-openssl27:amd64 (2.12.23-12ubuntu2.4) over (2.12.23-12ubuntu2.2) ... amazon-ebs: Preparing to unpack .../libgnutls26_2.12.23-12ubuntu2.4_amd64.deb ... amazon-ebs: Unpacking libgnutls26:amd64 (2.12.23-12ubuntu2.4) over (2.12.23-12ubuntu2.2) ... amazon-ebs: Preparing to unpack .../python3.4_3.4.0-2ubuntu1.1_amd64.deb ... amazon-ebs: Unpacking python3.4 (3.4.0-2ubuntu1.1) over (3.4.0-2ubuntu1) ... amazon-ebs: Preparing to unpack .../python3.4-minimal_3.4.0-2ubuntu1.1_amd64.deb ... amazon-ebs: Unpacking python3.4-minimal (3.4.0-2ubuntu1.1) over (3.4.0-2ubuntu1) ... amazon-ebs: Preparing to unpack .../libsqlite3-0_3.8.2-1ubuntu2.1_amd64.deb ... amazon-ebs: Unpacking libsqlite3-0:amd64 (3.8.2-1ubuntu2.1) over (3.8.2-1ubuntu2) ... amazon-ebs: Preparing to unpack .../libpython3.4-stdlib_3.4.0-2ubuntu1.1_amd64.deb ... amazon-ebs: Unpacking libpython3.4-stdlib:amd64 (3.4.0-2ubuntu1.1) over (3.4.0-2ubuntu1) ... amazon-ebs: Preparing to unpack .../libssl1.0.0_1.0.1f-1ubuntu2.16_amd64.deb ... amazon-ebs: Unpacking libssl1.0.0:amd64 (1.0.1f-1ubuntu2.16) over (1.0.1f-1ubuntu2.11) ... amazon-ebs: Preparing to unpack .../libpython3.4-minimal_3.4.0-2ubuntu1.1_amd64.deb ... amazon-ebs: Unpacking libpython3.4-minimal:amd64 (3.4.0-2ubuntu1.1) over (3.4.0-2ubuntu1) ... amazon-ebs: Preparing to unpack .../ntpdate_1%3a4.2.6.p5+dfsg-3ubuntu2.14.04.5_amd64.deb ... amazon-ebs: Unpacking ntpdate (1:4.2.6.p5+dfsg-3ubuntu2.14.04.5) over (1:4.2.6.p5+dfsg-3ubuntu2.14.04.2) ... amazon-ebs: Preparing to unpack .../libpng12-0_1.2.50-1ubuntu2.14.04.2_amd64.deb ... amazon-ebs: Unpacking libpng12-0:amd64 (1.2.50-1ubuntu2.14.04.2) over (1.2.50-1ubuntu2) ... amazon-ebs: Preparing to unpack .../libk5crypto3_1.12+dfsg-2ubuntu5.2_amd64.deb ... amazon-ebs: Unpacking libk5crypto3:amd64 (1.12+dfsg-2ubuntu5.2) over (1.12+dfsg-2ubuntu5.1) ... amazon-ebs: Preparing to unpack .../libgssapi-krb5-2_1.12+dfsg-2ubuntu5.2_amd64.deb ... amazon-ebs: Unpacking libgssapi-krb5-2:amd64 (1.12+dfsg-2ubuntu5.2) over (1.12+dfsg-2ubuntu5.1) ... amazon-ebs: Preparing to unpack .../libkrb5-3_1.12+dfsg-2ubuntu5.2_amd64.deb ... amazon-ebs: Unpacking libkrb5-3:amd64 (1.12+dfsg-2ubuntu5.2) over (1.12+dfsg-2ubuntu5.1) ... amazon-ebs: Preparing to unpack .../libkrb5support0_1.12+dfsg-2ubuntu5.2_amd64.deb ... amazon-ebs: Unpacking libkrb5support0:amd64 (1.12+dfsg-2ubuntu5.2) over (1.12+dfsg-2ubuntu5.1) ... amazon-ebs: Preparing to unpack .../libldap-2.4-2_2.4.31-1+nmu2ubuntu8.2_amd64.deb ... amazon-ebs: Unpacking libldap-2.4-2:amd64 (2.4.31-1+nmu2ubuntu8.2) over (2.4.31-1+nmu2ubuntu8) ... amazon-ebs: Preparing to unpack .../libcurl3-gnutls_7.35.0-1ubuntu2.6_amd64.deb ... amazon-ebs: Unpacking libcurl3-gnutls:amd64 (7.35.0-1ubuntu2.6) over (7.35.0-1ubuntu2.3) ... amazon-ebs: Preparing to unpack .../fuse_2.9.2-4ubuntu4.14.04.1_amd64.deb ... amazon-ebs: Unpacking fuse (2.9.2-4ubuntu4.14.04.1) over (2.9.2-4ubuntu4) ... amazon-ebs: Preparing to unpack .../libfuse2_2.9.2-4ubuntu4.14.04.1_amd64.deb ... amazon-ebs: Unpacking libfuse2:amd64 (2.9.2-4ubuntu4.14.04.1) over (2.9.2-4ubuntu4) ... amazon-ebs: Preparing to unpack .../libxext6_2%3a1.3.2-1ubuntu0.0.14.04.1_amd64.deb ... amazon-ebs: Unpacking libxext6:amd64 (2:1.3.2-1ubuntu0.0.14.04.1) over (2:1.3.2-1) ... amazon-ebs: Preparing to unpack .../libxml2_2.9.1+dfsg1-3ubuntu4.7_amd64.deb ... amazon-ebs: Unpacking libxml2:amd64 (2.9.1+dfsg1-3ubuntu4.7) over (2.9.1+dfsg1-3ubuntu4.4) ... amazon-ebs: Preparing to unpack .../curl_7.35.0-1ubuntu2.6_amd64.deb ... amazon-ebs: Unpacking curl (7.35.0-1ubuntu2.6) over (7.35.0-1ubuntu2.3) ... amazon-ebs: Preparing to unpack .../libcurl3_7.35.0-1ubuntu2.6_amd64.deb ... amazon-ebs: Unpacking libcurl3:amd64 (7.35.0-1ubuntu2.6) over (7.35.0-1ubuntu2.3) ... amazon-ebs: Preparing to unpack .../libfreetype6_2.5.2-1ubuntu2.5_amd64.deb ... amazon-ebs: Unpacking libfreetype6:amd64 (2.5.2-1ubuntu2.5) over (2.5.2-1ubuntu2.4) ... amazon-ebs: Preparing to unpack .../libicu52_52.1-3ubuntu0.4_amd64.deb ... amazon-ebs: Unpacking libicu52:amd64 (52.1-3ubuntu0.4) over (52.1-3ubuntu0.2) ... amazon-ebs: Preparing to unpack .../python2.7_2.7.6-8ubuntu0.2_amd64.deb ... amazon-ebs: Unpacking python2.7 (2.7.6-8ubuntu0.2) over (2.7.6-8) ... amazon-ebs: Preparing to unpack .../libpython2.7_2.7.6-8ubuntu0.2_amd64.deb ... amazon-ebs: Unpacking libpython2.7:amd64 (2.7.6-8ubuntu0.2) over (2.7.6-8) ... amazon-ebs: Preparing to unpack .../libpython2.7-stdlib_2.7.6-8ubuntu0.2_amd64.deb ... amazon-ebs: Unpacking libpython2.7-stdlib:amd64 (2.7.6-8ubuntu0.2) over (2.7.6-8) ... amazon-ebs: Preparing to unpack .../python2.7-minimal_2.7.6-8ubuntu0.2_amd64.deb ... amazon-ebs: Unpacking python2.7-minimal (2.7.6-8ubuntu0.2) over (2.7.6-8) ... amazon-ebs: Preparing to unpack .../libpython2.7-minimal_2.7.6-8ubuntu0.2_amd64.deb ... amazon-ebs: Unpacking libpython2.7-minimal:amd64 (2.7.6-8ubuntu0.2) over (2.7.6-8) ... amazon-ebs: Preparing to unpack .../linux-image-3.13.0-49-generic_3.13.0-49.83_amd64.deb ... amazon-ebs: debconf: unable to initialize frontend: Dialog amazon-ebs: debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.) amazon-ebs: debconf: falling back to frontend: Readline amazon-ebs: debconf: unable to initialize frontend: Readline amazon-ebs: debconf: (This frontend requires a controlling tty.) amazon-ebs: debconf: falling back to frontend: Teletype amazon-ebs: Done. amazon-ebs: Unpacking linux-image-3.13.0-49-generic (3.13.0-49.83) over (3.13.0-49.81) ... amazon-ebs: Examining /etc/kernel/postrm.d . amazon-ebs: run-parts: executing /etc/kernel/postrm.d/initramfs-tools 3.13.0-49-generic /boot/vmlinuz-3.13.0-49-generic amazon-ebs: run-parts: executing /etc/kernel/postrm.d/x-grub-legacy-ec2 3.13.0-49-generic /boot/vmlinuz-3.13.0-49-generic amazon-ebs: run-parts: executing /etc/kernel/postrm.d/zz-update-grub 3.13.0-49-generic /boot/vmlinuz-3.13.0-49-generic amazon-ebs: Preparing to unpack .../tzdata_2015g-0ubuntu0.14.04_all.deb ... amazon-ebs: Unpacking tzdata (2015g-0ubuntu0.14.04) over (2015b-0ubuntu0.14.04) ... amazon-ebs: Processing triggers for mime-support (3.54ubuntu1.1) ... amazon-ebs: Processing triggers for man-db (2.6.7.1-1ubuntu1) ... amazon-ebs: Setting up tzdata (2015g-0ubuntu0.14.04) ... amazon-ebs: debconf: unable to initialize frontend: Dialog amazon-ebs: debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.) amazon-ebs: debconf: falling back to frontend: Readline amazon-ebs: debconf: unable to initialize frontend: Readline amazon-ebs: debconf: (This frontend requires a controlling tty.) amazon-ebs: debconf: falling back to frontend: Teletype amazon-ebs: amazon-ebs: Current default time zone: 'Etc/UTC' amazon-ebs: Local time is now: Thu Jan 28 06:45:59 UTC 2016. amazon-ebs: Universal Time is now: Thu Jan 28 06:45:59 UTC 2016. amazon-ebs: Run 'dpkg-reconfigure tzdata' if you wish to change it. amazon-ebs: amazon-ebs: (Reading database ... 51125 files and directories currently installed.) amazon-ebs: Preparing to unpack .../isc-dhcp-client_4.2.4-7ubuntu12.4_amd64.deb ... amazon-ebs: Unpacking isc-dhcp-client (4.2.4-7ubuntu12.4) over (4.2.4-7ubuntu12) ... amazon-ebs: Preparing to unpack .../isc-dhcp-common_4.2.4-7ubuntu12.4_amd64.deb ... amazon-ebs: Unpacking isc-dhcp-common (4.2.4-7ubuntu12.4) over (4.2.4-7ubuntu12) ... amazon-ebs: Preparing to unpack .../bind9-host_1%3a9.9.5.dfsg-3ubuntu0.7_amd64.deb ... amazon-ebs: Unpacking bind9-host (1:9.9.5.dfsg-3ubuntu0.7) over (1:9.9.5.dfsg-3ubuntu0.2) ... amazon-ebs: Preparing to unpack .../dnsutils_1%3a9.9.5.dfsg-3ubuntu0.7_amd64.deb ... amazon-ebs: Unpacking dnsutils (1:9.9.5.dfsg-3ubuntu0.7) over (1:9.9.5.dfsg-3ubuntu0.2) ... amazon-ebs: Preparing to unpack .../libisc95_1%3a9.9.5.dfsg-3ubuntu0.7_amd64.deb ... amazon-ebs: Unpacking libisc95 (1:9.9.5.dfsg-3ubuntu0.7) over (1:9.9.5.dfsg-3ubuntu0.2) ... amazon-ebs: Preparing to unpack .../libdns100_1%3a9.9.5.dfsg-3ubuntu0.7_amd64.deb ... amazon-ebs: Unpacking libdns100 (1:9.9.5.dfsg-3ubuntu0.7) over (1:9.9.5.dfsg-3ubuntu0.2) ... amazon-ebs: Preparing to unpack .../libisccc90_1%3a9.9.5.dfsg-3ubuntu0.7_amd64.deb ... amazon-ebs: Unpacking libisccc90 (1:9.9.5.dfsg-3ubuntu0.7) over (1:9.9.5.dfsg-3ubuntu0.2) ... amazon-ebs: Preparing to unpack .../libisccfg90_1%3a9.9.5.dfsg-3ubuntu0.7_amd64.deb ... amazon-ebs: Unpacking libisccfg90 (1:9.9.5.dfsg-3ubuntu0.7) over (1:9.9.5.dfsg-3ubuntu0.2) ... amazon-ebs: Preparing to unpack .../liblwres90_1%3a9.9.5.dfsg-3ubuntu0.7_amd64.deb ... amazon-ebs: Unpacking liblwres90 (1:9.9.5.dfsg-3ubuntu0.7) over (1:9.9.5.dfsg-3ubuntu0.2) ... amazon-ebs: Preparing to unpack .../libbind9-90_1%3a9.9.5.dfsg-3ubuntu0.7_amd64.deb ... amazon-ebs: Unpacking libbind9-90 (1:9.9.5.dfsg-3ubuntu0.7) over (1:9.9.5.dfsg-3ubuntu0.2) ... amazon-ebs: Preparing to unpack .../krb5-locales_1.12+dfsg-2ubuntu5.2_all.deb ... amazon-ebs: Unpacking krb5-locales (1.12+dfsg-2ubuntu5.2) over (1.12+dfsg-2ubuntu5.1) ... amazon-ebs: Preparing to unpack .../openssh-sftp-server_1%3a6.6p1-2ubuntu2.4_amd64.deb ... amazon-ebs: Unpacking openssh-sftp-server (1:6.6p1-2ubuntu2.4) over (1:6.6p1-2ubuntu2) ... amazon-ebs: Preparing to unpack .../openssh-server_1%3a6.6p1-2ubuntu2.4_amd64.deb ... amazon-ebs: Unpacking openssh-server (1:6.6p1-2ubuntu2.4) over (1:6.6p1-2ubuntu2) ... amazon-ebs: Preparing to unpack .../openssh-client_1%3a6.6p1-2ubuntu2.4_amd64.deb ... amazon-ebs: Unpacking openssh-client (1:6.6p1-2ubuntu2.4) over (1:6.6p1-2ubuntu2) ... amazon-ebs: Preparing to unpack .../openssl_1.0.1f-1ubuntu2.16_amd64.deb ... amazon-ebs: Unpacking openssl (1.0.1f-1ubuntu2.16) over (1.0.1f-1ubuntu2.11) ... amazon-ebs: Preparing to unpack .../ppp_2.4.5-5.1ubuntu2.2_amd64.deb ... amazon-ebs: Unpacking ppp (2.4.5-5.1ubuntu2.2) over (2.4.5-5.1ubuntu2.1) ... amazon-ebs: Preparing to unpack .../rsync_3.1.0-2ubuntu0.2_amd64.deb ... amazon-ebs: Unpacking rsync (3.1.0-2ubuntu0.2) over (3.1.0-2ubuntu0.1) ... amazon-ebs: Preparing to unpack .../tcpdump_4.5.1-2ubuntu1.2_amd64.deb ... amazon-ebs: Unpacking tcpdump (4.5.1-2ubuntu1.2) over (4.5.1-2ubuntu1.1) ... amazon-ebs: Preparing to unpack .../grub-pc_2.02~beta2-9ubuntu1.6_amd64.deb ... amazon-ebs: Unpacking grub-pc (2.02~beta2-9ubuntu1.6) over (2.02~beta2-9ubuntu1) ... amazon-ebs: Preparing to unpack .../grub-pc-bin_2.02~beta2-9ubuntu1.6_amd64.deb ... amazon-ebs: Unpacking grub-pc-bin (2.02~beta2-9ubuntu1.6) over (2.02~beta2-9ubuntu1) ... amazon-ebs: Preparing to unpack .../grub2-common_2.02~beta2-9ubuntu1.6_amd64.deb ... amazon-ebs: Unpacking grub2-common (2.02~beta2-9ubuntu1.6) over (2.02~beta2-9ubuntu1) ... amazon-ebs: Preparing to unpack .../grub-common_2.02~beta2-9ubuntu1.6_amd64.deb ... amazon-ebs: Unpacking grub-common (2.02~beta2-9ubuntu1.6) over (2.02~beta2-9ubuntu1) ... amazon-ebs: Preparing to unpack .../python3-problem-report_2.14.1-0ubuntu3.18_all.deb ... amazon-ebs: Unpacking python3-problem-report (2.14.1-0ubuntu3.18) over (2.14.1-0ubuntu3.8) ... amazon-ebs: Preparing to unpack .../python3-apport_2.14.1-0ubuntu3.18_all.deb ... amazon-ebs: Unpacking python3-apport (2.14.1-0ubuntu3.18) over (2.14.1-0ubuntu3.8) ... amazon-ebs: Preparing to unpack .../apport_2.14.1-0ubuntu3.18_all.deb ... amazon-ebs: apport stop/waiting amazon-ebs: Unpacking apport (2.14.1-0ubuntu3.18) over (2.14.1-0ubuntu3.8) ... amazon-ebs: Preparing to unpack .../linux-headers-3.13.0-49_3.13.0-49.83_all.deb ... amazon-ebs: Unpacking linux-headers-3.13.0-49 (3.13.0-49.83) over (3.13.0-49.81) ... amazon-ebs: Preparing to unpack .../linux-headers-3.13.0-49-generic_3.13.0-49.83_amd64.deb ... amazon-ebs: Unpacking linux-headers-3.13.0-49-generic (3.13.0-49.83) over (3.13.0-49.81) ... amazon-ebs: Preparing to unpack .../patch_2.7.1-4ubuntu2.3_amd64.deb ... amazon-ebs: Unpacking patch (2.7.1-4ubuntu2.3) over (2.7.1-4ubuntu1) ... amazon-ebs: Preparing to unpack .../pollinate_4.7-0ubuntu1.4_all.deb ... amazon-ebs: Unpacking pollinate (4.7-0ubuntu1.4) over (4.7-0ubuntu1.2) ... amazon-ebs: Preparing to unpack .../unattended-upgrades_0.82.1ubuntu2.3_all.deb ... amazon-ebs: Unpacking unattended-upgrades (0.82.1ubuntu2.3) over (0.82.1ubuntu2.2) ... amazon-ebs: Processing triggers for man-db (2.6.7.1-1ubuntu1) ... amazon-ebs: Processing triggers for ureadahead (0.100.0-16) ... amazon-ebs: Processing triggers for ufw (0.34~rc-0ubuntu2) ... amazon-ebs: Processing triggers for install-info (5.2.0.dfsg.1-2) ... amazon-ebs: Processing triggers for shared-mime-info (1.2-0ubuntu3) ... amazon-ebs: Setting up libexpat1:amd64 (2.1.0-4ubuntu1.1) ... amazon-ebs: Setting up libtasn1-6:amd64 (3.4-3ubuntu0.3) ... amazon-ebs: Setting up libgnutls26:amd64 (2.12.23-12ubuntu2.4) ... amazon-ebs: Setting up libgnutls-openssl27:amd64 (2.12.23-12ubuntu2.4) ... amazon-ebs: Setting up libssl1.0.0:amd64 (1.0.1f-1ubuntu2.16) ... amazon-ebs: debconf: unable to initialize frontend: Dialog amazon-ebs: debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.) amazon-ebs: debconf: falling back to frontend: Readline amazon-ebs: debconf: unable to initialize frontend: Readline amazon-ebs: debconf: (This frontend requires a controlling tty.) amazon-ebs: debconf: falling back to frontend: Teletype amazon-ebs: Setting up libpython3.4-minimal:amd64 (3.4.0-2ubuntu1.1) ... amazon-ebs: Setting up python3.4-minimal (3.4.0-2ubuntu1.1) ... amazon-ebs: Setting up libsqlite3-0:amd64 (3.8.2-1ubuntu2.1) ... amazon-ebs: Setting up libpython3.4-stdlib:amd64 (3.4.0-2ubuntu1.1) ... amazon-ebs: Setting up python3.4 (3.4.0-2ubuntu1.1) ... amazon-ebs: Setting up ntpdate (1:4.2.6.p5+dfsg-3ubuntu2.14.04.5) ... amazon-ebs: Setting up libpng12-0:amd64 (1.2.50-1ubuntu2.14.04.2) ... amazon-ebs: Setting up libkrb5support0:amd64 (1.12+dfsg-2ubuntu5.2) ... amazon-ebs: Setting up libk5crypto3:amd64 (1.12+dfsg-2ubuntu5.2) ... amazon-ebs: Setting up libkrb5-3:amd64 (1.12+dfsg-2ubuntu5.2) ... amazon-ebs: Setting up libgssapi-krb5-2:amd64 (1.12+dfsg-2ubuntu5.2) ... amazon-ebs: Setting up libldap-2.4-2:amd64 (2.4.31-1+nmu2ubuntu8.2) ... amazon-ebs: Setting up libcurl3-gnutls:amd64 (7.35.0-1ubuntu2.6) ... amazon-ebs: Setting up libfuse2:amd64 (2.9.2-4ubuntu4.14.04.1) ... amazon-ebs: Setting up fuse (2.9.2-4ubuntu4.14.04.1) ... amazon-ebs: update-initramfs: deferring update (trigger activated) amazon-ebs: Setting up libxext6:amd64 (2:1.3.2-1ubuntu0.0.14.04.1) ... amazon-ebs: Setting up libxml2:amd64 (2.9.1+dfsg1-3ubuntu4.7) ... amazon-ebs: Setting up libcurl3:amd64 (7.35.0-1ubuntu2.6) ... amazon-ebs: Setting up curl (7.35.0-1ubuntu2.6) ... amazon-ebs: Setting up libfreetype6:amd64 (2.5.2-1ubuntu2.5) ... amazon-ebs: Setting up libicu52:amd64 (52.1-3ubuntu0.4) ... amazon-ebs: Setting up libpython2.7-minimal:amd64 (2.7.6-8ubuntu0.2) ... amazon-ebs: Setting up python2.7-minimal (2.7.6-8ubuntu0.2) ... amazon-ebs: Setting up libpython2.7-stdlib:amd64 (2.7.6-8ubuntu0.2) ... amazon-ebs: Setting up python2.7 (2.7.6-8ubuntu0.2) ... amazon-ebs: Setting up libpython2.7:amd64 (2.7.6-8ubuntu0.2) ... amazon-ebs: Setting up linux-image-3.13.0-49-generic (3.13.0-49.83) ... amazon-ebs: Running depmod. amazon-ebs: update-initramfs: deferring update (hook will be called later) amazon-ebs: Not updating initrd symbolic links since we are being updated/reinstalled amazon-ebs: (3.13.0-49.81 was configured last, according to dpkg) amazon-ebs: Not updating image symbolic links since we are being updated/reinstalled amazon-ebs: (3.13.0-49.81 was configured last, according to dpkg) amazon-ebs: Examining /etc/kernel/postinst.d. amazon-ebs: run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 3.13.0-49-generic /boot/vmlinuz-3.13.0-49-generic amazon-ebs: run-parts: executing /etc/kernel/postinst.d/initramfs-tools 3.13.0-49-generic /boot/vmlinuz-3.13.0-49-generic amazon-ebs: update-initramfs: Generating /boot/initrd.img-3.13.0-49-generic amazon-ebs: run-parts: executing /etc/kernel/postinst.d/update-notifier 3.13.0-49-generic /boot/vmlinuz-3.13.0-49-generic amazon-ebs: run-parts: executing /etc/kernel/postinst.d/x-grub-legacy-ec2 3.13.0-49-generic /boot/vmlinuz-3.13.0-49-generic amazon-ebs: debconf: unable to initialize frontend: Dialog amazon-ebs: debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.) amazon-ebs: debconf: falling back to frontend: Readline amazon-ebs: debconf: unable to initialize frontend: Readline amazon-ebs: debconf: (This frontend requires a controlling tty.) amazon-ebs: debconf: falling back to frontend: Teletype amazon-ebs: Searching for GRUB installation directory ... found: /boot/grub amazon-ebs: Searching for default file ... found: /boot/grub/default amazon-ebs: Testing for an existing GRUB menu.lst file ... found: /boot/grub/menu.lst amazon-ebs: Searching for splash image ... none found, skipping ... amazon-ebs: Found kernel: /boot/vmlinuz-3.13.0-49-generic amazon-ebs: Updating /boot/grub/menu.lst ... done amazon-ebs: amazon-ebs: run-parts: executing /etc/kernel/postinst.d/zz-update-grub 3.13.0-49-generic /boot/vmlinuz-3.13.0-49-generic amazon-ebs: Generating grub configuration file ... amazon-ebs: grub-probe: warning: disk does not exist, so falling back to partition device /dev/xvda1. amazon-ebs: grub-probe: warning: disk does not exist, so falling back to partition device /dev/xvda1. amazon-ebs: grub-probe: warning: disk does not exist, so falling back to partition device /dev/xvda1. amazon-ebs: /usr/sbin/grub-probe: warning: disk does not exist, so falling back to partition device /dev/xvda1. amazon-ebs: /usr/sbin/grub-probe: warning: disk does not exist, so falling back to partition device /dev/xvda1. amazon-ebs: /usr/sbin/grub-probe: warning: disk does not exist, so falling back to partition device /dev/xvda1. amazon-ebs: Found linux image: /boot/vmlinuz-3.13.0-49-generic amazon-ebs: Found initrd image: /boot/initrd.img-3.13.0-49-generic amazon-ebs: /usr/sbin/grub-probe: warning: disk does not exist, so falling back to partition device /dev/xvda1. amazon-ebs: /usr/sbin/grub-probe: warning: disk does not exist, so falling back to partition device /dev/xvda1. amazon-ebs: /usr/sbin/grub-probe: warning: disk does not exist, so falling back to partition device /dev/xvda1. amazon-ebs: /usr/sbin/grub-probe: warning: disk does not exist, so falling back to partition device /dev/xvda1. amazon-ebs: /usr/sbin/grub-probe: warning: disk does not exist, so falling back to partition device /dev/xvda1. amazon-ebs: /usr/sbin/grub-probe: warning: disk does not exist, so falling back to partition device /dev/xvda1. amazon-ebs: /usr/sbin/grub-probe: warning: disk does not exist, so falling back to partition device /dev/xvda1. amazon-ebs: /usr/sbin/grub-probe: warning: disk does not exist, so falling back to partition device /dev/xvda1. amazon-ebs: /usr/sbin/grub-probe: warning: disk does not exist, so falling back to partition device /dev/xvda1. amazon-ebs: /usr/sbin/grub-probe: warning: disk does not exist, so falling back to partition device /dev/xvda1. amazon-ebs: /usr/sbin/grub-probe: warning: disk does not exist, so falling back to partition device /dev/xvda1. amazon-ebs: /usr/sbin/grub-probe: warning: disk does not exist, so falling back to partition device /dev/xvda1. amazon-ebs: /usr/sbin/grub-probe: warning: disk does not exist, so falling back to partition device /dev/xvda1. amazon-ebs: /usr/sbin/grub-probe: warning: disk does not exist, so falling back to partition device /dev/xvda1. amazon-ebs: /usr/sbin/grub-probe: warning: disk does not exist, so falling back to partition device /dev/xvda1. amazon-ebs: done amazon-ebs: Setting up isc-dhcp-common (4.2.4-7ubuntu12.4) ... amazon-ebs: Setting up isc-dhcp-client (4.2.4-7ubuntu12.4) ... amazon-ebs: Installing new version of config file /etc/apparmor.d/sbin.dhclient ... amazon-ebs: debconf: unable to initialize frontend: Dialog amazon-ebs: debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.) amazon-ebs: debconf: falling back to frontend: Readline amazon-ebs: debconf: unable to initialize frontend: Readline amazon-ebs: debconf: (This frontend requires a controlling tty.) amazon-ebs: debconf: falling back to frontend: Teletype amazon-ebs: Setting up libisc95 (1:9.9.5.dfsg-3ubuntu0.7) ... amazon-ebs: Setting up libdns100 (1:9.9.5.dfsg-3ubuntu0.7) ... amazon-ebs: Setting up libisccc90 (1:9.9.5.dfsg-3ubuntu0.7) ... amazon-ebs: Setting up libisccfg90 (1:9.9.5.dfsg-3ubuntu0.7) ... amazon-ebs: Setting up libbind9-90 (1:9.9.5.dfsg-3ubuntu0.7) ... amazon-ebs: Setting up liblwres90 (1:9.9.5.dfsg-3ubuntu0.7) ... amazon-ebs: Setting up bind9-host (1:9.9.5.dfsg-3ubuntu0.7) ... amazon-ebs: Setting up dnsutils (1:9.9.5.dfsg-3ubuntu0.7) ... amazon-ebs: Setting up krb5-locales (1.12+dfsg-2ubuntu5.2) ... amazon-ebs: Setting up openssh-client (1:6.6p1-2ubuntu2.4) ... amazon-ebs: Setting up openssh-sftp-server (1:6.6p1-2ubuntu2.4) ... amazon-ebs: Setting up openssh-server (1:6.6p1-2ubuntu2.4) ... amazon-ebs: debconf: unable to initialize frontend: Dialog amazon-ebs: debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.) amazon-ebs: debconf: falling back to frontend: Readline amazon-ebs: debconf: unable to initialize frontend: Readline amazon-ebs: debconf: (This frontend requires a controlling tty.) amazon-ebs: debconf: falling back to frontend: Teletype amazon-ebs: Creating SSH2 ED25519 key; this may take some time ... amazon-ebs: ssh stop/waiting amazon-ebs: ssh start/running, process 8946 amazon-ebs: Setting up openssl (1.0.1f-1ubuntu2.16) ... amazon-ebs: Setting up ppp (2.4.5-5.1ubuntu2.2) ... amazon-ebs: Setting up rsync (3.1.0-2ubuntu0.2) ... amazon-ebs: update-rc.d: warning: default stop runlevel arguments (0 1 6) do not match rsync Default-Stop values (none) amazon-ebs: System start/stop links for /etc/init.d/rsync already exist. amazon-ebs: Setting up tcpdump (4.5.1-2ubuntu1.2) ... amazon-ebs: Setting up grub-common (2.02~beta2-9ubuntu1.6) ... amazon-ebs: Installing new version of config file /etc/grub.d/00_header ... amazon-ebs: Setting up grub2-common (2.02~beta2-9ubuntu1.6) ... amazon-ebs: Setting up grub-pc-bin (2.02~beta2-9ubuntu1.6) ... amazon-ebs: Setting up grub-pc (2.02~beta2-9ubuntu1.6) ... amazon-ebs: debconf: unable to initialize frontend: Dialog amazon-ebs: debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.) amazon-ebs: debconf: falling back to frontend: Readline amazon-ebs: debconf: unable to initialize frontend: Readline amazon-ebs: debconf: (This frontend requires a controlling tty.) amazon-ebs: debconf: falling back to frontend: Teletype amazon-ebs: Generating grub configuration file ... amazon-ebs: grub-probe: warning: disk does not exist, so falling back to partition device /dev/xvda1. amazon-ebs: grub-probe: warning: disk does not exist, so falling back to partition device /dev/xvda1. amazon-ebs: grub-probe: warning: disk does not exist, so falling back to partition device /dev/xvda1. amazon-ebs: /usr/sbin/grub-probe: warning: disk does not exist, so falling back to partition device /dev/xvda1. amazon-ebs: /usr/sbin/grub-probe: warning: disk does not exist, so falling back to partition device /dev/xvda1. amazon-ebs: /usr/sbin/grub-probe: warning: disk does not exist, so falling back to partition device /dev/xvda1. amazon-ebs: Found linux image: /boot/vmlinuz-3.13.0-49-generic amazon-ebs: Found initrd image: /boot/initrd.img-3.13.0-49-generic amazon-ebs: /usr/sbin/grub-probe: warning: disk does not exist, so falling back to partition device /dev/xvda1. amazon-ebs: /usr/sbin/grub-probe: warning: disk does not exist, so falling back to partition device /dev/xvda1. amazon-ebs: /usr/sbin/grub-probe: warning: disk does not exist, so falling back to partition device /dev/xvda1. amazon-ebs: /usr/sbin/grub-probe: warning: disk does not exist, so falling back to partition device /dev/xvda1. amazon-ebs: /usr/sbin/grub-probe: warning: disk does not exist, so falling back to partition device /dev/xvda1. amazon-ebs: /usr/sbin/grub-probe: warning: disk does not exist, so falling back to partition device /dev/xvda1. amazon-ebs: /usr/sbin/grub-probe: warning: disk does not exist, so falling back to partition device /dev/xvda1. amazon-ebs: /usr/sbin/grub-probe: warning: disk does not exist, so falling back to partition device /dev/xvda1. amazon-ebs: /usr/sbin/grub-probe: warning: disk does not exist, so falling back to partition device /dev/xvda1. amazon-ebs: /usr/sbin/grub-probe: warning: disk does not exist, so falling back to partition device /dev/xvda1. amazon-ebs: /usr/sbin/grub-probe: warning: disk does not exist, so falling back to partition device /dev/xvda1. amazon-ebs: /usr/sbin/grub-probe: warning: disk does not exist, so falling back to partition device /dev/xvda1. amazon-ebs: /usr/sbin/grub-probe: warning: disk does not exist, so falling back to partition device /dev/xvda1. amazon-ebs: /usr/sbin/grub-probe: warning: disk does not exist, so falling back to partition device /dev/xvda1. amazon-ebs: /usr/sbin/grub-probe: warning: disk does not exist, so falling back to partition device /dev/xvda1. amazon-ebs: done amazon-ebs: Setting up python3-problem-report (2.14.1-0ubuntu3.18) ... amazon-ebs: Setting up python3-apport (2.14.1-0ubuntu3.18) ... amazon-ebs: Setting up apport (2.14.1-0ubuntu3.18) ... amazon-ebs: apport start/running amazon-ebs: Setting up linux-headers-3.13.0-49 (3.13.0-49.83) ... amazon-ebs: Setting up linux-headers-3.13.0-49-generic (3.13.0-49.83) ... amazon-ebs: Setting up patch (2.7.1-4ubuntu2.3) ... amazon-ebs: Setting up pollinate (4.7-0ubuntu1.4) ... amazon-ebs: Installing new version of config file /etc/pollinate/entropy.ubuntu.com.pem ... amazon-ebs: pollinate start/running, process 9609 amazon-ebs: Setting up unattended-upgrades (0.82.1ubuntu2.3) ... amazon-ebs: debconf: unable to initialize frontend: Dialog amazon-ebs: debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.) amazon-ebs: debconf: falling back to frontend: Readline amazon-ebs: debconf: unable to initialize frontend: Readline amazon-ebs: debconf: (This frontend requires a controlling tty.) amazon-ebs: debconf: falling back to frontend: Teletype amazon-ebs: Processing triggers for libc-bin (2.19-0ubuntu6.6) ... amazon-ebs: Processing triggers for initramfs-tools (0.103ubuntu4.2) ... amazon-ebs: update-initramfs: Generating /boot/initrd.img-3.13.0-49-generic amazon-ebs: Reading package lists... amazon-ebs: Building dependency tree... amazon-ebs: Reading state information... amazon-ebs: linux-headers-3.13.0-49-generic is already the newest version. amazon-ebs: linux-headers-3.13.0-49-generic set to manually installed. amazon-ebs: 0 upgraded, 0 newly installed, 0 to remove and 4 not upgraded. amazon-ebs: Reading package lists... amazon-ebs: Building dependency tree... amazon-ebs: Reading state information... amazon-ebs: 0 upgraded, 0 newly installed, 0 to remove and 4 not upgraded. amazon-ebs: Reading package lists... amazon-ebs: Building dependency tree... amazon-ebs: Reading state information... amazon-ebs: curl is already the newest version. amazon-ebs: 0 upgraded, 0 newly installed, 0 to remove and 4 not upgraded. amazon-ebs: Reading package lists... amazon-ebs: Building dependency tree... amazon-ebs: Reading state information... amazon-ebs: rsync is already the newest version. amazon-ebs: 0 upgraded, 0 newly installed, 0 to remove and 4 not upgraded. amazon-ebs: Reading package lists... amazon-ebs: Building dependency tree... amazon-ebs: Reading state information... amazon-ebs: screen is already the newest version. amazon-ebs: 0 upgraded, 0 newly installed, 0 to remove and 4 not upgraded. amazon-ebs: Installing git amazon-ebs: Reading package lists... amazon-ebs: Building dependency tree... amazon-ebs: Reading state information... amazon-ebs: Some packages could not be installed. This may mean that you have amazon-ebs: requested an impossible situation or if you are using the unstable amazon-ebs: distribution that some required packages have not yet been created amazon-ebs: or been moved out of Incoming. amazon-ebs: The following information may help to resolve the situation: amazon-ebs: amazon-ebs: The following packages have unmet dependencies: amazon-ebs: git : Depends: liberror-perl but it is not installable amazon-ebs: E: Unable to correct problems, you have held broken packages. ==> amazon-ebs: Uploading ../jenkins-config => /tmp ==> amazon-ebs: Provisioning with shell script: scripts/jenkins.sh amazon-ebs: Reading package lists... amazon-ebs: Building dependency tree... amazon-ebs: Reading state information... amazon-ebs: E: Unable to locate package dos2unix amazon-ebs: OK amazon-ebs: Ign http://pkg.jenkins-ci.org binary/ InRelease amazon-ebs: Get:1 http://pkg.jenkins-ci.org binary/ Release.gpg [181 B] amazon-ebs: Get:2 http://pkg.jenkins-ci.org binary/ Release [2046 B] amazon-ebs: Get:3 http://pkg.jenkins-ci.org binary/ Packages [653 B] amazon-ebs: Hit http://security.ubuntu.com trusty-security InRelease amazon-ebs: Ign http://pkg.jenkins-ci.org binary/ Translation-en amazon-ebs: Get:4 http://security.ubuntu.com trusty-security/main Sources [103 kB] amazon-ebs: Ign http://us-east-1.ec2.archive.ubuntu.com trusty InRelease amazon-ebs: Get:5 http://us-east-1.ec2.archive.ubuntu.com trusty-updates InRelease [64.4 kB] amazon-ebs: Get:6 http://us-east-1.ec2.archive.ubuntu.com trusty Release.gpg [933 B] amazon-ebs: Get:7 http://us-east-1.ec2.archive.ubuntu.com trusty-updates/main Sources [248 kB] amazon-ebs: Get:8 http://security.ubuntu.com trusty-security/universe Sources [33.1 kB] amazon-ebs: Hit http://security.ubuntu.com trusty-security/main amd64 Packages amazon-ebs: Hit http://security.ubuntu.com trusty-security/universe amd64 Packages amazon-ebs: Hit http://security.ubuntu.com trusty-security/main Translation-en amazon-ebs: Hit http://security.ubuntu.com trusty-security/universe Translation-en amazon-ebs: Get:9 http://us-east-1.ec2.archive.ubuntu.com trusty-updates/main Sources [248 kB] amazon-ebs: Get:10 http://us-east-1.ec2.archive.ubuntu.com trusty-updates/universe Sources [147 kB] amazon-ebs: Get:11 http://us-east-1.ec2.archive.ubuntu.com trusty-updates/main amd64 Packages [689 kB] amazon-ebs: Get:12 http://us-east-1.ec2.archive.ubuntu.com trusty-updates/universe amd64 Packages [334 kB] amazon-ebs: Get:13 http://us-east-1.ec2.archive.ubuntu.com trusty-updates/main Translation-en [348 kB] amazon-ebs: Get:14 http://us-east-1.ec2.archive.ubuntu.com trusty-updates/universe Translation-en [176 kB] amazon-ebs: Get:15 http://us-east-1.ec2.archive.ubuntu.com trusty Release [58.5 kB] amazon-ebs: Get:16 http://us-east-1.ec2.archive.ubuntu.com trusty/main Sources [1064 kB] amazon-ebs: Get:17 http://us-east-1.ec2.archive.ubuntu.com trusty/universe Sources [6399 kB] amazon-ebs: Get:18 http://us-east-1.ec2.archive.ubuntu.com trusty/universe Sources [6399 kB] amazon-ebs: Get:19 http://us-east-1.ec2.archive.ubuntu.com trusty/main amd64 Packages [1350 kB] amazon-ebs: Get:20 http://us-east-1.ec2.archive.ubuntu.com trusty/universe amd64 Packages [5859 kB] amazon-ebs: Get:21 http://us-east-1.ec2.archive.ubuntu.com trusty/main Translation-en [762 kB] amazon-ebs: Get:22 http://us-east-1.ec2.archive.ubuntu.com trusty/universe Translation-en [4089 kB] amazon-ebs: Get:23 http://us-east-1.ec2.archive.ubuntu.com trusty/main amd64 Packages [1350 kB] amazon-ebs: Err http://us-east-1.ec2.archive.ubuntu.com trusty/main amd64 Packages amazon-ebs: amazon-ebs: Err http://us-east-1.ec2.archive.ubuntu.com trusty/main amd64 Packages amazon-ebs: 404 Not Found [IP: 54.198.110.211 80] amazon-ebs: Fetched 17.9 MB in 10min 35s (28.2 kB/s) amazon-ebs: W: Failed to fetch http://us-east-1.ec2.archive.ubuntu.com/ubuntu/dists/trusty/main/binary-amd64/Packages 404 Not Found [IP: 54.198.110.211 80] amazon-ebs: amazon-ebs: E: Some index files failed to download. They have been ignored, or old ones used instead. amazon-ebs: Reading package lists... amazon-ebs: Building dependency tree... amazon-ebs: Reading state information... amazon-ebs: Some packages could not be installed. This may mean that you have amazon-ebs: requested an impossible situation or if you are using the unstable amazon-ebs: distribution that some required packages have not yet been created amazon-ebs: or been moved out of Incoming. amazon-ebs: The following information may help to resolve the situation: amazon-ebs: amazon-ebs: The following packages have unmet dependencies: amazon-ebs: jenkins : Depends: default-jre-headless (>= 2:1.7) but it is not installable or amazon-ebs: java7-runtime-headless amazon-ebs: E: Unable to correct problems, you have held broken packages. amazon-ebs: Reading package lists... amazon-ebs: Building dependency tree... amazon-ebs: Reading state information... amazon-ebs: The following packages have been kept back: amazon-ebs: linux-headers-generic linux-headers-virtual linux-image-virtual amazon-ebs: linux-virtual amazon-ebs: The following packages will be upgraded: amazon-ebs: accountsservice apparmor apport apt apt-transport-https apt-utils base-files amazon-ebs: bash-completion bsdutils cloud-init coreutils dh-python e2fslibs e2fsprogs amazon-ebs: gcc-4.8-base gcc-4.9-base gdisk grub-common grub-legacy-ec2 grub-pc amazon-ebs: grub-pc-bin grub2-common initscripts iproute2 irqbalance libaccountsservice0 amazon-ebs: libapparmor-perl libapparmor1 libapt-inst1.5 libapt-pkg4.12 libblkid1 amazon-ebs: libcgmanager0 libcomerr2 libdrm2 libffi6 libgcc1 libmount1 libnuma1 amazon-ebs: libpam-systemd libparted0debian1 libpolkit-agent-1-0 libpolkit-backend-1-0 amazon-ebs: libpolkit-gobject-1-0 libpython3.4-minimal libpython3.4-stdlib libss2 amazon-ebs: libstdc++6 libsystemd-daemon0 libsystemd-login0 libudev1 libuuid1 login lshw amazon-ebs: mount ntpdate os-prober overlayroot parted passwd policykit-1 python-apt amazon-ebs: python-apt-common python-pkg-resources python-requests python-six amazon-ebs: python-urllib3 python3-apport python3-apt python3-distupgrade python3-gdbm amazon-ebs: python3-problem-report python3-software-properties python3-update-manager amazon-ebs: python3.4 python3.4-minimal rsyslog software-properties-common sudo amazon-ebs: systemd-services sysv-rc sysvinit-utils ubuntu-release-upgrader-core udev amazon-ebs: unattended-upgrades update-manager-core util-linux uuid-runtime amazon-ebs: /tmp/script_7943.sh: line 17: dos2unix: command not found amazon-ebs: 87 upgraded, 0 newly installed, 0 to remove and 4 not upgraded. amazon-ebs: Need to get 18.3 MB of archives. amazon-ebs: After this operation, 239 kB disk space will be freed. amazon-ebs: Do you want to continue? [Y/n] Abort. amazon-ebs: Installing: build-pipeline-plugin amazon-ebs: Installing: git amazon-ebs: Installing: github amazon-ebs: Installing: ghprb amazon-ebs: Check for missing dependecies ... amazon-ebs: /tmp/jenkins-config/install_jenkins_plugins.sh: line 52: unzip: command not found amazon-ebs: /tmp/jenkins-config/install_jenkins_plugins.sh: line 52: unzip: command not found amazon-ebs: /tmp/jenkins-config/install_jenkins_plugins.sh: line 52: unzip: command not found amazon-ebs: /tmp/jenkins-config/install_jenkins_plugins.sh: line 52: unzip: command not found amazon-ebs: fixing permissions amazon-ebs: chown: invalid user: 'jenkins.jenkins' amazon-ebs: Compile/ amazon-ebs: Compile/builds/ amazon-ebs: Compile/config.xml amazon-ebs: Compile/nextBuildNumber amazon-ebs: Compile/builds/lastFailedBuild amazon-ebs: Compile/builds/lastStableBuild amazon-ebs: Compile/builds/lastSuccessfulBuild amazon-ebs: Compile/builds/lastUnstableBuild amazon-ebs: Compile/builds/lastUnsuccessfulBuild amazon-ebs: Compile/builds/legacyIds amazon-ebs: Release/ amazon-ebs: Release/builds/ amazon-ebs: Release/config.xml amazon-ebs: Release/nextBuildNumber amazon-ebs: Release/builds/lastFailedBuild amazon-ebs: Release/builds/lastStableBuild amazon-ebs: Release/builds/lastSuccessfulBuild amazon-ebs: Release/builds/lastUnstableBuild amazon-ebs: Release/builds/lastUnsuccessfulBuild amazon-ebs: Release/builds/legacyIds amazon-ebs: Test/ amazon-ebs: Test/builds/ amazon-ebs: Test/config.xml amazon-ebs: Test/nextBuildNumber amazon-ebs: Test/builds/lastFailedBuild amazon-ebs: Test/builds/lastStableBuild amazon-ebs: Test/builds/lastSuccessfulBuild amazon-ebs: Test/builds/lastUnstableBuild amazon-ebs: Test/builds/lastUnsuccessfulBuild amazon-ebs: Test/builds/legacyIds amazon-ebs: adventure/ amazon-ebs: adventure/builds/ amazon-ebs: adventure/config.xml amazon-ebs: adventure/nextBuildNumber amazon-ebs: adventure/builds/lastFailedBuild amazon-ebs: adventure/builds/lastStableBuild amazon-ebs: adventure/builds/lastSuccessfulBuild amazon-ebs: adventure/builds/lastUnstableBuild amazon-ebs: adventure/builds/lastUnsuccessfulBuild amazon-ebs: chown: invalid user: 'jenkins:jenkins' amazon-ebs: adventure/builds/legacyIds amazon-ebs: uptime/ amazon-ebs: uptime/builds/ amazon-ebs: uptime/config.xml amazon-ebs: uptime/nextBuildNumber amazon-ebs: uptime/builds/lastFailedBuild amazon-ebs: uptime/builds/lastStableBuild amazon-ebs: uptime/builds/lastSuccessfulBuild amazon-ebs: uptime/builds/lastUnstableBuild amazon-ebs: uptime/builds/lastUnsuccessfulBuild amazon-ebs: uptime/builds/legacyIds amazon-ebs: jenkins: unrecognized service ==> amazon-ebs: Terminating the source AWS instance... ==> amazon-ebs: No AMIs to cleanup ==> amazon-ebs: Deleting temporary security group... ==> amazon-ebs: Deleting temporary keypair... Build 'amazon-ebs' errored: Script exited with non-zero exit status: 1

alejandromarcu commented 8 years ago

I'm having the same issue. Did you find a solution?

Garett-Haight commented 8 years ago

Similar issue here. I'm going to dig through the config files to see if I can find anything....

pivec commented 7 years ago

same problem :/

kmmceachern commented 7 years ago

Finally figured out a solution for this error after digging around some.

First off, I had two problems initially:

  1. As a new free tier AWS user, I had an instance limit of 0 for t1.micros, which is what the provided control-server.json file uses for the Ubuntu AMI. To fix this I changed my control-server.json to

      {
        "type": "amazon-ebs",
        "access_key": "{{ user `AWS_ACCESS_KEY_ID` }}",
        "secret_key": "{{ user `AWS_SECRET_ACCESS_KEY` }}",
        "region": "us-east-1",
        "source_ami": "ami-772aa961",
        "instance_type": "t2.micro",
        "ssh_username": "ubuntu",
        "ami_name": "control-{{ user `PACKER_BOX_NAME` }}-{{timestamp}}"
      },

    The above source-ami is the only Ubuntu 14.04 AMI I could access as a free tier user through AWS's EC2 console, as it uses a t2.micro instead of t1.micro.

  2. The Jenkins script would not execute properly because the script file located at /packer-templates/scripts/jenkins.sh tries to install a Java version that's incompatible with the latest version of Jenkins. To fix this I replaced these lines in jenkins.sh:

    # JDK and JRE are required for Jenkins
    apt-get install -y openjdk-7-jre openjdk-7-jdk unzip dos2unix

    with (edited below to reflect @stevenconner's suggestion of adding the -y flag)

    # JDK and JRE are required for Jenkins
    add-apt-repository ppa:openjdk-r/ppa
    apt-get update
    apt-get install -y openjdk-8-jre openjdk-8-jre-headless openjdk-8-jdk

    after seeing this resolution to a similar problem filed as a Jenkins JIRA issue here (last comment): https://issues.jenkins-ci.org/browse/JENKINS-43495?page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel&showAll=true

After both of these changes, my AMI FINALLY built properly.

I've put up a PR with all the file changes I needed to properly build and deploy the AMI, so future course takers will hopefully have an easier time with this than I did: https://github.com/udacity/devops-intro-project/pull/35

stevenconner commented 7 years ago

thanks for the PR, kmmceachern, unfortunately i'm still having this problem even after using your changes. what fixed it for me finally was making your code use -y for apt-get install, so changes to jenkins would be like so:

add-apt-repository ppa:openjdk-r/ppa apt-get update apt-get install -y openjdk-8-jre openjdk-8-jre-headless openjdk-8-jdk

ntjn commented 7 years ago

Same issue/solution in case of deploying onto gcloud.

CodeWithOz commented 6 years ago

Thanks so much to @kmmceachern and @stevenconner for your solutions. I had to add a little more code before I could get mine to build.

First, I had to use a more recent Ubuntu server version and checksum (see README.md and here) in control-server.json:

{
"variables": {
      ...
      "PACKER_BOX_NAME": "ubuntu-14.04.5-server-amd64",
      ...
      ...
  "builders": [
      {
        ...
        ...
        "iso_checksum": "dde07d37647a1d2d9247e33f14e91acb10445a97578384896b4e1d985f754cc1",
        ...
        ...
}

Second, I had to install dos2unix (see here) in jenkins.sh by adding

# install dos2unix
sudo apt-get install dos2unix

after these lines 👇

apt-get update
apt-get install -y jenkins
apt-get upgrade

I am running Windows 10 by the way.

Update

I still had to do a bit more work. Apparently, my Windows converted Unix-style endings (\n) into Windows-style endings (\r\n) and this caused errors in install_jenkins_plugins.sh. To fix this, I added this line

dos2unix /tmp/jenkins-config/install_jenkins_plugins.sh

after this line

dos2unix /etc/default/jenkins

in jenkins.sh.

Still, the installPlugins() function in install_jenkins_plugins.sh threw errors indicating that it could not find the unzip command. So I included these lines

# install unzip for use in install_jenkins_plugins.sh
sudo apt-get install zip unzip

just above these lines

# install some extra plugins
/bin/bash /tmp/jenkins-config/install_jenkins_plugins.sh

My artifacts built successfully but I still could not figure out how to view the Jenkins server in my browser. This may be obvious to more experienced users but the course does not give clear instructions for a first-time user like me. The solution involved two steps:

13rac1 commented 5 years ago

@CodeWithOz I've merged/closed all, but one PR in this repo. If you can submit a PR fixing Jenkin's I'll merge it. LMK. Thanks!