Setting up python-crcmod (1.7-2build2) ...
Setting up python-google-compute-engine (20160930-0ubuntu6~16.04.0) ...
Setting up google-cloud-sdk (140.0.0-0ubuntu1~16.04.1) ...
Installing new version of config file /etc/bash_completion.d/completion.bash.inc ...
File "/usr/lib/google-cloud-sdk/.install/.backup/platform/gsutil/third_party/httplib2/python3/httplib2/__init__.py", line 347
print('%s:' % h, end=' ', file=self._fp)
^
SyntaxError: invalid syntax
File "/usr/lib/google-cloud-sdk/platform/gsutil/third_party/httplib2/python3/httplib2/__init__.py", line 347
print('%s:' % h, end=' ', file=self._fp)
^
SyntaxError: invalid syntax
dpkg: error processing package google-cloud-sdk (--configure):
subprocess installed post-installation script returned error exit status 101
Setting up linux-headers-4.4.0-77 (4.4.0-77.98) ...
Setting up linux-headers-4.4.0-77-generic (4.4.0-77.98) ...
Setting up linux-image-4.4.0-77-generic (4.4.0-77.98) ...
Running depmod.
update-initramfs: deferring update (hook will be called later)
Examining /etc/kernel/postinst.d.
run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 4.4.0-77-generic /boot/vmlinuz-4.4.0-77-generic
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 4.4.0-77-generic /boot/vmlinuz-4.4.0-77-generic
update-initramfs: Generating /boot/initrd.img-4.4.0-77-generic
W: mdadm: /etc/mdadm/mdadm.conf defines no arrays.
run-parts: executing /etc/kernel/postinst.d/unattended-upgrades 4.4.0-77-generic /boot/vmlinuz-4.4.0-77-generic
run-parts: executing /etc/kernel/postinst.d/update-notifier 4.4.0-77-generic /boot/vmlinuz-4.4.0-77-generic
run-parts: executing /etc/kernel/postinst.d/zz-update-grub 4.4.0-77-generic /boot/vmlinuz-4.4.0-77-generic
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-4.4.0-77-generic
Found initrd image: /boot/initrd.img-4.4.0-77-generic
Found linux image: /boot/vmlinuz-4.4.0-75-generic
Found initrd image: /boot/initrd.img-4.4.0-75-generic
Found linux image: /boot/vmlinuz-4.4.0-72-generic
Found initrd image: /boot/initrd.img-4.4.0-72-generic
done
Setting up linux-image-virtual (4.4.0.77.83) ...
Setting up linux-headers-generic (4.4.0.77.83) ...
Setting up linux-headers-virtual (4.4.0.77.83) ...
Setting up linux-virtual (4.4.0.77.83) ...
Errors were encountered while processing:
google-cloud-sdk
E: Sub-process /usr/bin/dpkg returned an error code (1)
sudo apt-get install google-cloud-sdk
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
python-boto python-cffi-backend python-chardet python-crcmod python-cryptography python-enum34 python-google-compute-engine python-idna python-ipaddress python-ndg-httpsclient python-openssl
python-pyasn1 python-requests python-six python-urllib3
Suggested packages:
python-cryptography-doc python-cryptography-vectors python-enum34-doc python-openssl-doc python-openssl-dbg doc-base python-ntlm
The following NEW packages will be installed:
google-cloud-sdk python-boto python-cffi-backend python-chardet python-crcmod python-cryptography python-enum34 python-google-compute-engine python-idna python-ipaddress python-ndg-httpsclient
python-openssl python-pyasn1 python-requests python-six python-urllib3
0 upgraded, 16 newly installed, 0 to remove and 0 not upgraded.
Need to get 1,466 kB/7,454 kB of archives.
After this operation, 61.8 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://us-west1-b.gce.clouds.archive.ubuntu.com/ubuntu xenial/main amd64 python-six all 1.10.0-3 [10.9 kB]
Get:2 http://us-west1-b.gce.clouds.archive.ubuntu.com/ubuntu xenial-updates/main amd64 python-urllib3 all 1.13.1-2ubuntu0.16.04.1 [57.2 kB]
Get:3 http://us-west1-b.gce.clouds.archive.ubuntu.com/ubuntu xenial/main amd64 python-chardet all 2.3.0-2 [96.3 kB]
Get:4 http://us-west1-b.gce.clouds.archive.ubuntu.com/ubuntu xenial/main amd64 python-requests all 2.9.1-3 [55.6 kB]
Get:5 http://us-west1-b.gce.clouds.archive.ubuntu.com/ubuntu xenial/main amd64 python-boto all 2.38.0-1ubuntu1 [747 kB]
Get:6 http://us-west1-b.gce.clouds.archive.ubuntu.com/ubuntu xenial/main amd64 python-cffi-backend amd64 1.5.2-1ubuntu1 [58.1 kB]
Get:7 http://us-west1-b.gce.clouds.archive.ubuntu.com/ubuntu xenial/main amd64 python-enum34 all 1.1.2-1 [35.8 kB]
Get:8 http://us-west1-b.gce.clouds.archive.ubuntu.com/ubuntu xenial/main amd64 python-idna all 2.0-3 [35.1 kB]
Get:9 http://us-west1-b.gce.clouds.archive.ubuntu.com/ubuntu xenial/main amd64 python-ipaddress all 1.0.16-1 [18.0 kB]
Get:10 http://us-west1-b.gce.clouds.archive.ubuntu.com/ubuntu xenial/main amd64 python-pyasn1 all 0.1.9-1 [45.1 kB]
Get:11 http://us-west1-b.gce.clouds.archive.ubuntu.com/ubuntu xenial-updates/main amd64 python-cryptography amd64 1.2.3-1ubuntu0.1 [199 kB]
Get:12 http://us-west1-b.gce.clouds.archive.ubuntu.com/ubuntu xenial/main amd64 python-openssl all 0.15.1-2build1 [84.1 kB]
Get:13 http://us-west1-b.gce.clouds.archive.ubuntu.com/ubuntu xenial/main amd64 python-ndg-httpsclient all 0.4.0-3 [25.1 kB]
Fetched 1,466 kB in 2s (548 kB/s)
Selecting previously unselected package python-crcmod.
(Reading database ... 83703 files and directories currently installed.)
Preparing to unpack .../python-crcmod_1.7-2build2_amd64.deb ...
Unpacking python-crcmod (1.7-2build2) ...
Selecting previously unselected package python-six.
Preparing to unpack .../python-six_1.10.0-3_all.deb ...
Unpacking python-six (1.10.0-3) ...
Selecting previously unselected package python-urllib3.
Preparing to unpack .../python-urllib3_1.13.1-2ubuntu0.16.04.1_all.deb ...
Unpacking python-urllib3 (1.13.1-2ubuntu0.16.04.1) ...
Selecting previously unselected package python-chardet.
Preparing to unpack .../python-chardet_2.3.0-2_all.deb ...
Unpacking python-chardet (2.3.0-2) ...
Selecting previously unselected package python-requests.
Preparing to unpack .../python-requests_2.9.1-3_all.deb ...
Unpacking python-requests (2.9.1-3) ...
Selecting previously unselected package python-boto.
Preparing to unpack .../python-boto_2.38.0-1ubuntu1_all.deb ...
Unpacking python-boto (2.38.0-1ubuntu1) ...
Selecting previously unselected package python-google-compute-engine.
Preparing to unpack .../python-google-compute-engine_20160930-0ubuntu6~16.04.0_all.deb ...
Unpacking python-google-compute-engine (20160930-0ubuntu6~16.04.0) ...
Selecting previously unselected package google-cloud-sdk.
Preparing to unpack .../google-cloud-sdk_140.0.0-0ubuntu1~16.04.1_all.deb ...
Unpacking google-cloud-sdk (140.0.0-0ubuntu1~16.04.1) ...
Selecting previously unselected package python-cffi-backend.
Preparing to unpack .../python-cffi-backend_1.5.2-1ubuntu1_amd64.deb ...
Unpacking python-cffi-backend (1.5.2-1ubuntu1) ...
Selecting previously unselected package python-enum34.
Preparing to unpack .../python-enum34_1.1.2-1_all.deb ...
Unpacking python-enum34 (1.1.2-1) ...
Selecting previously unselected package python-idna.
Preparing to unpack .../python-idna_2.0-3_all.deb ...
Unpacking python-idna (2.0-3) ...
Selecting previously unselected package python-ipaddress.
Preparing to unpack .../python-ipaddress_1.0.16-1_all.deb ...
Unpacking python-ipaddress (1.0.16-1) ...
Selecting previously unselected package python-pyasn1.
Preparing to unpack .../python-pyasn1_0.1.9-1_all.deb ...
Unpacking python-pyasn1 (0.1.9-1) ...
Selecting previously unselected package python-cryptography.
Preparing to unpack .../python-cryptography_1.2.3-1ubuntu0.1_amd64.deb ...
Unpacking python-cryptography (1.2.3-1ubuntu0.1) ...
Selecting previously unselected package python-openssl.
Preparing to unpack .../python-openssl_0.15.1-2build1_all.deb ...
Unpacking python-openssl (0.15.1-2build1) ...
Selecting previously unselected package python-ndg-httpsclient.
Preparing to unpack .../python-ndg-httpsclient_0.4.0-3_all.deb ...
Unpacking python-ndg-httpsclient (0.4.0-3) ...
Processing triggers for man-db (2.7.5-1) ...
Setting up python-crcmod (1.7-2build2) ...
Setting up python-six (1.10.0-3) ...
Setting up python-urllib3 (1.13.1-2ubuntu0.16.04.1) ...
Setting up python-chardet (2.3.0-2) ...
Setting up python-requests (2.9.1-3) ...
Setting up python-boto (2.38.0-1ubuntu1) ...
Setting up python-google-compute-engine (20160930-0ubuntu6~16.04.0) ...
Setting up google-cloud-sdk (140.0.0-0ubuntu1~16.04.1) ...
File "/usr/lib/google-cloud-sdk/.install/.backup/platform/gsutil/third_party/httplib2/python3/httplib2/__init__.py", line 347
print('%s:' % h, end=' ', file=self._fp)
^
SyntaxError: invalid syntax
File "/usr/lib/google-cloud-sdk/platform/gsutil/third_party/httplib2/python3/httplib2/__init__.py", line 347
print('%s:' % h, end=' ', file=self._fp)
^
SyntaxError: invalid syntax
dpkg: error processing package google-cloud-sdk (--configure):
subprocess installed post-installation script returned error exit status 101
Setting up python-cffi-backend (1.5.2-1ubuntu1) ...
Setting up python-enum34 (1.1.2-1) ...
Setting up python-idna (2.0-3) ...
Setting up python-ipaddress (1.0.16-1) ...
Setting up python-pyasn1 (0.1.9-1) ...
Setting up python-cryptography (1.2.3-1ubuntu0.1) ...
Setting up python-openssl (0.15.1-2build1) ...
Setting up python-ndg-httpsclient (0.4.0-3) ...
Errors were encountered while processing:
google-cloud-sdk
E: Sub-process /usr/bin/dpkg returned an error code (1)