Generating locales (this might take a while)...
en_NZ.UTF-8... done
Generation complete.
Cloud-init v. 0.7.9 running 'modules:config' at Wed, 27 Sep 2017 02:57:37 +0000. Up 14.01 seconds.
Get:1 http://security.ubuntu.com/ubuntu xenial-security InRelease [102 kB]
Get:2 http://security.ubuntu.com/ubuntu xenial-security/main Sources [92.3 kB]
Get:3 http://security.ubuntu.com/ubuntu xenial-security/restricted Sources [2600 B]
Get:4 http://security.ubuntu.com/ubuntu xenial-security/universe Sources [43.6 kB]
Get:5 http://security.ubuntu.com/ubuntu xenial-security/multiverse Sources [1140 B]
Get:6 http://security.ubuntu.com/ubuntu xenial-security/main amd64 Packages [356 kB]
Get:7 http://security.ubuntu.com/ubuntu xenial-security/main Translation-en [158 kB]
Get:8 http://security.ubuntu.com/ubuntu xenial-security/restricted amd64 Packages [7352 B]
Get:9 http://security.ubuntu.com/ubuntu xenial-security/universe amd64 Packages [170 kB]
Get:10 http://security.ubuntu.com/ubuntu xenial-security/universe Translation-en [90.0 kB]
Get:11 http://security.ubuntu.com/ubuntu xenial-security/multiverse amd64 Packages [2760 B]
Get:12 http://security.ubuntu.com/ubuntu xenial-security/multiverse Translation-en [1236 B]
Hit:13 http://nz-hlz-1a.clouds.archive.ubuntu.com/ubuntu xenial InRelease
Get:14 http://nz-hlz-1a.clouds.archive.ubuntu.com/ubuntu xenial-updates InRelease [102 kB]
Get:15 http://nz-hlz-1a.clouds.archive.ubuntu.com/ubuntu xenial-backports InRelease [102 kB]
Get:16 http://nz-hlz-1a.clouds.archive.ubuntu.com/ubuntu xenial/main Sources [868 kB]
Get:17 http://nz-hlz-1a.clouds.archive.ubuntu.com/ubuntu xenial/restricted Sources [4808 B]
Get:18 http://nz-hlz-1a.clouds.archive.ubuntu.com/ubuntu xenial/universe Sources [7728 kB]
Get:19 http://nz-hlz-1a.clouds.archive.ubuntu.com/ubuntu xenial/multiverse Sources [179 kB]
Get:20 http://nz-hlz-1a.clouds.archive.ubuntu.com/ubuntu xenial/universe amd64 Packages [7532 kB]
Get:21 http://nz-hlz-1a.clouds.archive.ubuntu.com/ubuntu xenial/universe Translation-en [4354 kB]
Get:22 http://nz-hlz-1a.clouds.archive.ubuntu.com/ubuntu xenial/multiverse amd64 Packages [144 kB]
Get:23 http://nz-hlz-1a.clouds.archive.ubuntu.com/ubuntu xenial/multiverse Translation-en [106 kB]
Get:24 http://nz-hlz-1a.clouds.archive.ubuntu.com/ubuntu xenial-updates/main Sources [276 kB]
Get:25 http://nz-hlz-1a.clouds.archive.ubuntu.com/ubuntu xenial-updates/restricted Sources [3404 B]
Get:26 http://nz-hlz-1a.clouds.archive.ubuntu.com/ubuntu xenial-updates/universe Sources [176 kB]
Get:27 http://nz-hlz-1a.clouds.archive.ubuntu.com/ubuntu xenial-updates/multiverse Sources [7208 B]
Get:28 http://nz-hlz-1a.clouds.archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages [633 kB]
Get:29 http://nz-hlz-1a.clouds.archive.ubuntu.com/ubuntu xenial-updates/main Translation-en [266 kB]
Get:30 http://nz-hlz-1a.clouds.archive.ubuntu.com/ubuntu xenial-updates/restricted amd64 Packages [7972 B]
Get:31 http://nz-hlz-1a.clouds.archive.ubuntu.com/ubuntu xenial-updates/restricted Translation-en [2692 B]
Get:32 http://nz-hlz-1a.clouds.archive.ubuntu.com/ubuntu xenial-updates/universe amd64 Packages [538 kB]
Get:33 http://nz-hlz-1a.clouds.archive.ubuntu.com/ubuntu xenial-updates/universe Translation-en [218 kB]
Get:34 http://nz-hlz-1a.clouds.archive.ubuntu.com/ubuntu xenial-updates/multiverse amd64 Packages [15.3 kB]
Get:35 http://nz-hlz-1a.clouds.archive.ubuntu.com/ubuntu xenial-updates/multiverse Translation-en [7544 B]
Get:36 http://nz-hlz-1a.clouds.archive.ubuntu.com/ubuntu xenial-backports/main Sources [3376 B]
Get:37 http://nz-hlz-1a.clouds.archive.ubuntu.com/ubuntu xenial-backports/universe Sources [4376 B]
Get:38 http://nz-hlz-1a.clouds.archive.ubuntu.com/ubuntu xenial-backports/main amd64 Packages [4836 B]
Get:39 http://nz-hlz-1a.clouds.archive.ubuntu.com/ubuntu xenial-backports/main Translation-en [3220 B]
Get:40 http://nz-hlz-1a.clouds.archive.ubuntu.com/ubuntu xenial-backports/universe amd64 Packages [5896 B]
Get:41 http://nz-hlz-1a.clouds.archive.ubuntu.com/ubuntu xenial-backports/universe Translation-en [3060 B]
Fetched 24.3 MB in 17s (1359 kB/s)
Reading package lists...
E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable)
E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?
Cloud-init v. 0.7.9 running 'modules:final' at Wed, 27 Sep 2017 02:57:39 +0000. Up 16.23 seconds.
2017-09-27 15:58:03,012 - util.py[WARNING]: Failed to install packages: ['python-minimal']
2017-09-27 15:58:03,048 - cc_package_update_upgrade_install.py[WARNING]: 1 failed with exceptions, re-raising the last one
2017-09-27 15:58:03,055 - util.py[WARNING]: Running module package-update-upgrade-install (<module 'cloudinit.config.cc_package_update_upgrade_install' from '/usr/lib/python3/dist-packages/cloudinit/config/cc_package_update_upgrade_install.py'>) failed
Cloud-init v. 0.7.9 finished at Wed, 27 Sep 2017 02:58:03 +0000. Datasource DataSourceOpenStack [net,ver=2]. Up 39.76 seconds
ubuntu@cloud-server-04:~$ ls -l /var/lib/dpkg/lock
-rw-r----- 1 root root 0 Sep 27 16:00 /var/lib/dpkg/lock