=== Begin SRU Template ===
[Impact]
Livepatch can only be enabled on a trusty machine if the kernel version is the hwe one. Therefore,
we must verify that once a Trusty machine has this kernel version running, Livepatch can be enabled
and used.

[Test Case]
```
#!/bin/sh
set -x
# Manually deploy on a trusty lxc vm
CONTRACT_TOKEN=TOKEN
series=trusty
name=$series-uac

cat > install_hwe_kernel.sh << EOF
sudo apt-get -yq install --install-recommends linux-generic-lts-xenial xserver-xorg-core-lts-xenial xserver-xorg-lts-xenial xserver-xorg-video-all-lts-xenial xserver-xorg-input-all-lts-xenial libwayland-egl1-mesa-lts-xenial
EOF

cat > install_uac_from_master.sh << EOF
    sudo apt-get -yq install git make
    git clone https://github.com/canonical/ubuntu-advantage-client.git /tmp/uac
    cd /tmp/uac/
    sudo make deps
    sudo dpkg-buildpackage -us -uc
EOF

create_base_vm() {
    multipass delete $name
    multipass purge
    multipass launch $series --name $name
}

install_hwe_kernel() {
    multipass transfer install_hwe_kernel.sh $name:/tmp/
    multipass exec $name bash /tmp/install_hwe_kernel.sh
    multipass restart $name
    sleep 20

    kernel_version=$(multipass exec $name -- uname -r)

    if [[ "$kernel_version" == 4.4.0* ]] ; then
        echo "SUCCESS: kernel was successfully updated to HWE: $kernel_version"
    else
        echo "FAILURE: kernel was not updated to HWE: $kernel_version"
    fi
}

update_uaclient() {
    name_build=$series-uac-build
    pkg_name=ubuntu-advantage-tools_25.0_amd64.deb
    multipass launch $series --name $name_build
    multipass transfer install_uac_from_master.sh $name_build:/tmp/
    multipass exec $name_build bash /tmp/install_uac_from_master.sh
    multipass transfer $name_build:/tmp/$pkg_name /tmp/
    multipass transfer /tmp/$pkg_name $name:/tmp/
    multipass exec $name -- sudo apt-get remove ubuntu-advantage-tools --assume-yes
    multipass exec $name -- sudo dpkg -i /tmp/$pkg_name

    uac_version=$(multipass exec $name -- ua version)

    if [[ "$uac_version" == 25.0* ]] ; then
        echo "SUCCESS: uaclient was successfully updated to: $uac_version"
    else
        echo "FAILURE: uaclient was not updated"
    fi

    multipass delete $name_build
    multipass purge
}

check_livepatch_is_not_installed() {
    multipass exec $name -- which canonical-livepatch
    return_code=$(multipass exec $name -- echo $?)

    if [ "$return_code" = "1" ] ; then
        echo "SUCESS: canonical-livepatch is not found before enabling it"
    else
        echo "FAILURE: canonical-livepatch was found before enabling it"
    fi
}

attach_token_in_uaclient() {
    multipass exec $name -- sudo ua attach $CONTRACT_TOKEN
}

enable_livepatch() {
    multipass exec $name -- sudo ua enable livepatch
}

check_livepatch() {
    return_str=$(multipass exec $name -- sudo canonical-livepatch status | grep running)
    expected_str="  running: true"

    if [ "$return_str" = "$expected_str" ]; then
        echo "SUCCESS: livepatch was enabled and is running"
    else
        echo "FAILURE: livepatch is not running"
    fi
}


create_base_vm
install_hwe_kernel
update_uaclient
check_livepatch_is_not_installed
attach_token_in_uaclient
enable_livepatch
check_livepatch
```

=== Verification Log ===

+ CONTRACT_TOKEN=<REDACTED-TOKEN>
+ series=trusty
+ name=trusty-uac
+ cat
+ cat
+ create_base_vm
+ multipass delete trusty-uac
+ multipass purge
+ multipass launch trusty --name trusty-uac
+ multipass transfer install_hwe_kernel.sh trusty-uac:/tmp/
+ multipass exec trusty-uac bash /tmp/install_hwe_kernel.sh
Reading package lists...
Building dependency tree...
Reading state information...
The following extra packages will be installed:
  amd64-microcode crda intel-microcode iucode-tool iw libdrm-amdgpu1
  libdrm-intel1 libdrm-nouveau2 libdrm-radeon1 libegl1-mesa-lts-xenial
  libepoxy0 libevdev2 libfontenc1 libgbm1-lts-xenial
  libgl1-mesa-dri-lts-xenial libgl1-mesa-glx-lts-xenial
  libglapi-mesa-lts-xenial libgles1-mesa-lts-xenial libgles2-mesa-lts-xenial
  libice6 libllvm3.8v4 libmtdev1 libnl-3-200 libnl-genl-3-200 libpciaccess0
  libpixman-1-0 libsm6 libtxc-dxtn-s2tc0 libwayland-client0 libwayland-server0
  libx11-xcb1 libxatracker2-lts-xenial libxaw7 libxcb-dri2-0 libxcb-dri3-0
  libxcb-glx0 libxcb-present0 libxcb-sync1 libxcb-util0 libxcb-xfixes0
  libxcursor1 libxdamage1 libxfixes3 libxfont1 libxi6 libxinerama1 libxkbfile1
  libxmu6 libxpm4 libxrandr2 libxrender1 libxshmfence1 libxss1 libxt6 libxtst6
  libxv1 libxvmc1 libxxf86vm1 linux-firmware linux-headers-4.4.0-148
  linux-headers-4.4.0-148-generic linux-headers-generic-lts-xenial
  linux-image-4.4.0-148-generic linux-image-generic-lts-xenial
  linux-modules-4.4.0-148-generic linux-modules-extra-4.4.0-148-generic
  thermald wireless-regdb x11-common x11-xkb-utils xfonts-base
  xfonts-encodings xfonts-utils xserver-common
  xserver-xorg-input-evdev-lts-xenial xserver-xorg-input-synaptics-lts-xenial
  xserver-xorg-input-vmmouse-lts-xenial xserver-xorg-input-wacom-lts-xenial
  xserver-xorg-video-amdgpu-lts-xenial xserver-xorg-video-ati-lts-xenial
  xserver-xorg-video-cirrus-lts-xenial xserver-xorg-video-fbdev-lts-xenial
  xserver-xorg-video-intel-lts-xenial xserver-xorg-video-mach64-lts-xenial
  xserver-xorg-video-mga-lts-xenial xserver-xorg-video-neomagic-lts-xenial
  xserver-xorg-video-nouveau-lts-xenial
  xserver-xorg-video-openchrome-lts-xenial xserver-xorg-video-qxl-lts-xenial
  xserver-xorg-video-r128-lts-xenial xserver-xorg-video-radeon-lts-xenial
  xserver-xorg-video-savage-lts-xenial
  xserver-xorg-video-siliconmotion-lts-xenial
  xserver-xorg-video-sisusb-lts-xenial xserver-xorg-video-tdfx-lts-xenial
  xserver-xorg-video-trident-lts-xenial xserver-xorg-video-vesa-lts-xenial
  xserver-xorg-video-vmware-lts-xenial
Suggested packages:
  fdutils linux-lts-xenial-doc-4.4.0 linux-lts-xenial-source-4.4.0
  linux-lts-xenial-tools xfs xserver xfonts-100dpi xfonts-75dpi
  xfonts-scalable gpointing-device-settings touchfreeze xinput
  firmware-amd-graphics firmware-linux
Recommended packages:
  xserver-xorg-video-modesetting
The following NEW packages will be installed:
  amd64-microcode crda intel-microcode iucode-tool iw libdrm-amdgpu1
  libdrm-intel1 libdrm-nouveau2 libdrm-radeon1 libegl1-mesa-lts-xenial
  libepoxy0 libevdev2 libfontenc1 libgbm1-lts-xenial
  libgl1-mesa-dri-lts-xenial libgl1-mesa-glx-lts-xenial
  libglapi-mesa-lts-xenial libgles1-mesa-lts-xenial libgles2-mesa-lts-xenial
  libice6 libllvm3.8v4 libmtdev1 libnl-3-200 libnl-genl-3-200 libpciaccess0
  libpixman-1-0 libsm6 libtxc-dxtn-s2tc0 libwayland-client0
  libwayland-egl1-mesa-lts-xenial libwayland-server0 libx11-xcb1
  libxatracker2-lts-xenial libxaw7 libxcb-dri2-0 libxcb-dri3-0 libxcb-glx0
  libxcb-present0 libxcb-sync1 libxcb-util0 libxcb-xfixes0 libxcursor1
  libxdamage1 libxfixes3 libxfont1 libxi6 libxinerama1 libxkbfile1 libxmu6
  libxpm4 libxrandr2 libxrender1 libxshmfence1 libxss1 libxt6 libxtst6 libxv1
  libxvmc1 libxxf86vm1 linux-firmware linux-generic-lts-xenial
  linux-headers-4.4.0-148 linux-headers-4.4.0-148-generic
  linux-headers-generic-lts-xenial linux-image-4.4.0-148-generic
  linux-image-generic-lts-xenial linux-modules-4.4.0-148-generic
  linux-modules-extra-4.4.0-148-generic thermald wireless-regdb x11-common
  x11-xkb-utils xfonts-base xfonts-encodings xfonts-utils xserver-common
  xserver-xorg-core-lts-xenial xserver-xorg-input-all-lts-xenial
  xserver-xorg-input-evdev-lts-xenial xserver-xorg-input-synaptics-lts-xenial
  xserver-xorg-input-vmmouse-lts-xenial xserver-xorg-input-wacom-lts-xenial
  xserver-xorg-lts-xenial xserver-xorg-video-all-lts-xenial
  xserver-xorg-video-amdgpu-lts-xenial xserver-xorg-video-ati-lts-xenial
  xserver-xorg-video-cirrus-lts-xenial xserver-xorg-video-fbdev-lts-xenial
  xserver-xorg-video-intel-lts-xenial xserver-xorg-video-mach64-lts-xenial
  xserver-xorg-video-mga-lts-xenial xserver-xorg-video-neomagic-lts-xenial
  xserver-xorg-video-nouveau-lts-xenial
  xserver-xorg-video-openchrome-lts-xenial xserver-xorg-video-qxl-lts-xenial
  xserver-xorg-video-r128-lts-xenial xserver-xorg-video-radeon-lts-xenial
  xserver-xorg-video-savage-lts-xenial
  xserver-xorg-video-siliconmotion-lts-xenial
  xserver-xorg-video-sisusb-lts-xenial xserver-xorg-video-tdfx-lts-xenial
  xserver-xorg-video-trident-lts-xenial xserver-xorg-video-vesa-lts-xenial
  xserver-xorg-video-vmware-lts-xenial
0 upgraded, 104 newly installed, 0 to remove and 0 not upgraded.
Need to get 129 MB of archives.
After this operation, 530 MB of additional disk space will be used.
Get:1 http://archive.ubuntu.com/ubuntu/ trusty-updates/main libdrm-amdgpu1 amd64 2.4.67-1ubuntu0.14.04.2 [16.4 kB]
Get:2 http://archive.ubuntu.com/ubuntu/ trusty/main libpciaccess0 amd64 0.13.2-1 [20.4 kB]
Get:3 http://archive.ubuntu.com/ubuntu/ trusty-updates/main libdrm-intel1 amd64 2.4.67-1ubuntu0.14.04.2 [55.3 kB]
Get:4 http://archive.ubuntu.com/ubuntu/ trusty-updates/main libdrm-nouveau2 amd64 2.4.67-1ubuntu0.14.04.2 [16.0 kB]
Get:5 http://archive.ubuntu.com/ubuntu/ trusty-updates/main libdrm-radeon1 amd64 2.4.67-1ubuntu0.14.04.2 [21.2 kB]
Get:6 http://archive.ubuntu.com/ubuntu/ trusty-updates/main libwayland-client0 amd64 1.4.0-1ubuntu1.1 [22.1 kB]
Get:7 http://archive.ubuntu.com/ubuntu/ trusty-updates/main libwayland-server0 amd64 1.4.0-1ubuntu1.1 [26.9 kB]
Get:8 http://archive.ubuntu.com/ubuntu/ trusty-updates/main libgbm1-lts-xenial amd64 11.2.0-1ubuntu2~trusty2 [24.3 kB]
Get:9 http://archive.ubuntu.com/ubuntu/ trusty-updates/main libx11-xcb1 amd64 2:1.6.2-1ubuntu2.1 [9,350 B]
Get:10 http://archive.ubuntu.com/ubuntu/ trusty/main libxcb-dri2-0 amd64 1.10-2ubuntu1 [6,710 B]
Get:11 http://archive.ubuntu.com/ubuntu/ trusty/main libxcb-dri3-0 amd64 1.10-2ubuntu1 [5,118 B]
Get:12 http://archive.ubuntu.com/ubuntu/ trusty/main libxcb-present0 amd64 1.10-2ubuntu1 [5,254 B]
Get:13 http://archive.ubuntu.com/ubuntu/ trusty/main libxcb-sync1 amd64 1.10-2ubuntu1 [8,090 B]
Get:14 http://archive.ubuntu.com/ubuntu/ trusty/main libxcb-xfixes0 amd64 1.10-2ubuntu1 [8,486 B]
Get:15 http://archive.ubuntu.com/ubuntu/ trusty/main libxshmfence1 amd64 1.1-2 [4,644 B]
Get:16 http://archive.ubuntu.com/ubuntu/ trusty-updates/main libllvm3.8v4 amd64 1:3.8-2ubuntu3~trusty5 [9,724 kB]
Get:17 http://archive.ubuntu.com/ubuntu/ trusty-updates/main libgl1-mesa-dri-lts-xenial amd64 11.2.0-1ubuntu2~trusty2 [4,502 kB]
Get:18 http://archive.ubuntu.com/ubuntu/ trusty-updates/main libegl1-mesa-lts-xenial amd64 11.2.0-1ubuntu2~trusty2 [69.0 kB]
Get:19 http://archive.ubuntu.com/ubuntu/ trusty/main libfontenc1 amd64 1:1.1.2-1 [15.6 kB]
Get:20 http://archive.ubuntu.com/ubuntu/ trusty-updates/main libglapi-mesa-lts-xenial amd64 11.2.0-1ubuntu2~trusty2 [22.7 kB]
Get:21 http://archive.ubuntu.com/ubuntu/ trusty/main libxcb-glx0 amd64 1.10-2ubuntu1 [20.0 kB]
Get:22 http://archive.ubuntu.com/ubuntu/ trusty/main libxdamage1 amd64 1:1.1.4-1ubuntu1 [7,612 B]
Get:23 http://archive.ubuntu.com/ubuntu/ trusty-updates/main libxfixes3 amd64 1:5.0.1-1ubuntu1.1 [10.4 kB]
Get:24 http://archive.ubuntu.com/ubuntu/ trusty/main libxxf86vm1 amd64 1:1.1.3-1 [11.7 kB]
Get:25 http://archive.ubuntu.com/ubuntu/ trusty-updates/main libgl1-mesa-glx-lts-xenial amd64 11.2.0-1ubuntu2~trusty2 [123 kB]
Get:26 http://archive.ubuntu.com/ubuntu/ trusty-updates/main libgles1-mesa-lts-xenial amd64 11.2.0-1ubuntu2~trusty2 [8,946 B]
Get:27 http://archive.ubuntu.com/ubuntu/ trusty-updates/main libgles2-mesa-lts-xenial amd64 11.2.0-1ubuntu2~trusty2 [11.8 kB]
Get:28 http://archive.ubuntu.com/ubuntu/ trusty-updates/main x11-common all 1:7.7+1ubuntu8.1 [49.5 kB]
Get:29 http://archive.ubuntu.com/ubuntu/ trusty/main libice6 amd64 2:1.0.8-2 [47.0 kB]
Get:30 http://archive.ubuntu.com/ubuntu/ trusty/main libmtdev1 amd64 1.1.4-1ubuntu1 [15.3 kB]
Get:31 http://archive.ubuntu.com/ubuntu/ trusty-updates/main libnl-3-200 amd64 3.2.21-1ubuntu4.1 [45.3 kB]
Get:32 http://archive.ubuntu.com/ubuntu/ trusty-updates/main libnl-genl-3-200 amd64 3.2.21-1ubuntu4.1 [10.2 kB]
Get:33 http://archive.ubuntu.com/ubuntu/ trusty-updates/main libpixman-1-0 amd64 0.30.2-2ubuntu1.2 [226 kB]
Get:34 http://archive.ubuntu.com/ubuntu/ trusty/main libsm6 amd64 2:1.2.1-2 [18.1 kB]
Get:35 http://archive.ubuntu.com/ubuntu/ trusty-updates/main libwayland-egl1-mesa-lts-xenial amd64 11.2.0-1ubuntu2~trusty2 [5,932 B]
Get:36 http://archive.ubuntu.com/ubuntu/ trusty-updates/main libxatracker2-lts-xenial amd64 11.2.0-1ubuntu2~trusty2 [981 kB]
Get:37 http://archive.ubuntu.com/ubuntu/ trusty/main libxt6 amd64 1:1.1.4-1 [185 kB]
Get:38 http://archive.ubuntu.com/ubuntu/ trusty/main libxmu6 amd64 2:1.1.1-1 [53.8 kB]
Get:39 http://archive.ubuntu.com/ubuntu/ trusty-updates/main libxpm4 amd64 1:3.5.10-1ubuntu0.1 [33.2 kB]
Get:40 http://archive.ubuntu.com/ubuntu/ trusty/main libxaw7 amd64 2:1.0.12-1 [168 kB]
Get:41 http://archive.ubuntu.com/ubuntu/ trusty-updates/main libxrender1 amd64 1:0.9.8-1build0.14.04.1 [17.9 kB]
Get:42 http://archive.ubuntu.com/ubuntu/ trusty-updates/main libxcursor1 amd64 1:1.1.14-1ubuntu0.14.04.2 [19.8 kB]
Get:43 http://archive.ubuntu.com/ubuntu/ trusty-updates/main libxfont1 amd64 1:1.4.7-1ubuntu0.4 [95.1 kB]
Get:44 http://archive.ubuntu.com/ubuntu/ trusty-updates/main libxi6 amd64 2:1.7.1.901-1ubuntu1.1 [27.9 kB]
Get:45 http://archive.ubuntu.com/ubuntu/ trusty/main libxinerama1 amd64 2:1.1.3-1 [7,908 B]
Get:46 http://archive.ubuntu.com/ubuntu/ trusty/main libxkbfile1 amd64 1:1.0.8-1 [74.2 kB]
Get:47 http://archive.ubuntu.com/ubuntu/ trusty-updates/main libxrandr2 amd64 2:1.5.0-1~trusty1 [17.5 kB]
Get:48 http://archive.ubuntu.com/ubuntu/ trusty/main libxss1 amd64 1:1.2.2-1 [8,582 B]
Get:49 http://archive.ubuntu.com/ubuntu/ trusty/main libxtst6 amd64 2:1.2.2-1 [14.1 kB]
Get:50 http://archive.ubuntu.com/ubuntu/ trusty/main libxv1 amd64 2:1.0.10-1 [10.3 kB]
Get:51 http://archive.ubuntu.com/ubuntu/ trusty/main libxvmc1 amd64 2:1.0.8-1ubuntu1 [15.6 kB]
Get:52 http://archive.ubuntu.com/ubuntu/ trusty/universe libevdev2 amd64 1.0.99.2+dfsg-2ubuntu2 [25.8 kB]
Get:53 http://archive.ubuntu.com/ubuntu/ trusty/main libtxc-dxtn-s2tc0 amd64 0~git20131104-1.1 [51.8 kB]
Get:54 http://archive.ubuntu.com/ubuntu/ trusty/main libxcb-util0 amd64 0.3.8-2ubuntu1 [11.5 kB]
Get:55 http://archive.ubuntu.com/ubuntu/ trusty/main wireless-regdb all 2013.02.13-1ubuntu1 [6,456 B]
Get:56 http://archive.ubuntu.com/ubuntu/ trusty/main crda amd64 1.1.2-1ubuntu2 [15.2 kB]
Get:57 http://archive.ubuntu.com/ubuntu/ trusty/multiverse iucode-tool amd64 1.0.1-1 [28.1 kB]
Get:58 http://archive.ubuntu.com/ubuntu/ trusty/main iw amd64 3.4-1 [51.7 kB]
Get:59 http://archive.ubuntu.com/ubuntu/ trusty-updates/main libepoxy0 amd64 1.1-1build1 [157 kB]
Get:60 http://archive.ubuntu.com/ubuntu/ trusty-updates/main linux-firmware all 1.127.24 [33.9 MB]
Get:61 http://archive.ubuntu.com/ubuntu/ trusty-updates/main linux-modules-4.4.0-148-generic amd64 4.4.0-148.174~14.04.1 [11.2 MB]
Get:62 http://archive.ubuntu.com/ubuntu/ trusty-updates/main linux-image-4.4.0-148-generic amd64 4.4.0-148.174~14.04.1 [6,827 kB]
Get:63 http://archive.ubuntu.com/ubuntu/ trusty-updates/main linux-modules-extra-4.4.0-148-generic amd64 4.4.0-148.174~14.04.1 [36.2 MB]
Get:64 http://archive.ubuntu.com/ubuntu/ trusty-updates/main intel-microcode amd64 3.20190618.0ubuntu0.14.04.1 [1,924 kB]
Get:65 http://archive.ubuntu.com/ubuntu/ trusty-updates/main amd64-microcode amd64 3.20180524.1~ubuntu0.14.04.2+really20130710.1ubuntu1 [26.3 kB]
Get:66 http://archive.ubuntu.com/ubuntu/ trusty-updates/main linux-image-generic-lts-xenial amd64 4.4.0.148.130 [2,792 B]
Get:67 http://archive.ubuntu.com/ubuntu/ trusty-updates/main linux-headers-4.4.0-148 all 4.4.0-148.174~14.04.1 [10.1 MB]
Get:68 http://archive.ubuntu.com/ubuntu/ trusty-updates/main linux-headers-4.4.0-148-generic amd64 4.4.0-148.174~14.04.1 [824 kB]
Get:69 http://archive.ubuntu.com/ubuntu/ trusty-updates/main linux-headers-generic-lts-xenial amd64 4.4.0.148.130 [2,628 B]
Get:70 http://archive.ubuntu.com/ubuntu/ trusty-updates/main linux-generic-lts-xenial amd64 4.4.0.148.130 [1,804 B]
Get:71 http://archive.ubuntu.com/ubuntu/ trusty-updates/main thermald amd64 1.4.3-5~14.04.4 [202 kB]
Get:72 http://archive.ubuntu.com/ubuntu/ trusty/main x11-xkb-utils amd64 7.7+1 [156 kB]
Get:73 http://archive.ubuntu.com/ubuntu/ trusty/main xfonts-encodings all 1:1.0.4-1ubuntu1 [583 kB]
Get:74 http://archive.ubuntu.com/ubuntu/ trusty/main xfonts-utils amd64 1:7.7+1 [73.9 kB]
Get:75 http://archive.ubuntu.com/ubuntu/ trusty/main xfonts-base all 1:1.0.3 [6,180 kB]
Get:76 http://archive.ubuntu.com/ubuntu/ trusty-updates/main xserver-common all 2:1.15.1-0ubuntu2.11 [28.7 kB]
Get:77 http://archive.ubuntu.com/ubuntu/ trusty-updates/main xserver-xorg-core-lts-xenial amd64 2:1.18.3-1ubuntu2.3~trusty4 [1,297 kB]
Get:78 http://archive.ubuntu.com/ubuntu/ trusty-updates/main xserver-xorg-input-evdev-lts-xenial amd64 1:2.10.1-1ubuntu2~trusty1 [30.9 kB]
Get:79 http://archive.ubuntu.com/ubuntu/ trusty-updates/main xserver-xorg-input-synaptics-lts-xenial amd64 1.8.2-1ubuntu3~trusty1 [62.2 kB]
Get:80 http://archive.ubuntu.com/ubuntu/ trusty-updates/main xserver-xorg-input-vmmouse-lts-xenial amd64 1:13.1.0-1ubuntu2~trusty1 [14.2 kB]
Get:81 http://archive.ubuntu.com/ubuntu/ trusty-updates/main xserver-xorg-input-wacom-lts-xenial amd64 1:0.32.0-0ubuntu3~trusty1 [83.3 kB]
Get:82 http://archive.ubuntu.com/ubuntu/ trusty-updates/main xserver-xorg-input-all-lts-xenial amd64 1:7.7+13ubuntu3~trusty2 [4,354 B]
Get:83 http://archive.ubuntu.com/ubuntu/ trusty-updates/main xserver-xorg-lts-xenial amd64 1:7.7+13ubuntu3~trusty2 [4,908 B]
Get:84 http://archive.ubuntu.com/ubuntu/ trusty-updates/main xserver-xorg-video-amdgpu-lts-xenial amd64 1.1.0-1~trusty1 [50.4 kB]
Get:85 http://archive.ubuntu.com/ubuntu/ trusty-updates/main xserver-xorg-video-radeon-lts-xenial amd64 1:7.7.0-1~trusty2 [134 kB]
Get:86 http://archive.ubuntu.com/ubuntu/ trusty-updates/main xserver-xorg-video-r128-lts-xenial amd64 6.10.0-1build2~trusty1 [47.1 kB]
Get:87 http://archive.ubuntu.com/ubuntu/ trusty-updates/main xserver-xorg-video-mach64-lts-xenial amd64 6.9.5-1build2~trusty1 [57.3 kB]
Get:88 http://archive.ubuntu.com/ubuntu/ trusty-updates/main xserver-xorg-video-ati-lts-xenial amd64 1:7.7.0-1~trusty2 [6,846 B]
Get:89 http://archive.ubuntu.com/ubuntu/ trusty-updates/main xserver-xorg-video-fbdev-lts-xenial amd64 1:0.4.4-1build5~trusty1 [11.6 kB]
Get:90 http://archive.ubuntu.com/ubuntu/ trusty-updates/main xserver-xorg-video-nouveau-lts-xenial amd64 1:1.0.12-1build2~trusty1 [83.0 kB]
Get:91 http://archive.ubuntu.com/ubuntu/ trusty-updates/main xserver-xorg-video-vesa-lts-xenial amd64 1:2.3.4-1build2~trusty1 [14.5 kB]
Get:92 http://archive.ubuntu.com/ubuntu/ trusty-updates/main xserver-xorg-video-vmware-lts-xenial amd64 1:13.1.0-2ubuntu3~trusty1 [65.7 kB]
Get:93 http://archive.ubuntu.com/ubuntu/ trusty-updates/main xserver-xorg-video-cirrus-lts-xenial amd64 1:1.5.3-1ubuntu3~trusty1 [28.0 kB]
Get:94 http://archive.ubuntu.com/ubuntu/ trusty-updates/main xserver-xorg-video-mga-lts-xenial amd64 1:1.6.4-1build2~trusty1 [56.3 kB]
Get:95 http://archive.ubuntu.com/ubuntu/ trusty-updates/main xserver-xorg-video-neomagic-lts-xenial amd64 1:1.2.9-1build2~trusty1 [28.9 kB]
Get:96 http://archive.ubuntu.com/ubuntu/ trusty-updates/main xserver-xorg-video-openchrome-lts-xenial amd64 1:0.3.3+git20160310-1~trusty1 [138 kB]
Get:97 http://archive.ubuntu.com/ubuntu/ trusty-updates/main xserver-xorg-video-savage-lts-xenial amd64 1:2.3.8-1ubuntu3~trusty1 [59.5 kB]
Get:98 http://archive.ubuntu.com/ubuntu/ trusty-updates/main xserver-xorg-video-siliconmotion-lts-xenial amd64 1:1.7.8-1ubuntu6~trusty1 [47.6 kB]
Get:99 http://archive.ubuntu.com/ubuntu/ trusty-updates/main xserver-xorg-video-sisusb-lts-xenial amd64 1:0.9.6-2build5~trusty1 [36.0 kB]
Get:100 http://archive.ubuntu.com/ubuntu/ trusty-updates/main xserver-xorg-video-tdfx-lts-xenial amd64 1:1.4.6-1build2~trusty1 [28.8 kB]
Get:101 http://archive.ubuntu.com/ubuntu/ trusty-updates/main xserver-xorg-video-trident-lts-xenial amd64 1:1.3.7-1build2~trusty1 [53.3 kB]
Get:102 http://archive.ubuntu.com/ubuntu/ trusty-updates/main xserver-xorg-video-all-lts-xenial amd64 1:7.7+13ubuntu3~trusty2 [4,450 B]
Get:103 http://archive.ubuntu.com/ubuntu/ trusty-updates/main xserver-xorg-video-intel-lts-xenial amd64 2:2.99.917+git20160325-1ubuntu1~trusty1 [688 kB]
Get:104 http://archive.ubuntu.com/ubuntu/ trusty-updates/main xserver-xorg-video-qxl-lts-xenial amd64 0.1.4-3ubuntu3~trusty1 [77.8 kB]
debconf: unable to initialize frontend: Dialog
debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.)
debconf: falling back to frontend: Readline
debconf: unable to initialize frontend: Readline
debconf: (This frontend requires a controlling tty.)
debconf: falling back to frontend: Teletype
dpkg-preconfigure: unable to re-open stdin: 
Fetched 129 MB in 3min 5s (693 kB/s)
Selecting previously unselected package libdrm-amdgpu1:amd64.
(Reading database ... 51418 files and directories currently installed.)
Preparing to unpack .../libdrm-amdgpu1_2.4.67-1ubuntu0.14.04.2_amd64.deb ...
Unpacking libdrm-amdgpu1:amd64 (2.4.67-1ubuntu0.14.04.2) ...
Selecting previously unselected package libpciaccess0:amd64.
Preparing to unpack .../libpciaccess0_0.13.2-1_amd64.deb ...
Unpacking libpciaccess0:amd64 (0.13.2-1) ...
Selecting previously unselected package libdrm-intel1:amd64.
Preparing to unpack .../libdrm-intel1_2.4.67-1ubuntu0.14.04.2_amd64.deb ...
Unpacking libdrm-intel1:amd64 (2.4.67-1ubuntu0.14.04.2) ...
Selecting previously unselected package libdrm-nouveau2:amd64.
Preparing to unpack .../libdrm-nouveau2_2.4.67-1ubuntu0.14.04.2_amd64.deb ...
Unpacking libdrm-nouveau2:amd64 (2.4.67-1ubuntu0.14.04.2) ...
Selecting previously unselected package libdrm-radeon1:amd64.
Preparing to unpack .../libdrm-radeon1_2.4.67-1ubuntu0.14.04.2_amd64.deb ...
Unpacking libdrm-radeon1:amd64 (2.4.67-1ubuntu0.14.04.2) ...
Selecting previously unselected package libwayland-client0:amd64.
Preparing to unpack .../libwayland-client0_1.4.0-1ubuntu1.1_amd64.deb ...
Unpacking libwayland-client0:amd64 (1.4.0-1ubuntu1.1) ...
Selecting previously unselected package libwayland-server0:amd64.
Preparing to unpack .../libwayland-server0_1.4.0-1ubuntu1.1_amd64.deb ...
Unpacking libwayland-server0:amd64 (1.4.0-1ubuntu1.1) ...
Selecting previously unselected package libgbm1-lts-xenial:amd64.
Preparing to unpack .../libgbm1-lts-xenial_11.2.0-1ubuntu2~trusty2_amd64.deb ...
Adding 'diversion of /usr/lib/x86_64-linux-gnu/libgbm.so.1.0.0 to /usr/lib/x86_64-linux-gnu/old.libgbm.so.1.0.0 by libgbm1-lts-xenial'
Adding 'diversion of /usr/lib/x86_64-linux-gnu/libgbm.so.1 to /usr/lib/x86_64-linux-gnu/old.libgbm.so.1 by libgbm1-lts-xenial'
Adding 'diversion of /usr/lib/x86_64-linux-gnu/gbm/gbm_gallium_drm.so to /usr/lib/x86_64-linux-gnu/gbm/old.gbm_gallium_drm.so by libgbm1-lts-xenial'
Unpacking libgbm1-lts-xenial:amd64 (11.2.0-1ubuntu2~trusty2) ...
Selecting previously unselected package libx11-xcb1:amd64.
Preparing to unpack .../libx11-xcb1_2%3a1.6.2-1ubuntu2.1_amd64.deb ...
Unpacking libx11-xcb1:amd64 (2:1.6.2-1ubuntu2.1) ...
Selecting previously unselected package libxcb-dri2-0:amd64.
Preparing to unpack .../libxcb-dri2-0_1.10-2ubuntu1_amd64.deb ...
Unpacking libxcb-dri2-0:amd64 (1.10-2ubuntu1) ...
Selecting previously unselected package libxcb-dri3-0:amd64.
Preparing to unpack .../libxcb-dri3-0_1.10-2ubuntu1_amd64.deb ...
Unpacking libxcb-dri3-0:amd64 (1.10-2ubuntu1) ...
Selecting previously unselected package libxcb-present0:amd64.
Preparing to unpack .../libxcb-present0_1.10-2ubuntu1_amd64.deb ...
Unpacking libxcb-present0:amd64 (1.10-2ubuntu1) ...
Selecting previously unselected package libxcb-sync1:amd64.
Preparing to unpack .../libxcb-sync1_1.10-2ubuntu1_amd64.deb ...
Unpacking libxcb-sync1:amd64 (1.10-2ubuntu1) ...
Selecting previously unselected package libxcb-xfixes0:amd64.
Preparing to unpack .../libxcb-xfixes0_1.10-2ubuntu1_amd64.deb ...
Unpacking libxcb-xfixes0:amd64 (1.10-2ubuntu1) ...
Selecting previously unselected package libxshmfence1:amd64.
Preparing to unpack .../libxshmfence1_1.1-2_amd64.deb ...
Unpacking libxshmfence1:amd64 (1.1-2) ...
Selecting previously unselected package libllvm3.8v4:amd64.
Preparing to unpack .../libllvm3.8v4_1%3a3.8-2ubuntu3~trusty5_amd64.deb ...
Unpacking libllvm3.8v4:amd64 (1:3.8-2ubuntu3~trusty5) ...
Selecting previously unselected package libgl1-mesa-dri-lts-xenial:amd64.
Preparing to unpack .../libgl1-mesa-dri-lts-xenial_11.2.0-1ubuntu2~trusty2_amd64.deb ...
Unpacking libgl1-mesa-dri-lts-xenial:amd64 (11.2.0-1ubuntu2~trusty2) ...
Selecting previously unselected package libegl1-mesa-lts-xenial:amd64.
Preparing to unpack .../libegl1-mesa-lts-xenial_11.2.0-1ubuntu2~trusty2_amd64.deb ...
Unpacking libegl1-mesa-lts-xenial:amd64 (11.2.0-1ubuntu2~trusty2) ...
Selecting previously unselected package libfontenc1:amd64.
Preparing to unpack .../libfontenc1_1%3a1.1.2-1_amd64.deb ...
Unpacking libfontenc1:amd64 (1:1.1.2-1) ...
Selecting previously unselected package libglapi-mesa-lts-xenial:amd64.
Preparing to unpack .../libglapi-mesa-lts-xenial_11.2.0-1ubuntu2~trusty2_amd64.deb ...
Unpacking libglapi-mesa-lts-xenial:amd64 (11.2.0-1ubuntu2~trusty2) ...
Selecting previously unselected package libxcb-glx0:amd64.
Preparing to unpack .../libxcb-glx0_1.10-2ubuntu1_amd64.deb ...
Unpacking libxcb-glx0:amd64 (1.10-2ubuntu1) ...
Selecting previously unselected package libxdamage1:amd64.
Preparing to unpack .../libxdamage1_1%3a1.1.4-1ubuntu1_amd64.deb ...
Unpacking libxdamage1:amd64 (1:1.1.4-1ubuntu1) ...
Selecting previously unselected package libxfixes3:amd64.
Preparing to unpack .../libxfixes3_1%3a5.0.1-1ubuntu1.1_amd64.deb ...
Unpacking libxfixes3:amd64 (1:5.0.1-1ubuntu1.1) ...
Selecting previously unselected package libxxf86vm1:amd64.
Preparing to unpack .../libxxf86vm1_1%3a1.1.3-1_amd64.deb ...
Unpacking libxxf86vm1:amd64 (1:1.1.3-1) ...
Selecting previously unselected package libgl1-mesa-glx-lts-xenial:amd64.
Preparing to unpack .../libgl1-mesa-glx-lts-xenial_11.2.0-1ubuntu2~trusty2_amd64.deb ...
Unpacking libgl1-mesa-glx-lts-xenial:amd64 (11.2.0-1ubuntu2~trusty2) ...
Selecting previously unselected package libgles1-mesa-lts-xenial:amd64.
Preparing to unpack .../libgles1-mesa-lts-xenial_11.2.0-1ubuntu2~trusty2_amd64.deb ...
Unpacking libgles1-mesa-lts-xenial:amd64 (11.2.0-1ubuntu2~trusty2) ...
Selecting previously unselected package libgles2-mesa-lts-xenial:amd64.
Preparing to unpack .../libgles2-mesa-lts-xenial_11.2.0-1ubuntu2~trusty2_amd64.deb ...
Unpacking libgles2-mesa-lts-xenial:amd64 (11.2.0-1ubuntu2~trusty2) ...
Selecting previously unselected package x11-common.
Preparing to unpack .../x11-common_1%3a7.7+1ubuntu8.1_all.deb ...
debconf: unable to initialize frontend: Dialog
debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.)
debconf: falling back to frontend: Readline
debconf: unable to initialize frontend: Readline
debconf: (This frontend requires a controlling tty.)
debconf: falling back to frontend: Teletype
Unpacking x11-common (1:7.7+1ubuntu8.1) ...
Selecting previously unselected package libice6:amd64.
Preparing to unpack .../libice6_2%3a1.0.8-2_amd64.deb ...
Unpacking libice6:amd64 (2:1.0.8-2) ...
Selecting previously unselected package libmtdev1:amd64.
Preparing to unpack .../libmtdev1_1.1.4-1ubuntu1_amd64.deb ...
Unpacking libmtdev1:amd64 (1.1.4-1ubuntu1) ...
Selecting previously unselected package libnl-3-200:amd64.
Preparing to unpack .../libnl-3-200_3.2.21-1ubuntu4.1_amd64.deb ...
Unpacking libnl-3-200:amd64 (3.2.21-1ubuntu4.1) ...
Selecting previously unselected package libnl-genl-3-200:amd64.
Preparing to unpack .../libnl-genl-3-200_3.2.21-1ubuntu4.1_amd64.deb ...
Unpacking libnl-genl-3-200:amd64 (3.2.21-1ubuntu4.1) ...
Selecting previously unselected package libpixman-1-0:amd64.
Preparing to unpack .../libpixman-1-0_0.30.2-2ubuntu1.2_amd64.deb ...
Unpacking libpixman-1-0:amd64 (0.30.2-2ubuntu1.2) ...
Selecting previously unselected package libsm6:amd64.
Preparing to unpack .../libsm6_2%3a1.2.1-2_amd64.deb ...
Unpacking libsm6:amd64 (2:1.2.1-2) ...
Selecting previously unselected package libwayland-egl1-mesa-lts-xenial:amd64.
Preparing to unpack .../libwayland-egl1-mesa-lts-xenial_11.2.0-1ubuntu2~trusty2_amd64.deb ...
Unpacking libwayland-egl1-mesa-lts-xenial:amd64 (11.2.0-1ubuntu2~trusty2) ...
Selecting previously unselected package libxatracker2-lts-xenial:amd64.
Preparing to unpack .../libxatracker2-lts-xenial_11.2.0-1ubuntu2~trusty2_amd64.deb ...
Unpacking libxatracker2-lts-xenial:amd64 (11.2.0-1ubuntu2~trusty2) ...
Selecting previously unselected package libxt6:amd64.
Preparing to unpack .../libxt6_1%3a1.1.4-1_amd64.deb ...
Unpacking libxt6:amd64 (1:1.1.4-1) ...
Selecting previously unselected package libxmu6:amd64.
Preparing to unpack .../libxmu6_2%3a1.1.1-1_amd64.deb ...
Unpacking libxmu6:amd64 (2:1.1.1-1) ...
Selecting previously unselected package libxpm4:amd64.
Preparing to unpack .../libxpm4_1%3a3.5.10-1ubuntu0.1_amd64.deb ...
Unpacking libxpm4:amd64 (1:3.5.10-1ubuntu0.1) ...
Selecting previously unselected package libxaw7:amd64.
Preparing to unpack .../libxaw7_2%3a1.0.12-1_amd64.deb ...
Unpacking libxaw7:amd64 (2:1.0.12-1) ...
Selecting previously unselected package libxrender1:amd64.
Preparing to unpack .../libxrender1_1%3a0.9.8-1build0.14.04.1_amd64.deb ...
Unpacking libxrender1:amd64 (1:0.9.8-1build0.14.04.1) ...
Selecting previously unselected package libxcursor1:amd64.
Preparing to unpack .../libxcursor1_1%3a1.1.14-1ubuntu0.14.04.2_amd64.deb ...
Unpacking libxcursor1:amd64 (1:1.1.14-1ubuntu0.14.04.2) ...
Selecting previously unselected package libxfont1:amd64.
Preparing to unpack .../libxfont1_1%3a1.4.7-1ubuntu0.4_amd64.deb ...
Unpacking libxfont1:amd64 (1:1.4.7-1ubuntu0.4) ...
Selecting previously unselected package libxi6:amd64.
Preparing to unpack .../libxi6_2%3a1.7.1.901-1ubuntu1.1_amd64.deb ...
Unpacking libxi6:amd64 (2:1.7.1.901-1ubuntu1.1) ...
Selecting previously unselected package libxinerama1:amd64.
Preparing to unpack .../libxinerama1_2%3a1.1.3-1_amd64.deb ...
Unpacking libxinerama1:amd64 (2:1.1.3-1) ...
Selecting previously unselected package libxkbfile1:amd64.
Preparing to unpack .../libxkbfile1_1%3a1.0.8-1_amd64.deb ...
Unpacking libxkbfile1:amd64 (1:1.0.8-1) ...
Selecting previously unselected package libxrandr2:amd64.
Preparing to unpack .../libxrandr2_2%3a1.5.0-1~trusty1_amd64.deb ...
Unpacking libxrandr2:amd64 (2:1.5.0-1~trusty1) ...
Selecting previously unselected package libxss1:amd64.
Preparing to unpack .../libxss1_1%3a1.2.2-1_amd64.deb ...
Unpacking libxss1:amd64 (1:1.2.2-1) ...
Selecting previously unselected package libxtst6:amd64.
Preparing to unpack .../libxtst6_2%3a1.2.2-1_amd64.deb ...
Unpacking libxtst6:amd64 (2:1.2.2-1) ...
Selecting previously unselected package libxv1:amd64.
Preparing to unpack .../libxv1_2%3a1.0.10-1_amd64.deb ...
Unpacking libxv1:amd64 (2:1.0.10-1) ...
Selecting previously unselected package libxvmc1:amd64.
Preparing to unpack .../libxvmc1_2%3a1.0.8-1ubuntu1_amd64.deb ...
Unpacking libxvmc1:amd64 (2:1.0.8-1ubuntu1) ...
Selecting previously unselected package libevdev2.
Preparing to unpack .../libevdev2_1.0.99.2+dfsg-2ubuntu2_amd64.deb ...
Unpacking libevdev2 (1.0.99.2+dfsg-2ubuntu2) ...
Selecting previously unselected package libtxc-dxtn-s2tc0:amd64.
Preparing to unpack .../libtxc-dxtn-s2tc0_0~git20131104-1.1_amd64.deb ...
Unpacking libtxc-dxtn-s2tc0:amd64 (0~git20131104-1.1) ...
Selecting previously unselected package libxcb-util0:amd64.
Preparing to unpack .../libxcb-util0_0.3.8-2ubuntu1_amd64.deb ...
Unpacking libxcb-util0:amd64 (0.3.8-2ubuntu1) ...
Selecting previously unselected package wireless-regdb.
Preparing to unpack .../wireless-regdb_2013.02.13-1ubuntu1_all.deb ...
Unpacking wireless-regdb (2013.02.13-1ubuntu1) ...
Selecting previously unselected package crda.
Preparing to unpack .../crda_1.1.2-1ubuntu2_amd64.deb ...
Unpacking crda (1.1.2-1ubuntu2) ...
Selecting previously unselected package iucode-tool.
Preparing to unpack .../iucode-tool_1.0.1-1_amd64.deb ...
Unpacking iucode-tool (1.0.1-1) ...
Selecting previously unselected package iw.
Preparing to unpack .../archives/iw_3.4-1_amd64.deb ...
Unpacking iw (3.4-1) ...
Selecting previously unselected package libepoxy0.
Preparing to unpack .../libepoxy0_1.1-1build1_amd64.deb ...
Unpacking libepoxy0 (1.1-1build1) ...
Selecting previously unselected package linux-firmware.
Preparing to unpack .../linux-firmware_1.127.24_all.deb ...
Unpacking linux-firmware (1.127.24) ...
Selecting previously unselected package linux-modules-4.4.0-148-generic.
Preparing to unpack .../linux-modules-4.4.0-148-generic_4.4.0-148.174~14.04.1_amd64.deb ...
Unpacking linux-modules-4.4.0-148-generic (4.4.0-148.174~14.04.1) ...
Selecting previously unselected package linux-image-4.4.0-148-generic.
Preparing to unpack .../linux-image-4.4.0-148-generic_4.4.0-148.174~14.04.1_amd64.deb ...
Unpacking linux-image-4.4.0-148-generic (4.4.0-148.174~14.04.1) ...
Selecting previously unselected package linux-modules-extra-4.4.0-148-generic.
Preparing to unpack .../linux-modules-extra-4.4.0-148-generic_4.4.0-148.174~14.04.1_amd64.deb ...
Unpacking linux-modules-extra-4.4.0-148-generic (4.4.0-148.174~14.04.1) ...
Selecting previously unselected package intel-microcode.
Preparing to unpack .../intel-microcode_3.20190618.0ubuntu0.14.04.1_amd64.deb ...
Unpacking intel-microcode (3.20190618.0ubuntu0.14.04.1) ...
Selecting previously unselected package amd64-microcode.
Preparing to unpack .../amd64-microcode_3.20180524.1~ubuntu0.14.04.2+really20130710.1ubuntu1_amd64.deb ...
Unpacking amd64-microcode (3.20180524.1~ubuntu0.14.04.2+really20130710.1ubuntu1) ...
Selecting previously unselected package linux-image-generic-lts-xenial.
Preparing to unpack .../linux-image-generic-lts-xenial_4.4.0.148.130_amd64.deb ...
Unpacking linux-image-generic-lts-xenial (4.4.0.148.130) ...
Selecting previously unselected package linux-headers-4.4.0-148.
Preparing to unpack .../linux-headers-4.4.0-148_4.4.0-148.174~14.04.1_all.deb ...
Unpacking linux-headers-4.4.0-148 (4.4.0-148.174~14.04.1) ...
Selecting previously unselected package linux-headers-4.4.0-148-generic.
Preparing to unpack .../linux-headers-4.4.0-148-generic_4.4.0-148.174~14.04.1_amd64.deb ...
Unpacking linux-headers-4.4.0-148-generic (4.4.0-148.174~14.04.1) ...
Selecting previously unselected package linux-headers-generic-lts-xenial.
Preparing to unpack .../linux-headers-generic-lts-xenial_4.4.0.148.130_amd64.deb ...
Unpacking linux-headers-generic-lts-xenial (4.4.0.148.130) ...
Selecting previously unselected package linux-generic-lts-xenial.
Preparing to unpack .../linux-generic-lts-xenial_4.4.0.148.130_amd64.deb ...
Unpacking linux-generic-lts-xenial (4.4.0.148.130) ...
Selecting previously unselected package thermald.
Preparing to unpack .../thermald_1.4.3-5~14.04.4_amd64.deb ...
Unpacking thermald (1.4.3-5~14.04.4) ...
Selecting previously unselected package x11-xkb-utils.
Preparing to unpack .../x11-xkb-utils_7.7+1_amd64.deb ...
Unpacking x11-xkb-utils (7.7+1) ...
Selecting previously unselected package xfonts-encodings.
Preparing to unpack .../xfonts-encodings_1%3a1.0.4-1ubuntu1_all.deb ...
Unpacking xfonts-encodings (1:1.0.4-1ubuntu1) ...
Selecting previously unselected package xfonts-utils.
Preparing to unpack .../xfonts-utils_1%3a7.7+1_amd64.deb ...
Unpacking xfonts-utils (1:7.7+1) ...
Selecting previously unselected package xfonts-base.
Preparing to unpack .../xfonts-base_1%3a1.0.3_all.deb ...
Unpacking xfonts-base (1:1.0.3) ...
Selecting previously unselected package xserver-common.
Preparing to unpack .../xserver-common_2%3a1.15.1-0ubuntu2.11_all.deb ...
Unpacking xserver-common (2:1.15.1-0ubuntu2.11) ...
Selecting previously unselected package xserver-xorg-core-lts-xenial.
Preparing to unpack .../xserver-xorg-core-lts-xenial_2%3a1.18.3-1ubuntu2.3~trusty4_amd64.deb ...
Unpacking xserver-xorg-core-lts-xenial (2:1.18.3-1ubuntu2.3~trusty4) ...
Selecting previously unselected package xserver-xorg-input-evdev-lts-xenial.
Preparing to unpack .../xserver-xorg-input-evdev-lts-xenial_1%3a2.10.1-1ubuntu2~trusty1_amd64.deb ...
Unpacking xserver-xorg-input-evdev-lts-xenial (1:2.10.1-1ubuntu2~trusty1) ...
Selecting previously unselected package xserver-xorg-input-synaptics-lts-xenial.
Preparing to unpack .../xserver-xorg-input-synaptics-lts-xenial_1.8.2-1ubuntu3~trusty1_amd64.deb ...
Unpacking xserver-xorg-input-synaptics-lts-xenial (1.8.2-1ubuntu3~trusty1) ...
Selecting previously unselected package xserver-xorg-input-vmmouse-lts-xenial.
Preparing to unpack .../xserver-xorg-input-vmmouse-lts-xenial_1%3a13.1.0-1ubuntu2~trusty1_amd64.deb ...
Unpacking xserver-xorg-input-vmmouse-lts-xenial (1:13.1.0-1ubuntu2~trusty1) ...
Selecting previously unselected package xserver-xorg-input-wacom-lts-xenial.
Preparing to unpack .../xserver-xorg-input-wacom-lts-xenial_1%3a0.32.0-0ubuntu3~trusty1_amd64.deb ...
Unpacking xserver-xorg-input-wacom-lts-xenial (1:0.32.0-0ubuntu3~trusty1) ...
Selecting previously unselected package xserver-xorg-input-all-lts-xenial.
Preparing to unpack .../xserver-xorg-input-all-lts-xenial_1%3a7.7+13ubuntu3~trusty2_amd64.deb ...
Unpacking xserver-xorg-input-all-lts-xenial (1:7.7+13ubuntu3~trusty2) ...
Selecting previously unselected package xserver-xorg-lts-xenial.
Preparing to unpack .../xserver-xorg-lts-xenial_1%3a7.7+13ubuntu3~trusty2_amd64.deb ...
Unpacking xserver-xorg-lts-xenial (1:7.7+13ubuntu3~trusty2) ...
Selecting previously unselected package xserver-xorg-video-amdgpu-lts-xenial.
Preparing to unpack .../xserver-xorg-video-amdgpu-lts-xenial_1.1.0-1~trusty1_amd64.deb ...
Unpacking xserver-xorg-video-amdgpu-lts-xenial (1.1.0-1~trusty1) ...
Selecting previously unselected package xserver-xorg-video-radeon-lts-xenial.
Preparing to unpack .../xserver-xorg-video-radeon-lts-xenial_1%3a7.7.0-1~trusty2_amd64.deb ...
Unpacking xserver-xorg-video-radeon-lts-xenial (1:7.7.0-1~trusty2) ...
Selecting previously unselected package xserver-xorg-video-r128-lts-xenial.
Preparing to unpack .../xserver-xorg-video-r128-lts-xenial_6.10.0-1build2~trusty1_amd64.deb ...
Unpacking xserver-xorg-video-r128-lts-xenial (6.10.0-1build2~trusty1) ...
Selecting previously unselected package xserver-xorg-video-mach64-lts-xenial.
Preparing to unpack .../xserver-xorg-video-mach64-lts-xenial_6.9.5-1build2~trusty1_amd64.deb ...
Unpacking xserver-xorg-video-mach64-lts-xenial (6.9.5-1build2~trusty1) ...
Selecting previously unselected package xserver-xorg-video-ati-lts-xenial.
Preparing to unpack .../xserver-xorg-video-ati-lts-xenial_1%3a7.7.0-1~trusty2_amd64.deb ...
Unpacking xserver-xorg-video-ati-lts-xenial (1:7.7.0-1~trusty2) ...
Selecting previously unselected package xserver-xorg-video-fbdev-lts-xenial.
Preparing to unpack .../xserver-xorg-video-fbdev-lts-xenial_1%3a0.4.4-1build5~trusty1_amd64.deb ...
Unpacking xserver-xorg-video-fbdev-lts-xenial (1:0.4.4-1build5~trusty1) ...
Selecting previously unselected package xserver-xorg-video-nouveau-lts-xenial.
Preparing to unpack .../xserver-xorg-video-nouveau-lts-xenial_1%3a1.0.12-1build2~trusty1_amd64.deb ...
Unpacking xserver-xorg-video-nouveau-lts-xenial (1:1.0.12-1build2~trusty1) ...
Selecting previously unselected package xserver-xorg-video-vesa-lts-xenial.
Preparing to unpack .../xserver-xorg-video-vesa-lts-xenial_1%3a2.3.4-1build2~trusty1_amd64.deb ...
Unpacking xserver-xorg-video-vesa-lts-xenial (1:2.3.4-1build2~trusty1) ...
Selecting previously unselected package xserver-xorg-video-vmware-lts-xenial.
Preparing to unpack .../xserver-xorg-video-vmware-lts-xenial_1%3a13.1.0-2ubuntu3~trusty1_amd64.deb ...
Unpacking xserver-xorg-video-vmware-lts-xenial (1:13.1.0-2ubuntu3~trusty1) ...
Selecting previously unselected package xserver-xorg-video-cirrus-lts-xenial.
Preparing to unpack .../xserver-xorg-video-cirrus-lts-xenial_1%3a1.5.3-1ubuntu3~trusty1_amd64.deb ...
Unpacking xserver-xorg-video-cirrus-lts-xenial (1:1.5.3-1ubuntu3~trusty1) ...
Selecting previously unselected package xserver-xorg-video-mga-lts-xenial.
Preparing to unpack .../xserver-xorg-video-mga-lts-xenial_1%3a1.6.4-1build2~trusty1_amd64.deb ...
Unpacking xserver-xorg-video-mga-lts-xenial (1:1.6.4-1build2~trusty1) ...
Selecting previously unselected package xserver-xorg-video-neomagic-lts-xenial.
Preparing to unpack .../xserver-xorg-video-neomagic-lts-xenial_1%3a1.2.9-1build2~trusty1_amd64.deb ...
Unpacking xserver-xorg-video-neomagic-lts-xenial (1:1.2.9-1build2~trusty1) ...
Selecting previously unselected package xserver-xorg-video-openchrome-lts-xenial.
Preparing to unpack .../xserver-xorg-video-openchrome-lts-xenial_1%3a0.3.3+git20160310-1~trusty1_amd64.deb ...
Unpacking xserver-xorg-video-openchrome-lts-xenial (1:0.3.3+git20160310-1~trusty1) ...
Selecting previously unselected package xserver-xorg-video-savage-lts-xenial.
Preparing to unpack .../xserver-xorg-video-savage-lts-xenial_1%3a2.3.8-1ubuntu3~trusty1_amd64.deb ...
Unpacking xserver-xorg-video-savage-lts-xenial (1:2.3.8-1ubuntu3~trusty1) ...
Selecting previously unselected package xserver-xorg-video-siliconmotion-lts-xenial.
Preparing to unpack .../xserver-xorg-video-siliconmotion-lts-xenial_1%3a1.7.8-1ubuntu6~trusty1_amd64.deb ...
Unpacking xserver-xorg-video-siliconmotion-lts-xenial (1:1.7.8-1ubuntu6~trusty1) ...
Selecting previously unselected package xserver-xorg-video-sisusb-lts-xenial.
Preparing to unpack .../xserver-xorg-video-sisusb-lts-xenial_1%3a0.9.6-2build5~trusty1_amd64.deb ...
Unpacking xserver-xorg-video-sisusb-lts-xenial (1:0.9.6-2build5~trusty1) ...
Selecting previously unselected package xserver-xorg-video-tdfx-lts-xenial.
Preparing to unpack .../xserver-xorg-video-tdfx-lts-xenial_1%3a1.4.6-1build2~trusty1_amd64.deb ...
Unpacking xserver-xorg-video-tdfx-lts-xenial (1:1.4.6-1build2~trusty1) ...
Selecting previously unselected package xserver-xorg-video-trident-lts-xenial.
Preparing to unpack .../xserver-xorg-video-trident-lts-xenial_1%3a1.3.7-1build2~trusty1_amd64.deb ...
Unpacking xserver-xorg-video-trident-lts-xenial (1:1.3.7-1build2~trusty1) ...
Selecting previously unselected package xserver-xorg-video-all-lts-xenial.
Preparing to unpack .../xserver-xorg-video-all-lts-xenial_1%3a7.7+13ubuntu3~trusty2_amd64.deb ...
Unpacking xserver-xorg-video-all-lts-xenial (1:7.7+13ubuntu3~trusty2) ...
Selecting previously unselected package xserver-xorg-video-intel-lts-xenial.
Preparing to unpack .../xserver-xorg-video-intel-lts-xenial_2%3a2.99.917+git20160325-1ubuntu1~trusty1_amd64.deb ...
Unpacking xserver-xorg-video-intel-lts-xenial (2:2.99.917+git20160325-1ubuntu1~trusty1) ...
Selecting previously unselected package xserver-xorg-video-qxl-lts-xenial.
Preparing to unpack .../xserver-xorg-video-qxl-lts-xenial_0.1.4-3ubuntu3~trusty1_amd64.deb ...
Unpacking xserver-xorg-video-qxl-lts-xenial (0.1.4-3ubuntu3~trusty1) ...
Processing triggers for man-db (2.6.7.1-1ubuntu1) ...
Processing triggers for ureadahead (0.100.0-16) ...
Setting up libdrm-amdgpu1:amd64 (2.4.67-1ubuntu0.14.04.2) ...
Setting up libpciaccess0:amd64 (0.13.2-1) ...
Setting up libdrm-intel1:amd64 (2.4.67-1ubuntu0.14.04.2) ...
Setting up libdrm-nouveau2:amd64 (2.4.67-1ubuntu0.14.04.2) ...
Setting up libdrm-radeon1:amd64 (2.4.67-1ubuntu0.14.04.2) ...
Setting up libwayland-client0:amd64 (1.4.0-1ubuntu1.1) ...
Setting up libwayland-server0:amd64 (1.4.0-1ubuntu1.1) ...
Setting up libgbm1-lts-xenial:amd64 (11.2.0-1ubuntu2~trusty2) ...
Setting up libx11-xcb1:amd64 (2:1.6.2-1ubuntu2.1) ...
Setting up libxcb-dri2-0:amd64 (1.10-2ubuntu1) ...
Setting up libxcb-dri3-0:amd64 (1.10-2ubuntu1) ...
Setting up libxcb-present0:amd64 (1.10-2ubuntu1) ...
Setting up libxcb-sync1:amd64 (1.10-2ubuntu1) ...
Setting up libxcb-xfixes0:amd64 (1.10-2ubuntu1) ...
Setting up libxshmfence1:amd64 (1.1-2) ...
Setting up libllvm3.8v4:amd64 (1:3.8-2ubuntu3~trusty5) ...
Setting up libgl1-mesa-dri-lts-xenial:amd64 (11.2.0-1ubuntu2~trusty2) ...
Setting up libegl1-mesa-lts-xenial:amd64 (11.2.0-1ubuntu2~trusty2) ...
update-alternatives: using /usr/lib/x86_64-linux-gnu/mesa-egl/ld.so.conf to provide /etc/ld.so.conf.d/x86_64-linux-gnu_EGL.conf (x86_64-linux-gnu_egl_conf) in auto mode
Setting up libfontenc1:amd64 (1:1.1.2-1) ...
Setting up libglapi-mesa-lts-xenial:amd64 (11.2.0-1ubuntu2~trusty2) ...
Setting up libxcb-glx0:amd64 (1.10-2ubuntu1) ...
Setting up libxdamage1:amd64 (1:1.1.4-1ubuntu1) ...
Setting up libxfixes3:amd64 (1:5.0.1-1ubuntu1.1) ...
Setting up libxxf86vm1:amd64 (1:1.1.3-1) ...
Setting up libgl1-mesa-glx-lts-xenial:amd64 (11.2.0-1ubuntu2~trusty2) ...
update-alternatives: using /usr/lib/x86_64-linux-gnu/mesa/ld.so.conf to provide /etc/ld.so.conf.d/x86_64-linux-gnu_GL.conf (x86_64-linux-gnu_gl_conf) in auto mode
Setting up libgles1-mesa-lts-xenial:amd64 (11.2.0-1ubuntu2~trusty2) ...
Setting up libgles2-mesa-lts-xenial:amd64 (11.2.0-1ubuntu2~trusty2) ...
Setting up x11-common (1:7.7+1ubuntu8.1) ...
debconf: unable to initialize frontend: Dialog
debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.)
debconf: falling back to frontend: Readline
debconf: unable to initialize frontend: Readline
debconf: (This frontend requires a controlling tty.)
debconf: falling back to frontend: Teletype
 * Setting up X socket directories...
   ...done.
Setting up libmtdev1:amd64 (1.1.4-1ubuntu1) ...
Setting up libnl-3-200:amd64 (3.2.21-1ubuntu4.1) ...
Setting up libnl-genl-3-200:amd64 (3.2.21-1ubuntu4.1) ...
Setting up libpixman-1-0:amd64 (0.30.2-2ubuntu1.2) ...
Setting up libwayland-egl1-mesa-lts-xenial:amd64 (11.2.0-1ubuntu2~trusty2) ...
Setting up libxatracker2-lts-xenial:amd64 (11.2.0-1ubuntu2~trusty2) ...
Setting up libxpm4:amd64 (1:3.5.10-1ubuntu0.1) ...
Setting up libxrender1:amd64 (1:0.9.8-1build0.14.04.1) ...
Setting up libxcursor1:amd64 (1:1.1.14-1ubuntu0.14.04.2) ...
Setting up libxfont1:amd64 (1:1.4.7-1ubuntu0.4) ...
Setting up libxi6:amd64 (2:1.7.1.901-1ubuntu1.1) ...
Setting up libxinerama1:amd64 (2:1.1.3-1) ...
Setting up libxkbfile1:amd64 (1:1.0.8-1) ...
Setting up libxrandr2:amd64 (2:1.5.0-1~trusty1) ...
Setting up libxv1:amd64 (2:1.0.10-1) ...
Setting up libevdev2 (1.0.99.2+dfsg-2ubuntu2) ...
Setting up libtxc-dxtn-s2tc0:amd64 (0~git20131104-1.1) ...
update-alternatives: using /usr/lib/x86_64-linux-gnu/libtxc_dxtn_s2tc.so.0 to provide /usr/lib/x86_64-linux-gnu/libtxc_dxtn.so (libtxc-dxtn-x86_64-linux-gnu) in auto mode
Setting up libxcb-util0:amd64 (0.3.8-2ubuntu1) ...
Setting up wireless-regdb (2013.02.13-1ubuntu1) ...
Setting up crda (1.1.2-1ubuntu2) ...
Setting up iucode-tool (1.0.1-1) ...
Setting up iw (3.4-1) ...
Setting up libepoxy0 (1.1-1build1) ...
Setting up linux-firmware (1.127.24) ...
update-initramfs: Generating /boot/initrd.img-3.13.0-170-generic
Setting up linux-modules-4.4.0-148-generic (4.4.0-148.174~14.04.1) ...
Setting up linux-image-4.4.0-148-generic (4.4.0-148.174~14.04.1) ...
I: /vmlinuz is now a symlink to boot/vmlinuz-4.4.0-148-generic
I: /initrd.img is now a symlink to boot/initrd.img-4.4.0-148-generic
Setting up linux-modules-extra-4.4.0-148-generic (4.4.0-148.174~14.04.1) ...
Setting up intel-microcode (3.20190618.0ubuntu0.14.04.1) ...
update-initramfs: deferring update (trigger activated)
intel-microcode: microcode will be updated at next boot
Setting up amd64-microcode (3.20180524.1~ubuntu0.14.04.2+really20130710.1ubuntu1) ...
update-initramfs: deferring update (trigger activated)
Setting up linux-image-generic-lts-xenial (4.4.0.148.130) ...
Setting up linux-headers-4.4.0-148 (4.4.0-148.174~14.04.1) ...
Setting up linux-headers-4.4.0-148-generic (4.4.0-148.174~14.04.1) ...
Setting up linux-headers-generic-lts-xenial (4.4.0.148.130) ...
Setting up linux-generic-lts-xenial (4.4.0.148.130) ...
Setting up thermald (1.4.3-5~14.04.4) ...
thermald start/running, process 7285
Processing triggers for ureadahead (0.100.0-16) ...
Setting up libice6:amd64 (2:1.0.8-2) ...
Setting up libsm6:amd64 (2:1.2.1-2) ...
Setting up libxt6:amd64 (1:1.1.4-1) ...
Setting up libxmu6:amd64 (2:1.1.1-1) ...
Setting up libxaw7:amd64 (2:1.0.12-1) ...
Setting up libxss1:amd64 (1:1.2.2-1) ...
Setting up libxtst6:amd64 (2:1.2.2-1) ...
Setting up libxvmc1:amd64 (2:1.0.8-1ubuntu1) ...
Setting up x11-xkb-utils (7.7+1) ...
Setting up xfonts-encodings (1:1.0.4-1ubuntu1) ...
Setting up xfonts-utils (1:7.7+1) ...
Setting up xfonts-base (1:1.0.3) ...
Setting up xserver-common (2:1.15.1-0ubuntu2.11) ...
Setting up xserver-xorg-core-lts-xenial (2:1.18.3-1ubuntu2.3~trusty4) ...
Setting up xserver-xorg-input-evdev-lts-xenial (1:2.10.1-1ubuntu2~trusty1) ...
Setting up xserver-xorg-input-synaptics-lts-xenial (1.8.2-1ubuntu3~trusty1) ...
Setting up xserver-xorg-input-vmmouse-lts-xenial (1:13.1.0-1ubuntu2~trusty1) ...
Setting up xserver-xorg-input-wacom-lts-xenial (1:0.32.0-0ubuntu3~trusty1) ...
Setting up xserver-xorg-input-all-lts-xenial (1:7.7+13ubuntu3~trusty2) ...
Setting up xserver-xorg-lts-xenial (1:7.7+13ubuntu3~trusty2) ...
Setting up xserver-xorg-video-amdgpu-lts-xenial (1.1.0-1~trusty1) ...
Setting up xserver-xorg-video-radeon-lts-xenial (1:7.7.0-1~trusty2) ...
Setting up xserver-xorg-video-r128-lts-xenial (6.10.0-1build2~trusty1) ...
Setting up xserver-xorg-video-mach64-lts-xenial (6.9.5-1build2~trusty1) ...
Setting up xserver-xorg-video-ati-lts-xenial (1:7.7.0-1~trusty2) ...
Setting up xserver-xorg-video-fbdev-lts-xenial (1:0.4.4-1build5~trusty1) ...
Setting up xserver-xorg-video-nouveau-lts-xenial (1:1.0.12-1build2~trusty1) ...
Setting up xserver-xorg-video-vesa-lts-xenial (1:2.3.4-1build2~trusty1) ...
Setting up xserver-xorg-video-vmware-lts-xenial (1:13.1.0-2ubuntu3~trusty1) ...
Setting up xserver-xorg-video-cirrus-lts-xenial (1:1.5.3-1ubuntu3~trusty1) ...
Setting up xserver-xorg-video-mga-lts-xenial (1:1.6.4-1build2~trusty1) ...
Setting up xserver-xorg-video-neomagic-lts-xenial (1:1.2.9-1build2~trusty1) ...
Setting up xserver-xorg-video-openchrome-lts-xenial (1:0.3.3+git20160310-1~trusty1) ...
Setting up xserver-xorg-video-savage-lts-xenial (1:2.3.8-1ubuntu3~trusty1) ...
Setting up xserver-xorg-video-siliconmotion-lts-xenial (1:1.7.8-1ubuntu6~trusty1) ...
Setting up xserver-xorg-video-sisusb-lts-xenial (1:0.9.6-2build5~trusty1) ...
Setting up xserver-xorg-video-tdfx-lts-xenial (1:1.4.6-1build2~trusty1) ...
Setting up xserver-xorg-video-trident-lts-xenial (1:1.3.7-1build2~trusty1) ...
Setting up xserver-xorg-video-all-lts-xenial (1:7.7+13ubuntu3~trusty2) ...
Setting up xserver-xorg-video-intel-lts-xenial (2:2.99.917+git20160325-1ubuntu1~trusty1) ...
Setting up xserver-xorg-video-qxl-lts-xenial (0.1.4-3ubuntu3~trusty1) ...
Processing triggers for libc-bin (2.19-0ubuntu6.15) ...
Processing triggers for linux-image-4.4.0-148-generic (4.4.0-148.174~14.04.1) ...
/etc/kernel/postinst.d/initramfs-tools:
update-initramfs: Generating /boot/initrd.img-4.4.0-148-generic
/etc/kernel/postinst.d/x-grub-legacy-ec2:
debconf: unable to initialize frontend: Dialog
debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.)
debconf: falling back to frontend: Readline
debconf: unable to initialize frontend: Readline
debconf: (This frontend requires a controlling tty.)
debconf: falling back to frontend: Teletype
Searching for GRUB installation directory ... found: /boot/grub
Searching for default file ... found: /boot/grub/default
Testing for an existing GRUB menu.lst file ... found: /boot/grub/menu.lst
Searching for splash image ... none found, skipping ...
Found kernel: /boot/vmlinuz-3.13.0-170-generic
Found kernel: /boot/vmlinuz-4.4.0-148-generic
Found kernel: /boot/vmlinuz-3.13.0-170-generic
Replacing config file /run/grub/menu.lst with new version
Updating /boot/grub/menu.lst ... done

/etc/kernel/postinst.d/zz-update-grub:
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-4.4.0-148-generic
Found initrd image: /boot/initrd.img-4.4.0-148-generic
Found linux image: /boot/vmlinuz-3.13.0-170-generic
Found initrd image: /boot/initrd.img-3.13.0-170-generic
done
Processing triggers for initramfs-tools (0.103ubuntu4.11) ...
update-initramfs: Generating /boot/initrd.img-4.4.0-148-generic
+ multipass restart trusty-uac
++ multipass exec trusty-uac -- uname -r
+ kernel_version=4.4.0-148-generic
+ [[ 4.4.0-148-generic == 4.4.0* ]]
+ echo 'SUCCESS: kernel was successfully updated to HWE: 4.4.0-148-generic'
SUCCESS: kernel was successfully updated to HWE: 4.4.0-148-generic
+ update_uaclient
+ name_build=trusty-uac-build
+ pkg_name=ubuntu-advantage-tools_25.0_amd64.deb
+ multipass launch trusty --name trusty-uac-build
+ multipass exec trusty-uac-build bash /tmp/install_uac_from_master.sh
Reading package lists...
Building dependency tree...
Reading state information...
The following extra packages will be installed:
  git-man liberror-perl
Suggested packages:
  git-daemon-run git-daemon-sysvinit git-doc git-el git-email git-gui gitk
  gitweb git-arch git-bzr git-cvs git-mediawiki git-svn make-doc
The following NEW packages will be installed:
  git git-man liberror-perl make
0 upgraded, 4 newly installed, 0 to remove and 0 not upgraded.
Need to get 3,578 kB of archives.
After this operation, 22.3 MB of additional disk space will be used.
Get:1 http://archive.ubuntu.com/ubuntu/ trusty/main liberror-perl all 0.17-1.1 [21.1 kB]
Get:2 http://archive.ubuntu.com/ubuntu/ trusty-updates/main git-man all 1:1.9.1-1ubuntu0.10 [700 kB]
Get:3 http://archive.ubuntu.com/ubuntu/ trusty-updates/main git amd64 1:1.9.1-1ubuntu0.10 [2,737 kB]
Get:4 http://archive.ubuntu.com/ubuntu/ trusty/main make amd64 3.81-8.2ubuntu3 [119 kB]
debconf: unable to initialize frontend: Dialog
debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.)
debconf: falling back to frontend: Readline
debconf: unable to initialize frontend: Readline
debconf: (This frontend requires a controlling tty.)
debconf: falling back to frontend: Teletype
dpkg-preconfigure: unable to re-open stdin: 
Fetched 3,578 kB in 7s (482 kB/s)
Selecting previously unselected package liberror-perl.
(Reading database ... 51418 files and directories currently installed.)
Preparing to unpack .../liberror-perl_0.17-1.1_all.deb ...
Unpacking liberror-perl (0.17-1.1) ...
Selecting previously unselected package git-man.
Preparing to unpack .../git-man_1%3a1.9.1-1ubuntu0.10_all.deb ...
Unpacking git-man (1:1.9.1-1ubuntu0.10) ...
Selecting previously unselected package git.
Preparing to unpack .../git_1%3a1.9.1-1ubuntu0.10_amd64.deb ...
Unpacking git (1:1.9.1-1ubuntu0.10) ...
Selecting previously unselected package make.
Preparing to unpack .../make_3.81-8.2ubuntu3_amd64.deb ...
Unpacking make (3.81-8.2ubuntu3) ...
Processing triggers for man-db (2.6.7.1-1ubuntu1) ...
Setting up liberror-perl (0.17-1.1) ...
Setting up git-man (1:1.9.1-1ubuntu0.10) ...
Setting up git (1:1.9.1-1ubuntu0.10) ...
Setting up make (3.81-8.2ubuntu3) ...
Cloning into '/tmp/uac'...
Missing mk-build-deps; installing devscripts, equivs.
Reading package lists...
Building dependency tree...
Reading state information...
The following extra packages will be installed:
  binutils debhelper dh-apparmor dpkg-dev fakeroot gettext intltool-debian
  libcroco3 libdpkg-perl libfakeroot libgomp1 libunistring0 po-debconf
Suggested packages:
  binutils-doc dh-make bsd-mailx mailx build-essential cvs-buildpackage
  devscripts-el gnuplot libauthen-sasl-perl libfile-desktopentry-perl
  libnet-smtp-ssl-perl libterm-size-perl libyaml-syck-perl mutt
  svn-buildpackage debian-keyring liblwp-protocol-https-perl libsoap-lite-perl
  apparmor-easyprof gettext-doc libmail-box-perl
Recommended packages:
  dctrl-tools dput dupload libdistro-info-perl libencode-locale-perl
  libjson-perl libparse-debcontrol-perl liburi-perl libwww-perl lintian
  patchutils python3-debian python3-magic unzip wdiff gcc c-compiler
  libalgorithm-merge-perl libasprintf-dev libgettextpo-dev
  libfile-fcntllock-perl libmail-sendmail-perl
The following NEW packages will be installed:
  binutils debhelper devscripts dh-apparmor dpkg-dev equivs fakeroot gettext
  intltool-debian libcroco3 libdpkg-perl libfakeroot libgomp1 libunistring0
  po-debconf
0 upgraded, 15 newly installed, 0 to remove and 0 not upgraded.
Need to get 5,934 kB of archives.
After this operation, 24.1 MB of additional disk space will be used.
Get:1 http://archive.ubuntu.com/ubuntu/ trusty/main libcroco3 amd64 0.6.8-2ubuntu1 [82.4 kB]
Get:2 http://archive.ubuntu.com/ubuntu/ trusty-updates/main libgomp1 amd64 4.8.4-2ubuntu1~14.04.4 [23.1 kB]
Get:3 http://archive.ubuntu.com/ubuntu/ trusty/main libunistring0 amd64 0.9.3-5ubuntu3 [271 kB]
Get:4 http://archive.ubuntu.com/ubuntu/ trusty-updates/main binutils amd64 2.24-5ubuntu14.2 [2,076 kB]
Get:5 http://archive.ubuntu.com/ubuntu/ trusty-updates/main libdpkg-perl all 1.17.5ubuntu5.8 [179 kB]
Get:6 http://archive.ubuntu.com/ubuntu/ trusty-updates/main dpkg-dev all 1.17.5ubuntu5.8 [726 kB]
Get:7 http://archive.ubuntu.com/ubuntu/ trusty-updates/main gettext amd64 0.18.3.1-1ubuntu3.1 [829 kB]
Get:8 http://archive.ubuntu.com/ubuntu/ trusty/main intltool-debian all 0.35.0+20060710.1 [31.6 kB]
Get:9 http://archive.ubuntu.com/ubuntu/ trusty/main po-debconf all 1.0.16+nmu2ubuntu1 [210 kB]
Get:10 http://archive.ubuntu.com/ubuntu/ trusty-updates/main dh-apparmor all 2.10.95-0ubuntu2.6~14.04.4 [11.3 kB]
Get:11 http://archive.ubuntu.com/ubuntu/ trusty/main debhelper all 9.20131227ubuntu1 [604 kB]
Get:12 http://archive.ubuntu.com/ubuntu/ trusty-updates/main devscripts amd64 2.14.1ubuntu0.1 [792 kB]
Get:13 http://archive.ubuntu.com/ubuntu/ trusty/main libfakeroot amd64 1.20-3ubuntu2 [25.4 kB]
Get:14 http://archive.ubuntu.com/ubuntu/ trusty/main fakeroot amd64 1.20-3ubuntu2 [55.0 kB]
Get:15 http://archive.ubuntu.com/ubuntu/ trusty/universe equivs all 2.0.9 [18.5 kB]
debconf: unable to initialize frontend: Dialog
debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.)
debconf: falling back to frontend: Readline
debconf: unable to initialize frontend: Readline
debconf: (This frontend requires a controlling tty.)
debconf: falling back to frontend: Teletype
dpkg-preconfigure: unable to re-open stdin: 
Fetched 5,934 kB in 13s (432 kB/s)
Selecting previously unselected package libcroco3:amd64.
(Reading database ... 52178 files and directories currently installed.)
Preparing to unpack .../libcroco3_0.6.8-2ubuntu1_amd64.deb ...
Unpacking libcroco3:amd64 (0.6.8-2ubuntu1) ...
Selecting previously unselected package libgomp1:amd64.
Preparing to unpack .../libgomp1_4.8.4-2ubuntu1~14.04.4_amd64.deb ...
Unpacking libgomp1:amd64 (4.8.4-2ubuntu1~14.04.4) ...
Selecting previously unselected package libunistring0:amd64.
Preparing to unpack .../libunistring0_0.9.3-5ubuntu3_amd64.deb ...
Unpacking libunistring0:amd64 (0.9.3-5ubuntu3) ...
Selecting previously unselected package binutils.
Preparing to unpack .../binutils_2.24-5ubuntu14.2_amd64.deb ...
Unpacking binutils (2.24-5ubuntu14.2) ...
Selecting previously unselected package libdpkg-perl.
Preparing to unpack .../libdpkg-perl_1.17.5ubuntu5.8_all.deb ...
Unpacking libdpkg-perl (1.17.5ubuntu5.8) ...
Selecting previously unselected package dpkg-dev.
Preparing to unpack .../dpkg-dev_1.17.5ubuntu5.8_all.deb ...
Unpacking dpkg-dev (1.17.5ubuntu5.8) ...
Selecting previously unselected package gettext.
Preparing to unpack .../gettext_0.18.3.1-1ubuntu3.1_amd64.deb ...
Unpacking gettext (0.18.3.1-1ubuntu3.1) ...
Selecting previously unselected package intltool-debian.
Preparing to unpack .../intltool-debian_0.35.0+20060710.1_all.deb ...
Unpacking intltool-debian (0.35.0+20060710.1) ...
Selecting previously unselected package po-debconf.
Preparing to unpack .../po-debconf_1.0.16+nmu2ubuntu1_all.deb ...
Unpacking po-debconf (1.0.16+nmu2ubuntu1) ...
Selecting previously unselected package dh-apparmor.
Preparing to unpack .../dh-apparmor_2.10.95-0ubuntu2.6~14.04.4_all.deb ...
Unpacking dh-apparmor (2.10.95-0ubuntu2.6~14.04.4) ...
Selecting previously unselected package debhelper.
Preparing to unpack .../debhelper_9.20131227ubuntu1_all.deb ...
Unpacking debhelper (9.20131227ubuntu1) ...
Selecting previously unselected package devscripts.
Preparing to unpack .../devscripts_2.14.1ubuntu0.1_amd64.deb ...
Unpacking devscripts (2.14.1ubuntu0.1) ...
Selecting previously unselected package libfakeroot:amd64.
Preparing to unpack .../libfakeroot_1.20-3ubuntu2_amd64.deb ...
Unpacking libfakeroot:amd64 (1.20-3ubuntu2) ...
Selecting previously unselected package fakeroot.
Preparing to unpack .../fakeroot_1.20-3ubuntu2_amd64.deb ...
Unpacking fakeroot (1.20-3ubuntu2) ...
Selecting previously unselected package equivs.
Preparing to unpack .../archives/equivs_2.0.9_all.deb ...
Unpacking equivs (2.0.9) ...
Processing triggers for man-db (2.6.7.1-1ubuntu1) ...
Processing triggers for install-info (5.2.0.dfsg.1-2) ...
Setting up libcroco3:amd64 (0.6.8-2ubuntu1) ...
Setting up libgomp1:amd64 (4.8.4-2ubuntu1~14.04.4) ...
Setting up libunistring0:amd64 (0.9.3-5ubuntu3) ...
Setting up binutils (2.24-5ubuntu14.2) ...
Setting up libdpkg-perl (1.17.5ubuntu5.8) ...
Setting up dpkg-dev (1.17.5ubuntu5.8) ...
Setting up gettext (0.18.3.1-1ubuntu3.1) ...
Setting up intltool-debian (0.35.0+20060710.1) ...
Setting up po-debconf (1.0.16+nmu2ubuntu1) ...
Setting up dh-apparmor (2.10.95-0ubuntu2.6~14.04.4) ...
Setting up debhelper (9.20131227ubuntu1) ...
Setting up devscripts (2.14.1ubuntu0.1) ...
Setting up libfakeroot:amd64 (1.20-3ubuntu2) ...
Setting up fakeroot (1.20-3ubuntu2) ...
update-alternatives: using /usr/bin/fakeroot-sysv to provide /usr/bin/fakeroot (fakeroot) in auto mode
Setting up equivs (2.0.9) ...
Processing triggers for libc-bin (2.19-0ubuntu6.15) ...
mk-build-deps --tool "apt-get --no-install-recommends --yes" \
		--install --remove /tmp/uac//debian/control
make[1]: Entering directory `/tmp/uac/equivs.VNowxK'
dh_testdir
dh_testroot
dh_prep
dh_testdir
dh_testroot
dh_install
dh_installdocs
dh_installchangelogs
dh_compress
dh_fixperms
dh_installdeb
dh_gencontrol
sh: 1: gcc: not found
dpkg-gencontrol: warning: couldn't determine gcc system type, falling back to default (native compilation)
dpkg-gencontrol: warning: File::FcntlLock not available; using flock which is not NFS-safe
dh_md5sums
dh_builddeb
dpkg-deb: building package `ubuntu-advantage-tools-build-deps' in `../ubuntu-advantage-tools-build-deps_25.0_all.deb'.
make[1]: Leaving directory `/tmp/uac/equivs.VNowxK'

The package has been created.
Attention, the package has been created in the current directory,
not in ".." as indicated by the message above!
Selecting previously unselected package ubuntu-advantage-tools-build-deps.
(Reading database ... 53773 files and directories currently installed.)
Preparing to unpack ubuntu-advantage-tools-build-deps_25.0_all.deb ...
Unpacking ubuntu-advantage-tools-build-deps (25.0) ...
Reading package lists...
Building dependency tree...
Reading state information...
Correcting dependencies... Done
The following extra packages will be installed:
  build-essential cpp cpp-4.8 dh-systemd g++ g++-4.8 gcc gcc-4.8
  libapt-pkg-dev libasan0 libatomic1 libc-dev-bin libc6-dev libcloog-isl4
  libgcc-4.8-dev libgmp10 libisl10 libitm1 libmpc3 libmpfr4 libquadmath0
  libstdc++-4.8-dev libtsan0 linux-libc-dev pep8 pyflakes python-flake8
  python-mccabe python-setuptools python3-flake8 python3-mccabe python3-mock
  python3-pep8 python3-py python3-pytest python3-setuptools zlib1g-dev
Suggested packages:
  cpp-doc gcc-4.8-locales g++-multilib g++-4.8-multilib gcc-4.8-doc
  libstdc++6-4.8-dbg gcc-multilib manpages-dev autoconf automake1.9 libtool
  flex bison gdb gcc-doc gcc-4.8-multilib libgcc1-dbg libgomp1-dbg libitm1-dbg
  libatomic1-dbg libasan0-dbg libtsan0-dbg libquadmath0-dbg glibc-doc
  libstdc++-4.8-doc python-mock-doc subversion
The following NEW packages will be installed:
  build-essential cpp cpp-4.8 dh-systemd g++ g++-4.8 gcc gcc-4.8
  libapt-pkg-dev libasan0 libatomic1 libc-dev-bin libc6-dev libcloog-isl4
  libgcc-4.8-dev libgmp10 libisl10 libitm1 libmpc3 libmpfr4 libquadmath0
  libstdc++-4.8-dev libtsan0 linux-libc-dev pep8 pyflakes python-flake8
  python-mccabe python-setuptools python3-flake8 python3-mccabe python3-mock
  python3-pep8 python3-py python3-pytest python3-setuptools zlib1g-dev
0 upgraded, 37 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
Need to get 35.2 MB of archives.
After this operation, 102 MB of additional disk space will be used.
Get:1 http://archive.ubuntu.com/ubuntu/ trusty-updates/main libc-dev-bin amd64 2.19-0ubuntu6.15 [68.9 kB]
Get:2 http://archive.ubuntu.com/ubuntu/ trusty-updates/main linux-libc-dev amd64 3.13.0-170.220 [772 kB]
Get:3 http://archive.ubuntu.com/ubuntu/ trusty-updates/main libc6-dev amd64 2.19-0ubuntu6.15 [1,913 kB]
Get:4 http://archive.ubuntu.com/ubuntu/ trusty/main libgmp10 amd64 2:5.1.3+dfsg-1ubuntu1 [218 kB]
Get:5 http://archive.ubuntu.com/ubuntu/ trusty/main libisl10 amd64 0.12.2-1 [419 kB]
Get:6 http://archive.ubuntu.com/ubuntu/ trusty/main libcloog-isl4 amd64 0.18.2-1 [57.5 kB]
Get:7 http://archive.ubuntu.com/ubuntu/ trusty/main libmpfr4 amd64 3.1.2-1 [203 kB]
Get:8 http://archive.ubuntu.com/ubuntu/ trusty/main libmpc3 amd64 1.0.1-1ubuntu1 [38.4 kB]
Get:9 http://archive.ubuntu.com/ubuntu/ trusty-updates/main cpp-4.8 amd64 4.8.4-2ubuntu1~14.04.4 [4,452 kB]
Get:10 http://archive.ubuntu.com/ubuntu/ trusty/main cpp amd64 4:4.8.2-1ubuntu6 [27.5 kB]
Get:11 http://archive.ubuntu.com/ubuntu/ trusty-updates/main libitm1 amd64 4.8.4-2ubuntu1~14.04.4 [28.6 kB]
Get:12 http://archive.ubuntu.com/ubuntu/ trusty-updates/main libatomic1 amd64 4.8.4-2ubuntu1~14.04.4 [8,630 B]
Get:13 http://archive.ubuntu.com/ubuntu/ trusty-updates/main libasan0 amd64 4.8.4-2ubuntu1~14.04.4 [63.1 kB]
Get:14 http://archive.ubuntu.com/ubuntu/ trusty-updates/main libtsan0 amd64 4.8.4-2ubuntu1~14.04.4 [94.8 kB]
Get:15 http://archive.ubuntu.com/ubuntu/ trusty-updates/main libquadmath0 amd64 4.8.4-2ubuntu1~14.04.4 [126 kB]
Get:16 http://archive.ubuntu.com/ubuntu/ trusty-updates/main libgcc-4.8-dev amd64 4.8.4-2ubuntu1~14.04.4 [1,688 kB]
Get:17 http://archive.ubuntu.com/ubuntu/ trusty-updates/main gcc-4.8 amd64 4.8.4-2ubuntu1~14.04.4 [5,040 kB]
Get:18 http://archive.ubuntu.com/ubuntu/ trusty/main gcc amd64 4:4.8.2-1ubuntu6 [5,098 B]
Get:19 http://archive.ubuntu.com/ubuntu/ trusty-updates/main libstdc++-4.8-dev amd64 4.8.4-2ubuntu1~14.04.4 [1,051 kB]
Get:20 http://archive.ubuntu.com/ubuntu/ trusty-updates/main g++-4.8 amd64 4.8.4-2ubuntu1~14.04.4 [18.0 MB]
Get:21 http://archive.ubuntu.com/ubuntu/ trusty/main g++ amd64 4:4.8.2-1ubuntu6 [1,490 B]
Get:22 http://archive.ubuntu.com/ubuntu/ trusty/main build-essential amd64 11.6ubuntu6 [4,838 B]
Get:23 http://archive.ubuntu.com/ubuntu/ trusty-updates/main zlib1g-dev amd64 1:1.2.8.dfsg-1ubuntu1.1 [166 kB]
Get:24 http://archive.ubuntu.com/ubuntu/ trusty-updates/main libapt-pkg-dev amd64 1.0.1ubuntu2.24 [82.6 kB]
Get:25 http://archive.ubuntu.com/ubuntu/ trusty-updates/main python-setuptools all 3.3-1ubuntu2 [230 kB]
Get:26 http://archive.ubuntu.com/ubuntu/ trusty/main pep8 all 1.4.6-1.1build1 [27.4 kB]
Get:27 http://archive.ubuntu.com/ubuntu/ trusty/main pyflakes all 0.8.1-1 [31.2 kB]
Get:28 http://archive.ubuntu.com/ubuntu/ trusty/universe python-mccabe all 0.2.1-1 [6,782 B]
Get:29 http://archive.ubuntu.com/ubuntu/ trusty/universe python-flake8 amd64 2.1.0-1ubuntu1 [15.0 kB]
Get:30 http://archive.ubuntu.com/ubuntu/ trusty/universe python3-mccabe all 0.2.1-1 [6,600 B]
Get:31 http://archive.ubuntu.com/ubuntu/ trusty-updates/main python3-setuptools all 3.3-1ubuntu2 [144 kB]
Get:32 http://archive.ubuntu.com/ubuntu/ trusty/main python3-pep8 all 1.4.6-1.1build1 [26.0 kB]
Get:33 http://archive.ubuntu.com/ubuntu/ trusty/universe python3-flake8 amd64 2.1.0-1ubuntu1 [12.3 kB]
Get:34 http://archive.ubuntu.com/ubuntu/ trusty/main python3-mock all 1.0.1-3 [23.9 kB]
Get:35 http://archive.ubuntu.com/ubuntu/ trusty/main python3-py all 1.4.20-1 [62.4 kB]
Get:36 http://archive.ubuntu.com/ubuntu/ trusty/main python3-pytest all 2.5.1-1 [91.8 kB]
Get:37 http://archive.ubuntu.com/ubuntu/ trusty-updates/main dh-systemd all 1.14ubuntu1 [13.0 kB]
debconf: unable to initialize frontend: Dialog
debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.)
debconf: falling back to frontend: Readline
debconf: unable to initialize frontend: Readline
debconf: (This frontend requires a controlling tty.)
debconf: falling back to frontend: Teletype
dpkg-preconfigure: unable to re-open stdin: 
Fetched 35.2 MB in 52s (667 kB/s)
Selecting previously unselected package libc-dev-bin.
(Reading database ... 53777 files and directories currently installed.)
Preparing to unpack .../libc-dev-bin_2.19-0ubuntu6.15_amd64.deb ...
Unpacking libc-dev-bin (2.19-0ubuntu6.15) ...
Selecting previously unselected package linux-libc-dev:amd64.
Preparing to unpack .../linux-libc-dev_3.13.0-170.220_amd64.deb ...
Unpacking linux-libc-dev:amd64 (3.13.0-170.220) ...
Selecting previously unselected package libc6-dev:amd64.
Preparing to unpack .../libc6-dev_2.19-0ubuntu6.15_amd64.deb ...
Unpacking libc6-dev:amd64 (2.19-0ubuntu6.15) ...
Selecting previously unselected package libgmp10:amd64.
Preparing to unpack .../libgmp10_2%3a5.1.3+dfsg-1ubuntu1_amd64.deb ...
Unpacking libgmp10:amd64 (2:5.1.3+dfsg-1ubuntu1) ...
Selecting previously unselected package libisl10:amd64.
Preparing to unpack .../libisl10_0.12.2-1_amd64.deb ...
Unpacking libisl10:amd64 (0.12.2-1) ...
Selecting previously unselected package libcloog-isl4:amd64.
Preparing to unpack .../libcloog-isl4_0.18.2-1_amd64.deb ...
Unpacking libcloog-isl4:amd64 (0.18.2-1) ...
Selecting previously unselected package libmpfr4:amd64.
Preparing to unpack .../libmpfr4_3.1.2-1_amd64.deb ...
Unpacking libmpfr4:amd64 (3.1.2-1) ...
Selecting previously unselected package libmpc3:amd64.
Preparing to unpack .../libmpc3_1.0.1-1ubuntu1_amd64.deb ...
Unpacking libmpc3:amd64 (1.0.1-1ubuntu1) ...
Selecting previously unselected package cpp-4.8.
Preparing to unpack .../cpp-4.8_4.8.4-2ubuntu1~14.04.4_amd64.deb ...
Unpacking cpp-4.8 (4.8.4-2ubuntu1~14.04.4) ...
Selecting previously unselected package cpp.
Preparing to unpack .../cpp_4%3a4.8.2-1ubuntu6_amd64.deb ...
Unpacking cpp (4:4.8.2-1ubuntu6) ...
Selecting previously unselected package libitm1:amd64.
Preparing to unpack .../libitm1_4.8.4-2ubuntu1~14.04.4_amd64.deb ...
Unpacking libitm1:amd64 (4.8.4-2ubuntu1~14.04.4) ...
Selecting previously unselected package libatomic1:amd64.
Preparing to unpack .../libatomic1_4.8.4-2ubuntu1~14.04.4_amd64.deb ...
Unpacking libatomic1:amd64 (4.8.4-2ubuntu1~14.04.4) ...
Selecting previously unselected package libasan0:amd64.
Preparing to unpack .../libasan0_4.8.4-2ubuntu1~14.04.4_amd64.deb ...
Unpacking libasan0:amd64 (4.8.4-2ubuntu1~14.04.4) ...
Selecting previously unselected package libtsan0:amd64.
Preparing to unpack .../libtsan0_4.8.4-2ubuntu1~14.04.4_amd64.deb ...
Unpacking libtsan0:amd64 (4.8.4-2ubuntu1~14.04.4) ...
Selecting previously unselected package libquadmath0:amd64.
Preparing to unpack .../libquadmath0_4.8.4-2ubuntu1~14.04.4_amd64.deb ...
Unpacking libquadmath0:amd64 (4.8.4-2ubuntu1~14.04.4) ...
Selecting previously unselected package libgcc-4.8-dev:amd64.
Preparing to unpack .../libgcc-4.8-dev_4.8.4-2ubuntu1~14.04.4_amd64.deb ...
Unpacking libgcc-4.8-dev:amd64 (4.8.4-2ubuntu1~14.04.4) ...
Selecting previously unselected package gcc-4.8.
Preparing to unpack .../gcc-4.8_4.8.4-2ubuntu1~14.04.4_amd64.deb ...
Unpacking gcc-4.8 (4.8.4-2ubuntu1~14.04.4) ...
Selecting previously unselected package gcc.
Preparing to unpack .../gcc_4%3a4.8.2-1ubuntu6_amd64.deb ...
Unpacking gcc (4:4.8.2-1ubuntu6) ...
Selecting previously unselected package libstdc++-4.8-dev:amd64.
Preparing to unpack .../libstdc++-4.8-dev_4.8.4-2ubuntu1~14.04.4_amd64.deb ...
Unpacking libstdc++-4.8-dev:amd64 (4.8.4-2ubuntu1~14.04.4) ...
Selecting previously unselected package g++-4.8.
Preparing to unpack .../g++-4.8_4.8.4-2ubuntu1~14.04.4_amd64.deb ...
Unpacking g++-4.8 (4.8.4-2ubuntu1~14.04.4) ...
Selecting previously unselected package g++.
Preparing to unpack .../g++_4%3a4.8.2-1ubuntu6_amd64.deb ...
Unpacking g++ (4:4.8.2-1ubuntu6) ...
Selecting previously unselected package build-essential.
Preparing to unpack .../build-essential_11.6ubuntu6_amd64.deb ...
Unpacking build-essential (11.6ubuntu6) ...
Selecting previously unselected package zlib1g-dev:amd64.
Preparing to unpack .../zlib1g-dev_1%3a1.2.8.dfsg-1ubuntu1.1_amd64.deb ...
Unpacking zlib1g-dev:amd64 (1:1.2.8.dfsg-1ubuntu1.1) ...
Selecting previously unselected package libapt-pkg-dev:amd64.
Preparing to unpack .../libapt-pkg-dev_1.0.1ubuntu2.24_amd64.deb ...
Unpacking libapt-pkg-dev:amd64 (1.0.1ubuntu2.24) ...
Selecting previously unselected package python-setuptools.
Preparing to unpack .../python-setuptools_3.3-1ubuntu2_all.deb ...
Unpacking python-setuptools (3.3-1ubuntu2) ...
Selecting previously unselected package pep8.
Preparing to unpack .../pep8_1.4.6-1.1build1_all.deb ...
Unpacking pep8 (1.4.6-1.1build1) ...
Selecting previously unselected package pyflakes.
Preparing to unpack .../pyflakes_0.8.1-1_all.deb ...
Unpacking pyflakes (0.8.1-1) ...
Selecting previously unselected package python-mccabe.
Preparing to unpack .../python-mccabe_0.2.1-1_all.deb ...
Unpacking python-mccabe (0.2.1-1) ...
Selecting previously unselected package python-flake8.
Preparing to unpack .../python-flake8_2.1.0-1ubuntu1_amd64.deb ...
Unpacking python-flake8 (2.1.0-1ubuntu1) ...
Selecting previously unselected package python3-mccabe.
Preparing to unpack .../python3-mccabe_0.2.1-1_all.deb ...
Unpacking python3-mccabe (0.2.1-1) ...
Selecting previously unselected package python3-setuptools.
Preparing to unpack .../python3-setuptools_3.3-1ubuntu2_all.deb ...
Unpacking python3-setuptools (3.3-1ubuntu2) ...
Selecting previously unselected package python3-pep8.
Preparing to unpack .../python3-pep8_1.4.6-1.1build1_all.deb ...
Unpacking python3-pep8 (1.4.6-1.1build1) ...
Selecting previously unselected package python3-flake8.
Preparing to unpack .../python3-flake8_2.1.0-1ubuntu1_amd64.deb ...
Unpacking python3-flake8 (2.1.0-1ubuntu1) ...
Selecting previously unselected package python3-mock.
Preparing to unpack .../python3-mock_1.0.1-3_all.deb ...
Unpacking python3-mock (1.0.1-3) ...
Selecting previously unselected package python3-py.
Preparing to unpack .../python3-py_1.4.20-1_all.deb ...
Unpacking python3-py (1.4.20-1) ...
Selecting previously unselected package python3-pytest.
Preparing to unpack .../python3-pytest_2.5.1-1_all.deb ...
Unpacking python3-pytest (2.5.1-1) ...
Selecting previously unselected package dh-systemd.
Preparing to unpack .../dh-systemd_1.14ubuntu1_all.deb ...
Unpacking dh-systemd (1.14ubuntu1) ...
Processing triggers for man-db (2.6.7.1-1ubuntu1) ...
Setting up libc-dev-bin (2.19-0ubuntu6.15) ...
Setting up linux-libc-dev:amd64 (3.13.0-170.220) ...
Setting up libc6-dev:amd64 (2.19-0ubuntu6.15) ...
Setting up libgmp10:amd64 (2:5.1.3+dfsg-1ubuntu1) ...
Setting up libisl10:amd64 (0.12.2-1) ...
Setting up libcloog-isl4:amd64 (0.18.2-1) ...
Setting up libmpfr4:amd64 (3.1.2-1) ...
Setting up libmpc3:amd64 (1.0.1-1ubuntu1) ...
Setting up cpp-4.8 (4.8.4-2ubuntu1~14.04.4) ...
Setting up cpp (4:4.8.2-1ubuntu6) ...
Setting up libitm1:amd64 (4.8.4-2ubuntu1~14.04.4) ...
Setting up libatomic1:amd64 (4.8.4-2ubuntu1~14.04.4) ...
Setting up libasan0:amd64 (4.8.4-2ubuntu1~14.04.4) ...
Setting up libtsan0:amd64 (4.8.4-2ubuntu1~14.04.4) ...
Setting up libquadmath0:amd64 (4.8.4-2ubuntu1~14.04.4) ...
Setting up libgcc-4.8-dev:amd64 (4.8.4-2ubuntu1~14.04.4) ...
Setting up gcc-4.8 (4.8.4-2ubuntu1~14.04.4) ...
Setting up gcc (4:4.8.2-1ubuntu6) ...
Setting up libstdc++-4.8-dev:amd64 (4.8.4-2ubuntu1~14.04.4) ...
Setting up g++-4.8 (4.8.4-2ubuntu1~14.04.4) ...
Setting up g++ (4:4.8.2-1ubuntu6) ...
update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode
Setting up build-essential (11.6ubuntu6) ...
Setting up zlib1g-dev:amd64 (1:1.2.8.dfsg-1ubuntu1.1) ...
Setting up libapt-pkg-dev:amd64 (1.0.1ubuntu2.24) ...
Setting up python-setuptools (3.3-1ubuntu2) ...
Setting up pep8 (1.4.6-1.1build1) ...
Setting up pyflakes (0.8.1-1) ...
Setting up python-mccabe (0.2.1-1) ...
Setting up python-flake8 (2.1.0-1ubuntu1) ...
Setting up python3-mccabe (0.2.1-1) ...
Setting up python3-setuptools (3.3-1ubuntu2) ...
Setting up python3-pep8 (1.4.6-1.1build1) ...
Setting up python3-flake8 (2.1.0-1ubuntu1) ...
Setting up python3-mock (1.0.1-3) ...
Setting up python3-py (1.4.20-1) ...
Setting up python3-pytest (2.5.1-1) ...
Setting up dh-systemd (1.14ubuntu1) ...
Setting up ubuntu-advantage-tools-build-deps (25.0) ...
Processing triggers for libc-bin (2.19-0ubuntu6.15) ...
dpkg-buildpackage: source package ubuntu-advantage-tools
dpkg-buildpackage: source version 25.0
dpkg-buildpackage: source distribution UNRELEASED
dpkg-buildpackage: source changed by Chad Smith <chad.smith@canonical.com>
 dpkg-source --before-build uac
dpkg-buildpackage: host architecture amd64
 debian/rules clean
dh clean --with python3,bash-completion,systemd --buildsystem=pybuild \
		--no-start
   dh_testdir -O--buildsystem=pybuild -O--no-start
   debian/rules override_dh_auto_clean
make[1]: Entering directory `/tmp/uac'
dh_auto_clean
	pybuild --clean -i python{version} -p 3.4 --dir .
I: pybuild base:170: python3.4 setup.py clean 
running clean
removing '/tmp/uac/.pybuild/pythonX.Y_3.4/build' (and everything under it)
'build/bdist.linux-x86_64' does not exist -- can't clean it
'build/scripts-3.4' does not exist -- can't clean it
	rm -rf .pybuild/
	find . -name \*.pyc -exec rm {} \;
make clean
make[2]: Entering directory `/tmp/uac'
rm -f *.build *.buildinfo *.changes .coverage *.deb *.dsc *.tar.gz *.tar.xz
rm -rf *.egg-info/ .tox/ .cache/ .mypy_cache/
find . -type f -name '*.pyc' -delete
find . -type d -name '*__pycache__' -delete
make -C apt-hook clean
make[3]: Entering directory `/tmp/uac/apt-hook'
rm -f hook ubuntu-advantage.pot
make[3]: Leaving directory `/tmp/uac/apt-hook'
make[2]: Leaving directory `/tmp/uac'
make[1]: Leaving directory `/tmp/uac'
   dh_clean -O--buildsystem=pybuild -O--no-start
	rm -f debian/ubuntu-advantage-tools.substvars
	rm -f debian/ubuntu-advantage-tools.*.debhelper
	rm -rf debian/ubuntu-advantage-tools/
	rm -f debian/ubuntu-advantage-pro.substvars
	rm -f debian/ubuntu-advantage-pro.*.debhelper
	rm -rf debian/ubuntu-advantage-pro/
	rm -f debian/*.debhelper.log
	rm -f debian/files
	find .  \( \( -type f -a \
	        \( -name '#*#' -o -name '.*~' -o -name '*~' -o -name DEADJOE \
		 -o -name '*.orig' -o -name '*.rej' -o -name '*.bak' \
		 -o -name '.*.orig' -o -name .*.rej -o -name '.SUMS' \
		 -o -name TAGS -o \( -path '*/.deps/*' -a -name '*.P' \) \
		\) -exec rm -f {} + \) -o \
		\( -type d -a -name autom4te.cache -prune -exec rm -rf {} + \) \)
	rm -f *-stamp
 dpkg-source -b uac
dpkg-source: info: using source format `3.0 (native)'
dpkg-source: info: building ubuntu-advantage-tools in ubuntu-advantage-tools_25.0.tar.gz
dpkg-source: info: building ubuntu-advantage-tools in ubuntu-advantage-tools_25.0.dsc
 debian/rules build
dh build --with python3,bash-completion,systemd --buildsystem=pybuild \
		--no-start
   dh_testdir -O--buildsystem=pybuild -O--no-start
   dh_auto_configure -O--buildsystem=pybuild -O--no-start
	pybuild --configure -i python{version} -p 3.4 --dir .
I: pybuild base:170: python3.4 setup.py config 
running config
   debian/rules override_dh_auto_build
make[1]: Entering directory `/tmp/uac'
dh_auto_build
	pybuild --build -i python{version} -p 3.4 --dir .
I: pybuild base:170: /usr/bin/python3 setup.py build 
running build
running build_py
creating /tmp/uac/.pybuild/pythonX.Y_3.4/build/uaclient
copying uaclient/cli.py -> /tmp/uac/.pybuild/pythonX.Y_3.4/build/uaclient
copying uaclient/defaults.py -> /tmp/uac/.pybuild/pythonX.Y_3.4/build/uaclient
copying uaclient/exceptions.py -> /tmp/uac/.pybuild/pythonX.Y_3.4/build/uaclient
copying uaclient/status.py -> /tmp/uac/.pybuild/pythonX.Y_3.4/build/uaclient
copying uaclient/__init__.py -> /tmp/uac/.pybuild/pythonX.Y_3.4/build/uaclient
copying uaclient/util.py -> /tmp/uac/.pybuild/pythonX.Y_3.4/build/uaclient
copying uaclient/apt.py -> /tmp/uac/.pybuild/pythonX.Y_3.4/build/uaclient
copying uaclient/version.py -> /tmp/uac/.pybuild/pythonX.Y_3.4/build/uaclient
copying uaclient/config.py -> /tmp/uac/.pybuild/pythonX.Y_3.4/build/uaclient
copying uaclient/conftest.py -> /tmp/uac/.pybuild/pythonX.Y_3.4/build/uaclient
copying uaclient/serviceclient.py -> /tmp/uac/.pybuild/pythonX.Y_3.4/build/uaclient
copying uaclient/gpg.py -> /tmp/uac/.pybuild/pythonX.Y_3.4/build/uaclient
copying uaclient/contract.py -> /tmp/uac/.pybuild/pythonX.Y_3.4/build/uaclient
copying uaclient/pip.py -> /tmp/uac/.pybuild/pythonX.Y_3.4/build/uaclient
creating /tmp/uac/.pybuild/pythonX.Y_3.4/build/uaclient/entitlements
copying uaclient/entitlements/__init__.py -> /tmp/uac/.pybuild/pythonX.Y_3.4/build/uaclient/entitlements
copying uaclient/entitlements/cc.py -> /tmp/uac/.pybuild/pythonX.Y_3.4/build/uaclient/entitlements
copying uaclient/entitlements/esm.py -> /tmp/uac/.pybuild/pythonX.Y_3.4/build/uaclient/entitlements
copying uaclient/entitlements/fips.py -> /tmp/uac/.pybuild/pythonX.Y_3.4/build/uaclient/entitlements
copying uaclient/entitlements/repo.py -> /tmp/uac/.pybuild/pythonX.Y_3.4/build/uaclient/entitlements
copying uaclient/entitlements/base.py -> /tmp/uac/.pybuild/pythonX.Y_3.4/build/uaclient/entitlements
copying uaclient/entitlements/livepatch.py -> /tmp/uac/.pybuild/pythonX.Y_3.4/build/uaclient/entitlements
copying uaclient/entitlements/cis.py -> /tmp/uac/.pybuild/pythonX.Y_3.4/build/uaclient/entitlements
creating /tmp/uac/.pybuild/pythonX.Y_3.4/build/uaclient/clouds
copying uaclient/clouds/__init__.py -> /tmp/uac/.pybuild/pythonX.Y_3.4/build/uaclient/clouds
copying uaclient/clouds/azure.py -> /tmp/uac/.pybuild/pythonX.Y_3.4/build/uaclient/clouds
copying uaclient/clouds/aws.py -> /tmp/uac/.pybuild/pythonX.Y_3.4/build/uaclient/clouds
copying uaclient/clouds/identity.py -> /tmp/uac/.pybuild/pythonX.Y_3.4/build/uaclient/clouds
make -C apt-hook build
make[2]: Entering directory `/tmp/uac/apt-hook'
g++ -Wall -Wextra -pedantic -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -Wl,-Bsymbolic-functions -Wl,-z,relro -g -o hook hook.cc -lapt-pkg 
xgettext hook.cc -o ubuntu-advantage.pot
make[2]: Leaving directory `/tmp/uac/apt-hook'
make[1]: Leaving directory `/tmp/uac'
   debian/rules override_dh_auto_test
make[1]: Entering directory `/tmp/uac'
python3 -m pytest
============================= test session starts ==============================
platform linux -- Python 3.4.3 -- pytest-2.5.1
collected 721 items

test-requirements.txt .
uaclient/clouds/tests/test_aws.py ..............
uaclient/clouds/tests/test_azure.py .........
uaclient/clouds/tests/test_identity.py .....................
uaclient/entitlements/tests/test_base.py ..................................
uaclient/entitlements/tests/test_cc.py .......
uaclient/entitlements/tests/test_cis.py ..
uaclient/entitlements/tests/test_esm.py ........................
uaclient/entitlements/tests/test_fips.py ....................................................................................................
uaclient/entitlements/tests/test_livepatch.py ........................................
uaclient/entitlements/tests/test_repo.py ...............................................
uaclient/tests/test_apt.py ..............................................................
uaclient/tests/test_cli.py ................................
uaclient/tests/test_cli_attach.py ................
uaclient/tests/test_cli_auto_attach.py ................
uaclient/tests/test_cli_detach.py ...............
uaclient/tests/test_cli_disable.py ................
uaclient/tests/test_cli_enable.py ....................................
uaclient/tests/test_cli_refresh.py ....
uaclient/tests/test_cli_status.py .......
uaclient/tests/test_config.py .........................................................................................
uaclient/tests/test_contract.py ....................
uaclient/tests/test_gpg.py ..
uaclient/tests/test_pip.py .....
uaclient/tests/test_serviceclient.py ...
uaclient/tests/test_status.py .....................
uaclient/tests/test_util.py ...........................................................................
uaclient/tests/test_version.py ...

========================= 721 passed in 29.08 seconds ==========================
# required for Trusty: flake8 does not install a __main__  for -m
# invocation
python3 /usr/bin/flake8 uaclient
make[1]: Leaving directory `/tmp/uac'
 debian/rules binary
dh binary --with python3,bash-completion,systemd --buildsystem=pybuild \
		--no-start
   dh_testroot -O--buildsystem=pybuild -O--no-start
   dh_prep -O--buildsystem=pybuild -O--no-start
	rm -f debian/ubuntu-advantage-tools.substvars
	rm -f debian/ubuntu-advantage-tools.*.debhelper
	rm -rf debian/ubuntu-advantage-tools/
	rm -f debian/ubuntu-advantage-pro.substvars
	rm -f debian/ubuntu-advantage-pro.*.debhelper
	rm -rf debian/ubuntu-advantage-pro/
   debian/rules override_dh_auto_install
make[1]: Entering directory `/tmp/uac'
dh_auto_install --destdir=debian/ubuntu-advantage-tools
	install -d debian/ubuntu-advantage-tools
	install -d debian/ubuntu-advantage-pro
	pybuild --install -i python{version} -p 3.4 --dir . --dest-dir /tmp/uac/debian/ubuntu-advantage-tools
I: pybuild base:170: /usr/bin/python3 setup.py install --root /tmp/uac/debian/ubuntu-advantage-tools 
running install
running build
running build_py
running install_lib
creating /tmp/uac/debian/ubuntu-advantage-tools/usr
creating /tmp/uac/debian/ubuntu-advantage-tools/usr/lib
creating /tmp/uac/debian/ubuntu-advantage-tools/usr/lib/python3.4
creating /tmp/uac/debian/ubuntu-advantage-tools/usr/lib/python3.4/dist-packages
creating /tmp/uac/debian/ubuntu-advantage-tools/usr/lib/python3.4/dist-packages/uaclient
copying /tmp/uac/.pybuild/pythonX.Y_3.4/build/uaclient/cli.py -> /tmp/uac/debian/ubuntu-advantage-tools/usr/lib/python3.4/dist-packages/uaclient
copying /tmp/uac/.pybuild/pythonX.Y_3.4/build/uaclient/defaults.py -> /tmp/uac/debian/ubuntu-advantage-tools/usr/lib/python3.4/dist-packages/uaclient
copying /tmp/uac/.pybuild/pythonX.Y_3.4/build/uaclient/exceptions.py -> /tmp/uac/debian/ubuntu-advantage-tools/usr/lib/python3.4/dist-packages/uaclient
copying /tmp/uac/.pybuild/pythonX.Y_3.4/build/uaclient/status.py -> /tmp/uac/debian/ubuntu-advantage-tools/usr/lib/python3.4/dist-packages/uaclient
copying /tmp/uac/.pybuild/pythonX.Y_3.4/build/uaclient/__init__.py -> /tmp/uac/debian/ubuntu-advantage-tools/usr/lib/python3.4/dist-packages/uaclient
copying /tmp/uac/.pybuild/pythonX.Y_3.4/build/uaclient/util.py -> /tmp/uac/debian/ubuntu-advantage-tools/usr/lib/python3.4/dist-packages/uaclient
copying /tmp/uac/.pybuild/pythonX.Y_3.4/build/uaclient/apt.py -> /tmp/uac/debian/ubuntu-advantage-tools/usr/lib/python3.4/dist-packages/uaclient
copying /tmp/uac/.pybuild/pythonX.Y_3.4/build/uaclient/version.py -> /tmp/uac/debian/ubuntu-advantage-tools/usr/lib/python3.4/dist-packages/uaclient
copying /tmp/uac/.pybuild/pythonX.Y_3.4/build/uaclient/config.py -> /tmp/uac/debian/ubuntu-advantage-tools/usr/lib/python3.4/dist-packages/uaclient
copying /tmp/uac/.pybuild/pythonX.Y_3.4/build/uaclient/conftest.py -> /tmp/uac/debian/ubuntu-advantage-tools/usr/lib/python3.4/dist-packages/uaclient
copying /tmp/uac/.pybuild/pythonX.Y_3.4/build/uaclient/serviceclient.py -> /tmp/uac/debian/ubuntu-advantage-tools/usr/lib/python3.4/dist-packages/uaclient
copying /tmp/uac/.pybuild/pythonX.Y_3.4/build/uaclient/gpg.py -> /tmp/uac/debian/ubuntu-advantage-tools/usr/lib/python3.4/dist-packages/uaclient
creating /tmp/uac/debian/ubuntu-advantage-tools/usr/lib/python3.4/dist-packages/uaclient/entitlements
copying /tmp/uac/.pybuild/pythonX.Y_3.4/build/uaclient/entitlements/__init__.py -> /tmp/uac/debian/ubuntu-advantage-tools/usr/lib/python3.4/dist-packages/uaclient/entitlements
copying /tmp/uac/.pybuild/pythonX.Y_3.4/build/uaclient/entitlements/cc.py -> /tmp/uac/debian/ubuntu-advantage-tools/usr/lib/python3.4/dist-packages/uaclient/entitlements
copying /tmp/uac/.pybuild/pythonX.Y_3.4/build/uaclient/entitlements/esm.py -> /tmp/uac/debian/ubuntu-advantage-tools/usr/lib/python3.4/dist-packages/uaclient/entitlements
copying /tmp/uac/.pybuild/pythonX.Y_3.4/build/uaclient/entitlements/fips.py -> /tmp/uac/debian/ubuntu-advantage-tools/usr/lib/python3.4/dist-packages/uaclient/entitlements
copying /tmp/uac/.pybuild/pythonX.Y_3.4/build/uaclient/entitlements/repo.py -> /tmp/uac/debian/ubuntu-advantage-tools/usr/lib/python3.4/dist-packages/uaclient/entitlements
copying /tmp/uac/.pybuild/pythonX.Y_3.4/build/uaclient/entitlements/base.py -> /tmp/uac/debian/ubuntu-advantage-tools/usr/lib/python3.4/dist-packages/uaclient/entitlements
copying /tmp/uac/.pybuild/pythonX.Y_3.4/build/uaclient/entitlements/livepatch.py -> /tmp/uac/debian/ubuntu-advantage-tools/usr/lib/python3.4/dist-packages/uaclient/entitlements
copying /tmp/uac/.pybuild/pythonX.Y_3.4/build/uaclient/entitlements/cis.py -> /tmp/uac/debian/ubuntu-advantage-tools/usr/lib/python3.4/dist-packages/uaclient/entitlements
copying /tmp/uac/.pybuild/pythonX.Y_3.4/build/uaclient/contract.py -> /tmp/uac/debian/ubuntu-advantage-tools/usr/lib/python3.4/dist-packages/uaclient
creating /tmp/uac/debian/ubuntu-advantage-tools/usr/lib/python3.4/dist-packages/uaclient/clouds
copying /tmp/uac/.pybuild/pythonX.Y_3.4/build/uaclient/clouds/__init__.py -> /tmp/uac/debian/ubuntu-advantage-tools/usr/lib/python3.4/dist-packages/uaclient/clouds
copying /tmp/uac/.pybuild/pythonX.Y_3.4/build/uaclient/clouds/azure.py -> /tmp/uac/debian/ubuntu-advantage-tools/usr/lib/python3.4/dist-packages/uaclient/clouds
copying /tmp/uac/.pybuild/pythonX.Y_3.4/build/uaclient/clouds/aws.py -> /tmp/uac/debian/ubuntu-advantage-tools/usr/lib/python3.4/dist-packages/uaclient/clouds
copying /tmp/uac/.pybuild/pythonX.Y_3.4/build/uaclient/clouds/identity.py -> /tmp/uac/debian/ubuntu-advantage-tools/usr/lib/python3.4/dist-packages/uaclient/clouds
copying /tmp/uac/.pybuild/pythonX.Y_3.4/build/uaclient/pip.py -> /tmp/uac/debian/ubuntu-advantage-tools/usr/lib/python3.4/dist-packages/uaclient
byte-compiling /tmp/uac/debian/ubuntu-advantage-tools/usr/lib/python3.4/dist-packages/uaclient/cli.py to cli.cpython-34.pyc
byte-compiling /tmp/uac/debian/ubuntu-advantage-tools/usr/lib/python3.4/dist-packages/uaclient/defaults.py to defaults.cpython-34.pyc
byte-compiling /tmp/uac/debian/ubuntu-advantage-tools/usr/lib/python3.4/dist-packages/uaclient/exceptions.py to exceptions.cpython-34.pyc
byte-compiling /tmp/uac/debian/ubuntu-advantage-tools/usr/lib/python3.4/dist-packages/uaclient/status.py to status.cpython-34.pyc
byte-compiling /tmp/uac/debian/ubuntu-advantage-tools/usr/lib/python3.4/dist-packages/uaclient/__init__.py to __init__.cpython-34.pyc
byte-compiling /tmp/uac/debian/ubuntu-advantage-tools/usr/lib/python3.4/dist-packages/uaclient/util.py to util.cpython-34.pyc
byte-compiling /tmp/uac/debian/ubuntu-advantage-tools/usr/lib/python3.4/dist-packages/uaclient/apt.py to apt.cpython-34.pyc
byte-compiling /tmp/uac/debian/ubuntu-advantage-tools/usr/lib/python3.4/dist-packages/uaclient/version.py to version.cpython-34.pyc
byte-compiling /tmp/uac/debian/ubuntu-advantage-tools/usr/lib/python3.4/dist-packages/uaclient/config.py to config.cpython-34.pyc
byte-compiling /tmp/uac/debian/ubuntu-advantage-tools/usr/lib/python3.4/dist-packages/uaclient/conftest.py to conftest.cpython-34.pyc
byte-compiling /tmp/uac/debian/ubuntu-advantage-tools/usr/lib/python3.4/dist-packages/uaclient/serviceclient.py to serviceclient.cpython-34.pyc
byte-compiling /tmp/uac/debian/ubuntu-advantage-tools/usr/lib/python3.4/dist-packages/uaclient/gpg.py to gpg.cpython-34.pyc
byte-compiling /tmp/uac/debian/ubuntu-advantage-tools/usr/lib/python3.4/dist-packages/uaclient/entitlements/__init__.py to __init__.cpython-34.pyc
byte-compiling /tmp/uac/debian/ubuntu-advantage-tools/usr/lib/python3.4/dist-packages/uaclient/entitlements/cc.py to cc.cpython-34.pyc
byte-compiling /tmp/uac/debian/ubuntu-advantage-tools/usr/lib/python3.4/dist-packages/uaclient/entitlements/esm.py to esm.cpython-34.pyc
byte-compiling /tmp/uac/debian/ubuntu-advantage-tools/usr/lib/python3.4/dist-packages/uaclient/entitlements/fips.py to fips.cpython-34.pyc
byte-compiling /tmp/uac/debian/ubuntu-advantage-tools/usr/lib/python3.4/dist-packages/uaclient/entitlements/repo.py to repo.cpython-34.pyc
byte-compiling /tmp/uac/debian/ubuntu-advantage-tools/usr/lib/python3.4/dist-packages/uaclient/entitlements/base.py to base.cpython-34.pyc
byte-compiling /tmp/uac/debian/ubuntu-advantage-tools/usr/lib/python3.4/dist-packages/uaclient/entitlements/livepatch.py to livepatch.cpython-34.pyc
byte-compiling /tmp/uac/debian/ubuntu-advantage-tools/usr/lib/python3.4/dist-packages/uaclient/entitlements/cis.py to cis.cpython-34.pyc
byte-compiling /tmp/uac/debian/ubuntu-advantage-tools/usr/lib/python3.4/dist-packages/uaclient/contract.py to contract.cpython-34.pyc
byte-compiling /tmp/uac/debian/ubuntu-advantage-tools/usr/lib/python3.4/dist-packages/uaclient/clouds/__init__.py to __init__.cpython-34.pyc
byte-compiling /tmp/uac/debian/ubuntu-advantage-tools/usr/lib/python3.4/dist-packages/uaclient/clouds/azure.py to azure.cpython-34.pyc
byte-compiling /tmp/uac/debian/ubuntu-advantage-tools/usr/lib/python3.4/dist-packages/uaclient/clouds/aws.py to aws.cpython-34.pyc
byte-compiling /tmp/uac/debian/ubuntu-advantage-tools/usr/lib/python3.4/dist-packages/uaclient/clouds/identity.py to identity.cpython-34.pyc
byte-compiling /tmp/uac/debian/ubuntu-advantage-tools/usr/lib/python3.4/dist-packages/uaclient/pip.py to pip.cpython-34.pyc
running install_data
creating /tmp/uac/debian/ubuntu-advantage-tools/etc
creating /tmp/uac/debian/ubuntu-advantage-tools/etc/ubuntu-advantage
copying uaclient.conf -> /tmp/uac/debian/ubuntu-advantage-tools/etc/ubuntu-advantage
creating /tmp/uac/debian/ubuntu-advantage-tools/usr/share
creating /tmp/uac/debian/ubuntu-advantage-tools/usr/share/keyrings
copying keyrings/ubuntu-advantage-esm-apps.gpg -> /tmp/uac/debian/ubuntu-advantage-tools/usr/share/keyrings
copying keyrings/ubuntu-advantage-fips.gpg -> /tmp/uac/debian/ubuntu-advantage-tools/usr/share/keyrings
copying keyrings/ubuntu-advantage-esm-infra-trusty.gpg -> /tmp/uac/debian/ubuntu-advantage-tools/usr/share/keyrings
creating /tmp/uac/debian/ubuntu-advantage-tools/var
creating /tmp/uac/debian/ubuntu-advantage-tools/var/lib
creating /tmp/uac/debian/ubuntu-advantage-tools/var/lib/ubuntu-advantage
creating /tmp/uac/debian/ubuntu-advantage-tools/etc/apt
creating /tmp/uac/debian/ubuntu-advantage-tools/etc/apt/apt.conf.d
copying apt.conf.d/51ubuntu-advantage-esm -> /tmp/uac/debian/ubuntu-advantage-tools/etc/apt/apt.conf.d
creating /tmp/uac/debian/ubuntu-advantage-tools/etc/init
copying upstart/ua-auto-attach.conf -> /tmp/uac/debian/ubuntu-advantage-tools/etc/init
running install_egg_info
running egg_info
creating ubuntu_advantage_tools.egg-info
writing top-level names to ubuntu_advantage_tools.egg-info/top_level.txt
writing ubuntu_advantage_tools.egg-info/PKG-INFO
writing entry points to ubuntu_advantage_tools.egg-info/entry_points.txt
writing requirements to ubuntu_advantage_tools.egg-info/requires.txt
writing dependency_links to ubuntu_advantage_tools.egg-info/dependency_links.txt
writing manifest file 'ubuntu_advantage_tools.egg-info/SOURCES.txt'
reading manifest file 'ubuntu_advantage_tools.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
writing manifest file 'ubuntu_advantage_tools.egg-info/SOURCES.txt'
Copying ubuntu_advantage_tools.egg-info to /tmp/uac/debian/ubuntu-advantage-tools/usr/lib/python3.4/dist-packages/ubuntu_advantage_tools-20.3.egg-info
running install_scripts
Installing ubuntu-advantage script to /tmp/uac/debian/ubuntu-advantage-tools/usr/bin
Installing ua script to /tmp/uac/debian/ubuntu-advantage-tools/usr/bin
flist=$(find /tmp/uac/debian/ -type f -name version.py) && sed -i 's,@@PACKAGED_VERSION@@,25.0,' ${flist:-did-not-find-version-py-for-replacement}
make -C apt-hook DESTDIR=/tmp/uac/debian/ubuntu-advantage-tools install
make[2]: Entering directory `/tmp/uac/apt-hook'
install -D -m 644 20apt-esm-hook.conf /tmp/uac/debian/ubuntu-advantage-tools/etc/apt/apt.conf.d/20apt-esm-hook.conf
install -D -m 755 hook /tmp/uac/debian/ubuntu-advantage-tools/usr/lib/ubuntu-advantage/apt-esm-hook
make[2]: Leaving directory `/tmp/uac/apt-hook'
# Move ua-auto-attach.conf to ubuntu-advantage-pro
mkdir -p debian/ubuntu-advantage-pro/etc/init
mv debian/ubuntu-advantage-tools/etc/init/ua-auto-attach.conf debian/ubuntu-advantage-pro/etc/init/
rmdir debian/ubuntu-advantage-tools/etc/init
make[1]: Leaving directory `/tmp/uac'
   dh_installdocs -O--buildsystem=pybuild -O--no-start
	install -g 0 -o 0 -d debian/ubuntu-advantage-tools/usr/share/doc/ubuntu-advantage-tools
	install -g 0 -o 0 -m 644 -p debian/copyright debian/ubuntu-advantage-tools/usr/share/doc/ubuntu-advantage-tools/copyright
	install -g 0 -o 0 -d debian/ubuntu-advantage-pro/usr/share/doc/ubuntu-advantage-pro
	install -g 0 -o 0 -m 644 -p debian/copyright debian/ubuntu-advantage-pro/usr/share/doc/ubuntu-advantage-pro/copyright
   dh_installchangelogs -O--buildsystem=pybuild -O--no-start
	install -o 0 -g 0 -p -m644 debian/changelog debian/ubuntu-advantage-tools/usr/share/doc/ubuntu-advantage-tools/changelog
	install -o 0 -g 0 -p -m644 debian/changelog debian/ubuntu-advantage-pro/usr/share/doc/ubuntu-advantage-pro/changelog
   dh_installman -O--buildsystem=pybuild -O--no-start
	install -d debian/ubuntu-advantage-tools/usr/share/man/man1/
	install -p -m644 ubuntu-advantage.1 debian/ubuntu-advantage-tools/usr/share/man/man1/ubuntu-advantage.1
	man --recode UTF-8 ./ubuntu\-advantage\.1 > ubuntu\-advantage\.1\.new
	chmod 644 ubuntu-advantage.1.new
	mv -f ubuntu-advantage.1.new ubuntu-advantage.1
   dh_bash-completion -O--buildsystem=pybuild -O--no-start
	install -d debian/ubuntu-advantage-tools/etc/bash_completion.d
	installing tools/ua.bash as ua
	install -p -m644 ./tools/ua.bash debian/ubuntu-advantage-tools/etc/bash_completion.d/ua
   dh_installdebconf -O--buildsystem=pybuild -O--no-start
	install -o 0 -g 0 -d debian/ubuntu-advantage-tools/DEBIAN
	install -o 0 -g 0 -m 644 -p debian/ubuntu-advantage-tools.templates debian/ubuntu-advantage-tools/DEBIAN/templates
	(grep -s -v misc:Depends debian/ubuntu-advantage-tools.substvars; echo "misc:Depends=debconf (>= 0.5) | debconf-2.0") > debian/ubuntu-advantage-tools.substvars.new
	mv debian/ubuntu-advantage-tools.substvars.new debian/ubuntu-advantage-tools.substvars
	echo "# Automatically added by dh_installdebconf">> debian/ubuntu-advantage-tools.postrm.debhelper
	sed "" /usr/share/debhelper/autoscripts/postrm-debconf >> debian/ubuntu-advantage-tools.postrm.debhelper
	echo '# End automatically added section' >> debian/ubuntu-advantage-tools.postrm.debhelper
	install -o 0 -g 0 -d debian/ubuntu-advantage-pro/DEBIAN
   dh_python3 -O--buildsystem=pybuild -O--no-start
D: dh_python3 dh_python3:149: version: 1.20140128-1ubuntu8.2
D: dh_python3 dh_python3:150: argv: ['/usr/bin/dh_python3', '-O--buildsystem=pybuild', '-O--no-start']
D: dh_python3 dh_python3:151: options: {'arch': None, 'ignore_shebangs': False, 'suggests': None, 'clean_dbg_pkg': True, 'package': None, 'vrange': None, 'compile_all': False, 'O': '--no-start', 'skip_private': False, 'verbose': False, 'no_package': None, 'depends': None, 'recommends': None, 'guess_deps': True, 'no_ext_rename': False, 'requires': None, 'no_shebang_rewrite': False, 'regexpr': None, 'shebang': None}
D: dh_python3 dh_python3:152: args: []
D: dh_python3 dh_python3:154: supported Python versions: 3.4 (default=3.4)
D: dh_python3 debhelper:98: source=ubuntu-advantage-tools, binary packages=['ubuntu-advantage-tools', 'ubuntu-advantage-pro']
D: dh_python3 dh_python3:171: processing package ubuntu-advantage-tools...
D: dh_python3 fs:47: moving files from debian/ubuntu-advantage-tools/usr/lib/python3.4/dist-packages to debian/ubuntu-advantage-tools/usr/lib/python3/dist-packages/
D: dh_python3 fs:219: package ubuntu-advantage-tools details = {'nsp.txt': set(), 'ext_vers': set(), 'compile': True, 'public_vers': {Version('3')}, 'private_dirs': {}, 'ext_no_version': set(), 'shebangs': {/usr/bin/python3, /usr/bin/python3}, 'requires.txt': {'debian/ubuntu-advantage-tools/usr/lib/python3/dist-packages/ubuntu_advantage_tools-20.3.egg-info/requires.txt'}}
D: dh_python3 depends:107: generating dependencies for package ubuntu-advantage-tools
D: dh_python3 pydist:119: trying to guess dependency for pyyaml (python=None)
D: dh_python3 depends:236: D={'python3', 'python3-yaml', 'python3:any (>= 3.3.2-2~)'}; R=[]; S=[]; E=[], B=[]; RT=[]
D: dh_python3 dh_python3:171: processing package ubuntu-advantage-pro...
D: dh_python3 fs:219: package ubuntu-advantage-pro details = {'nsp.txt': set(), 'ext_vers': set(), 'compile': False, 'public_vers': set(), 'private_dirs': {}, 'ext_no_version': set(), 'shebangs': set(), 'requires.txt': set()}
D: dh_python3 depends:107: generating dependencies for package ubuntu-advantage-pro
D: dh_python3 depends:236: D=set(); R=[]; S=[]; E=[], B=[]; RT=[]
   dh_systemd_enable -O--buildsystem=pybuild -O--no-start
   dh_systemd_start -O--buildsystem=pybuild -O--no-start
   dh_installlogrotate -O--buildsystem=pybuild -O--no-start
	install -o 0 -g 0 -d debian/ubuntu-advantage-tools/etc/logrotate.d
	install -m 644 debian/ubuntu-advantage-tools.logrotate debian/ubuntu-advantage-tools/etc/logrotate.d/ubuntu-advantage-tools
   dh_perl -O--buildsystem=pybuild -O--no-start
   dh_link -O--buildsystem=pybuild -O--no-start
	rm -f debian/ubuntu-advantage-tools/usr/share/man/man1/ua.1
	ln -sf ubuntu-advantage.1 debian/ubuntu-advantage-tools/usr/share/man/man1/ua.1
	rm -f debian/ubuntu-advantage-tools/usr/bin/ua
	ln -sf ubuntu-advantage debian/ubuntu-advantage-tools/usr/bin/ua
   dh_compress -O--buildsystem=pybuild -O--no-start
	cd debian/ubuntu-advantage-tools
	chmod a-x usr/share/man/man1/ubuntu-advantage.1 usr/share/doc/ubuntu-advantage-tools/changelog
	gzip -9nf usr/share/man/man1/ubuntu-advantage.1 usr/share/doc/ubuntu-advantage-tools/changelog
	cd '/tmp/uac'
	rm -f debian/ubuntu-advantage-tools/usr/share/man/man1/ua.1
	ln -sf ubuntu-advantage.1.gz debian/ubuntu-advantage-tools/usr/share/man/man1/ua.1.gz
	cd debian/ubuntu-advantage-pro
	chmod a-x usr/share/doc/ubuntu-advantage-pro/changelog
	gzip -9nf usr/share/doc/ubuntu-advantage-pro/changelog
	cd '/tmp/uac'
   dh_fixperms -O--buildsystem=pybuild -O--no-start
	find debian/ubuntu-advantage-tools  -print0 2>/dev/null | xargs -0r chown --no-dereference 0:0
	find debian/ubuntu-advantage-tools ! -type l  -print0 2>/dev/null | xargs -0r chmod go=rX,u+rw,a-s
	find debian/ubuntu-advantage-tools/usr/share/doc -type f  ! -regex 'debian/ubuntu-advantage-tools/usr/share/doc/[^/]*/examples/.*' -print0 2>/dev/null | xargs -0r chmod 644
	find debian/ubuntu-advantage-tools/usr/share/doc -type d  -print0 2>/dev/null | xargs -0r chmod 755
	find debian/ubuntu-advantage-tools/usr/share/man debian/ubuntu-advantage-tools/usr/man/ debian/ubuntu-advantage-tools/usr/X11*/man/ -type f  -print0 2>/dev/null | xargs -0r chmod 644
	find debian/ubuntu-advantage-tools -perm -5 -type f \( -name '*.so.*' -or -name '*.so' -or -name '*.la' -or -name '*.a' \)  -print0 2>/dev/null | xargs -0r chmod 644
	find debian/ubuntu-advantage-tools/usr/include -type f  -print0 2>/dev/null | xargs -0r chmod 644
	find debian/ubuntu-advantage-tools/usr/share/applications -type f  -print0 2>/dev/null | xargs -0r chmod 644
	find debian/ubuntu-advantage-tools -perm -5 -type f \( -name '*.cmxs' \)  -print0 2>/dev/null | xargs -0r chmod 644
	find debian/ubuntu-advantage-tools/usr/lib/perl5 debian/ubuntu-advantage-tools/usr/share/perl5 -type f -perm -5 -name '*.pm'  -print0 2>/dev/null | xargs -0r chmod a-X
	find debian/ubuntu-advantage-tools/usr/bin -type f  -print0 2>/dev/null | xargs -0r chmod a+x
	find debian/ubuntu-advantage-tools/usr/lib -type f -name '*.ali'  -print0 2>/dev/null | xargs -0r chmod uga-w
	find debian/ubuntu-advantage-pro  -print0 2>/dev/null | xargs -0r chown --no-dereference 0:0
	find debian/ubuntu-advantage-pro ! -type l  -print0 2>/dev/null | xargs -0r chmod go=rX,u+rw,a-s
	find debian/ubuntu-advantage-pro/usr/share/doc -type f  ! -regex 'debian/ubuntu-advantage-pro/usr/share/doc/[^/]*/examples/.*' -print0 2>/dev/null | xargs -0r chmod 644
	find debian/ubuntu-advantage-pro/usr/share/doc -type d  -print0 2>/dev/null | xargs -0r chmod 755
	find debian/ubuntu-advantage-pro/usr/share/man debian/ubuntu-advantage-pro/usr/man/ debian/ubuntu-advantage-pro/usr/X11*/man/ -type f  -print0 2>/dev/null | xargs -0r chmod 644
	find debian/ubuntu-advantage-pro -perm -5 -type f \( -name '*.so.*' -or -name '*.so' -or -name '*.la' -or -name '*.a' \)  -print0 2>/dev/null | xargs -0r chmod 644
	find debian/ubuntu-advantage-pro/usr/include -type f  -print0 2>/dev/null | xargs -0r chmod 644
	find debian/ubuntu-advantage-pro/usr/share/applications -type f  -print0 2>/dev/null | xargs -0r chmod 644
	find debian/ubuntu-advantage-pro -perm -5 -type f \( -name '*.cmxs' \)  -print0 2>/dev/null | xargs -0r chmod 644
	find debian/ubuntu-advantage-pro/usr/lib/perl5 debian/ubuntu-advantage-pro/usr/share/perl5 -type f -perm -5 -name '*.pm'  -print0 2>/dev/null | xargs -0r chmod a-X
	find debian/ubuntu-advantage-pro/usr/lib -type f -name '*.ali'  -print0 2>/dev/null | xargs -0r chmod uga-w
   dh_strip -O--buildsystem=pybuild -O--no-start
	strip --remove-section=.comment --remove-section=.note debian/ubuntu-advantage-tools/usr/lib/ubuntu-advantage/apt-esm-hook
   dh_makeshlibs -O--buildsystem=pybuild -O--no-start
	rm -f debian/ubuntu-advantage-tools/DEBIAN/shlibs
	rm -f debian/ubuntu-advantage-pro/DEBIAN/shlibs
   dh_shlibdeps -O--buildsystem=pybuild -O--no-start
	dpkg-shlibdeps -Tdebian/ubuntu-advantage-tools.substvars debian/ubuntu-advantage-tools/usr/lib/ubuntu-advantage/apt-esm-hook
   dh_installdeb -O--buildsystem=pybuild -O--no-start
	echo "# Automatically added by dh_installdeb">> debian/ubuntu-advantage-tools.postinst.debhelper
	sed "s!#PARAMS#!rm_conffile /etc/update-motd.d/99-esm 19.1\~ ubuntu-advantage-tools!g" /usr/share/debhelper/autoscripts/maintscript-helper >> debian/ubuntu-advantage-tools.postinst.debhelper
	echo '# End automatically added section' >> debian/ubuntu-advantage-tools.postinst.debhelper
	echo "# Automatically added by dh_installdeb">> debian/ubuntu-advantage-tools.preinst.debhelper
	sed "s!#PARAMS#!rm_conffile /etc/update-motd.d/99-esm 19.1\~ ubuntu-advantage-tools!g" /usr/share/debhelper/autoscripts/maintscript-helper >> debian/ubuntu-advantage-tools.preinst.debhelper
	echo '# End automatically added section' >> debian/ubuntu-advantage-tools.preinst.debhelper
	echo "# Automatically added by dh_installdeb"> debian/ubuntu-advantage-tools.prerm.debhelper.new
	sed "s!#PARAMS#!rm_conffile /etc/update-motd.d/99-esm 19.1\~ ubuntu-advantage-tools!g" /usr/share/debhelper/autoscripts/maintscript-helper >> debian/ubuntu-advantage-tools.prerm.debhelper.new
	echo '# End automatically added section' >> debian/ubuntu-advantage-tools.prerm.debhelper.new
	cat debian/ubuntu-advantage-tools.prerm.debhelper >> debian/ubuntu-advantage-tools.prerm.debhelper.new
	mv debian/ubuntu-advantage-tools.prerm.debhelper.new debian/ubuntu-advantage-tools.prerm.debhelper
	echo "# Automatically added by dh_installdeb"> debian/ubuntu-advantage-tools.postrm.debhelper.new
	sed "s!#PARAMS#!rm_conffile /etc/update-motd.d/99-esm 19.1\~ ubuntu-advantage-tools!g" /usr/share/debhelper/autoscripts/maintscript-helper >> debian/ubuntu-advantage-tools.postrm.debhelper.new
	echo '# End automatically added section' >> debian/ubuntu-advantage-tools.postrm.debhelper.new
	cat debian/ubuntu-advantage-tools.postrm.debhelper >> debian/ubuntu-advantage-tools.postrm.debhelper.new
	mv debian/ubuntu-advantage-tools.postrm.debhelper.new debian/ubuntu-advantage-tools.postrm.debhelper
	echo "# Automatically added by dh_installdeb">> debian/ubuntu-advantage-tools.postinst.debhelper
	sed "s!#PARAMS#!rm_conffile /etc/update-motd.d/80-esm 19.1\~ ubuntu-advantage-tools!g" /usr/share/debhelper/autoscripts/maintscript-helper >> debian/ubuntu-advantage-tools.postinst.debhelper
	echo '# End automatically added section' >> debian/ubuntu-advantage-tools.postinst.debhelper
	echo "# Automatically added by dh_installdeb">> debian/ubuntu-advantage-tools.preinst.debhelper
	sed "s!#PARAMS#!rm_conffile /etc/update-motd.d/80-esm 19.1\~ ubuntu-advantage-tools!g" /usr/share/debhelper/autoscripts/maintscript-helper >> debian/ubuntu-advantage-tools.preinst.debhelper
	echo '# End automatically added section' >> debian/ubuntu-advantage-tools.preinst.debhelper
	echo "# Automatically added by dh_installdeb"> debian/ubuntu-advantage-tools.prerm.debhelper.new
	sed "s!#PARAMS#!rm_conffile /etc/update-motd.d/80-esm 19.1\~ ubuntu-advantage-tools!g" /usr/share/debhelper/autoscripts/maintscript-helper >> debian/ubuntu-advantage-tools.prerm.debhelper.new
	echo '# End automatically added section' >> debian/ubuntu-advantage-tools.prerm.debhelper.new
	cat debian/ubuntu-advantage-tools.prerm.debhelper >> debian/ubuntu-advantage-tools.prerm.debhelper.new
	mv debian/ubuntu-advantage-tools.prerm.debhelper.new debian/ubuntu-advantage-tools.prerm.debhelper
	echo "# Automatically added by dh_installdeb"> debian/ubuntu-advantage-tools.postrm.debhelper.new
	sed "s!#PARAMS#!rm_conffile /etc/update-motd.d/80-esm 19.1\~ ubuntu-advantage-tools!g" /usr/share/debhelper/autoscripts/maintscript-helper >> debian/ubuntu-advantage-tools.postrm.debhelper.new
	echo '# End automatically added section' >> debian/ubuntu-advantage-tools.postrm.debhelper.new
	cat debian/ubuntu-advantage-tools.postrm.debhelper >> debian/ubuntu-advantage-tools.postrm.debhelper.new
	mv debian/ubuntu-advantage-tools.postrm.debhelper.new debian/ubuntu-advantage-tools.postrm.debhelper
	echo "# Automatically added by dh_installdeb">> debian/ubuntu-advantage-tools.postinst.debhelper
	sed "s!#PARAMS#!rm_conffile /etc/update-motd.d/80-livepatch 19.1\~ ubuntu-advantage-tools!g" /usr/share/debhelper/autoscripts/maintscript-helper >> debian/ubuntu-advantage-tools.postinst.debhelper
	echo '# End automatically added section' >> debian/ubuntu-advantage-tools.postinst.debhelper
	echo "# Automatically added by dh_installdeb">> debian/ubuntu-advantage-tools.preinst.debhelper
	sed "s!#PARAMS#!rm_conffile /etc/update-motd.d/80-livepatch 19.1\~ ubuntu-advantage-tools!g" /usr/share/debhelper/autoscripts/maintscript-helper >> debian/ubuntu-advantage-tools.preinst.debhelper
	echo '# End automatically added section' >> debian/ubuntu-advantage-tools.preinst.debhelper
	echo "# Automatically added by dh_installdeb"> debian/ubuntu-advantage-tools.prerm.debhelper.new
	sed "s!#PARAMS#!rm_conffile /etc/update-motd.d/80-livepatch 19.1\~ ubuntu-advantage-tools!g" /usr/share/debhelper/autoscripts/maintscript-helper >> debian/ubuntu-advantage-tools.prerm.debhelper.new
	echo '# End automatically added section' >> debian/ubuntu-advantage-tools.prerm.debhelper.new
	cat debian/ubuntu-advantage-tools.prerm.debhelper >> debian/ubuntu-advantage-tools.prerm.debhelper.new
	mv debian/ubuntu-advantage-tools.prerm.debhelper.new debian/ubuntu-advantage-tools.prerm.debhelper
	echo "# Automatically added by dh_installdeb"> debian/ubuntu-advantage-tools.postrm.debhelper.new
	sed "s!#PARAMS#!rm_conffile /etc/update-motd.d/80-livepatch 19.1\~ ubuntu-advantage-tools!g" /usr/share/debhelper/autoscripts/maintscript-helper >> debian/ubuntu-advantage-tools.postrm.debhelper.new
	echo '# End automatically added section' >> debian/ubuntu-advantage-tools.postrm.debhelper.new
	cat debian/ubuntu-advantage-tools.postrm.debhelper >> debian/ubuntu-advantage-tools.postrm.debhelper.new
	mv debian/ubuntu-advantage-tools.postrm.debhelper.new debian/ubuntu-advantage-tools.postrm.debhelper
	echo "# Automatically added by dh_installdeb">> debian/ubuntu-advantage-tools.postinst.debhelper
	sed "s!#PARAMS#!rm_conffile /etc/cron.daily/ubuntu-advantage-tools 19.1\~ ubuntu-advantage-tools!g" /usr/share/debhelper/autoscripts/maintscript-helper >> debian/ubuntu-advantage-tools.postinst.debhelper
	echo '# End automatically added section' >> debian/ubuntu-advantage-tools.postinst.debhelper
	echo "# Automatically added by dh_installdeb">> debian/ubuntu-advantage-tools.preinst.debhelper
	sed "s!#PARAMS#!rm_conffile /etc/cron.daily/ubuntu-advantage-tools 19.1\~ ubuntu-advantage-tools!g" /usr/share/debhelper/autoscripts/maintscript-helper >> debian/ubuntu-advantage-tools.preinst.debhelper
	echo '# End automatically added section' >> debian/ubuntu-advantage-tools.preinst.debhelper
	echo "# Automatically added by dh_installdeb"> debian/ubuntu-advantage-tools.prerm.debhelper.new
	sed "s!#PARAMS#!rm_conffile /etc/cron.daily/ubuntu-advantage-tools 19.1\~ ubuntu-advantage-tools!g" /usr/share/debhelper/autoscripts/maintscript-helper >> debian/ubuntu-advantage-tools.prerm.debhelper.new
	echo '# End automatically added section' >> debian/ubuntu-advantage-tools.prerm.debhelper.new
	cat debian/ubuntu-advantage-tools.prerm.debhelper >> debian/ubuntu-advantage-tools.prerm.debhelper.new
	mv debian/ubuntu-advantage-tools.prerm.debhelper.new debian/ubuntu-advantage-tools.prerm.debhelper
	echo "# Automatically added by dh_installdeb"> debian/ubuntu-advantage-tools.postrm.debhelper.new
	sed "s!#PARAMS#!rm_conffile /etc/cron.daily/ubuntu-advantage-tools 19.1\~ ubuntu-advantage-tools!g" /usr/share/debhelper/autoscripts/maintscript-helper >> debian/ubuntu-advantage-tools.postrm.debhelper.new
	echo '# End automatically added section' >> debian/ubuntu-advantage-tools.postrm.debhelper.new
	cat debian/ubuntu-advantage-tools.postrm.debhelper >> debian/ubuntu-advantage-tools.postrm.debhelper.new
	mv debian/ubuntu-advantage-tools.postrm.debhelper.new debian/ubuntu-advantage-tools.postrm.debhelper
	echo "# Automatically added by dh_installdeb">> debian/ubuntu-advantage-tools.postinst.debhelper
	sed "s!#PARAMS#!rm_conffile /etc/init/ua-auto-attach.conf 20.2\~ ubuntu-advantage-tools!g" /usr/share/debhelper/autoscripts/maintscript-helper >> debian/ubuntu-advantage-tools.postinst.debhelper
	echo '# End automatically added section' >> debian/ubuntu-advantage-tools.postinst.debhelper
	echo "# Automatically added by dh_installdeb">> debian/ubuntu-advantage-tools.preinst.debhelper
	sed "s!#PARAMS#!rm_conffile /etc/init/ua-auto-attach.conf 20.2\~ ubuntu-advantage-tools!g" /usr/share/debhelper/autoscripts/maintscript-helper >> debian/ubuntu-advantage-tools.preinst.debhelper
	echo '# End automatically added section' >> debian/ubuntu-advantage-tools.preinst.debhelper
	echo "# Automatically added by dh_installdeb"> debian/ubuntu-advantage-tools.prerm.debhelper.new
	sed "s!#PARAMS#!rm_conffile /etc/init/ua-auto-attach.conf 20.2\~ ubuntu-advantage-tools!g" /usr/share/debhelper/autoscripts/maintscript-helper >> debian/ubuntu-advantage-tools.prerm.debhelper.new
	echo '# End automatically added section' >> debian/ubuntu-advantage-tools.prerm.debhelper.new
	cat debian/ubuntu-advantage-tools.prerm.debhelper >> debian/ubuntu-advantage-tools.prerm.debhelper.new
	mv debian/ubuntu-advantage-tools.prerm.debhelper.new debian/ubuntu-advantage-tools.prerm.debhelper
	echo "# Automatically added by dh_installdeb"> debian/ubuntu-advantage-tools.postrm.debhelper.new
	sed "s!#PARAMS#!rm_conffile /etc/init/ua-auto-attach.conf 20.2\~ ubuntu-advantage-tools!g" /usr/share/debhelper/autoscripts/maintscript-helper >> debian/ubuntu-advantage-tools.postrm.debhelper.new
	echo '# End automatically added section' >> debian/ubuntu-advantage-tools.postrm.debhelper.new
	cat debian/ubuntu-advantage-tools.postrm.debhelper >> debian/ubuntu-advantage-tools.postrm.debhelper.new
	mv debian/ubuntu-advantage-tools.postrm.debhelper.new debian/ubuntu-advantage-tools.postrm.debhelper
	perl -pe 's~#DEBHELPER#~qx{cat debian/ubuntu-advantage-tools.postinst.debhelper}~eg' < debian/postinst > debian/ubuntu-advantage-tools/DEBIAN/postinst
	chown 0:0 debian/ubuntu-advantage-tools/DEBIAN/postinst
	chmod 755 debian/ubuntu-advantage-tools/DEBIAN/postinst
	printf '#!/bin/sh
set -e
' > debian/ubuntu-advantage-tools/DEBIAN/preinst
	cat debian/ubuntu-advantage-tools.preinst.debhelper >> debian/ubuntu-advantage-tools/DEBIAN/preinst
	chown 0:0 debian/ubuntu-advantage-tools/DEBIAN/preinst
	chmod 755 debian/ubuntu-advantage-tools/DEBIAN/preinst
	perl -pe 's~#DEBHELPER#~qx{cat debian/ubuntu-advantage-tools.prerm.debhelper}~eg' < debian/prerm > debian/ubuntu-advantage-tools/DEBIAN/prerm
	chown 0:0 debian/ubuntu-advantage-tools/DEBIAN/prerm
	chmod 755 debian/ubuntu-advantage-tools/DEBIAN/prerm
	perl -pe 's~#DEBHELPER#~qx{cat debian/ubuntu-advantage-tools.postrm.debhelper}~eg' < debian/postrm > debian/ubuntu-advantage-tools/DEBIAN/postrm
	chown 0:0 debian/ubuntu-advantage-tools/DEBIAN/postrm
	chmod 755 debian/ubuntu-advantage-tools/DEBIAN/postrm
	find debian/ubuntu-advantage-tools/etc -type f -printf '/etc/%P
' >> debian/ubuntu-advantage-tools/DEBIAN/conffiles
	chmod 644 debian/ubuntu-advantage-tools/DEBIAN/conffiles
	find debian/ubuntu-advantage-pro/etc -type f -printf '/etc/%P
' >> debian/ubuntu-advantage-pro/DEBIAN/conffiles
	chmod 644 debian/ubuntu-advantage-pro/DEBIAN/conffiles
   debian/rules override_dh_gencontrol
make[1]: Entering directory `/tmp/uac'
[ -z '"apt (>= 1.0.1ubuntu2.23), apt-transport-https (>= 1.0.1ubuntu2.23), apt-utils (>= 1.0.1ubuntu2.23), libapt-inst1.5 (>= 1.0.1ubuntu2.23), libapt-pkg4.12 (>= 1.0.1ubuntu2.23) "' ] || echo extra:Depends="apt (>= 1.0.1ubuntu2.23), apt-transport-https (>= 1.0.1ubuntu2.23), apt-utils (>= 1.0.1ubuntu2.23), libapt-inst1.5 (>= 1.0.1ubuntu2.23), libapt-pkg4.12 (>= 1.0.1ubuntu2.23) " >> debian/ubuntu-advantage-tools.substvars
dh_gencontrol
	dpkg-gencontrol -pubuntu-advantage-tools -ldebian/changelog -Tdebian/ubuntu-advantage-tools.substvars -Pdebian/ubuntu-advantage-tools
dpkg-gencontrol: warning: File::FcntlLock not available; using flock which is not NFS-safe
	chmod 644 debian/ubuntu-advantage-tools/DEBIAN/control
	chown 0:0 debian/ubuntu-advantage-tools/DEBIAN/control
	echo misc:Depends= >> debian/ubuntu-advantage-pro.substvars
	dpkg-gencontrol -pubuntu-advantage-pro -ldebian/changelog -Tdebian/ubuntu-advantage-pro.substvars -Pdebian/ubuntu-advantage-pro
dpkg-gencontrol: warning: File::FcntlLock not available; using flock which is not NFS-safe
	chmod 644 debian/ubuntu-advantage-pro/DEBIAN/control
	chown 0:0 debian/ubuntu-advantage-pro/DEBIAN/control
make[1]: Leaving directory `/tmp/uac'
   dh_md5sums -O--buildsystem=pybuild -O--no-start
	(cd debian/ubuntu-advantage-tools >/dev/null ; find . -type f ! -path "./etc/ubuntu-advantage/uaclient.conf" ! -path "./etc/bash_completion.d/ua" ! -path "./etc/apt/apt.conf.d/20apt-esm-hook.conf" ! -path "./etc/apt/apt.conf.d/51ubuntu-advantage-esm" ! -path "./etc/logrotate.d/ubuntu-advantage-tools"  ! -regex './DEBIAN/.*' -printf '%P\0' | LC_ALL=C sort -z | xargs -r0 md5sum > DEBIAN/md5sums) >/dev/null
	chmod 644 debian/ubuntu-advantage-tools/DEBIAN/md5sums
	chown 0:0 debian/ubuntu-advantage-tools/DEBIAN/md5sums
	(cd debian/ubuntu-advantage-pro >/dev/null ; find . -type f ! -path "./etc/init/ua-auto-attach.conf"  ! -regex './DEBIAN/.*' -printf '%P\0' | LC_ALL=C sort -z | xargs -r0 md5sum > DEBIAN/md5sums) >/dev/null
	chmod 644 debian/ubuntu-advantage-pro/DEBIAN/md5sums
	chown 0:0 debian/ubuntu-advantage-pro/DEBIAN/md5sums
   dh_builddeb -O--buildsystem=pybuild -O--no-start
	dpkg-deb --build debian/ubuntu-advantage-tools ..
dpkg-deb: building package `ubuntu-advantage-tools' in `../ubuntu-advantage-tools_25.0_amd64.deb'.
	dpkg-deb --build debian/ubuntu-advantage-pro ..
dpkg-deb: building package `ubuntu-advantage-pro' in `../ubuntu-advantage-pro_25.0_amd64.deb'.
 dpkg-genchanges  >../ubuntu-advantage-tools_25.0_amd64.changes
dpkg-genchanges: including full source code in upload
 dpkg-source --after-build uac
dpkg-buildpackage: full upload; Debian-native package (full source is included)
+ multipass transfer trusty-uac-build:/tmp/ubuntu-advantage-tools_25.0_amd64.deb /tmp/
+ multipass transfer /tmp/ubuntu-advantage-tools_25.0_amd64.deb trusty-uac:/tmp/
+ multipass exec trusty-uac -- sudo apt-get remove ubuntu-advantage-tools --assume-yes
Reading package lists...
Building dependency tree...
Reading state information...
The following packages were automatically installed and are no longer required:
  python3-pkg-resources python3-yaml
Use 'apt-get autoremove' to remove them.
The following packages will be REMOVED:
  ubuntu-advantage-tools ubuntu-minimal
0 upgraded, 0 newly installed, 2 to remove and 0 not upgraded.
After this operation, 338 kB disk space will be freed.
(Reading database ... 86407 files and directories currently installed.)
Removing ubuntu-minimal (1.325.1) ...
Removing ubuntu-advantage-tools (19.6~ubuntu14.04.3) ...
Processing triggers for man-db (2.6.7.1-1ubuntu1) ...
+ multipass exec trusty-uac -- sudo dpkg -i /tmp/ubuntu-advantage-tools_25.0_amd64.deb
Selecting previously unselected package ubuntu-advantage-tools.
(Reading database ... 86364 files and directories currently installed.)
Preparing to unpack .../ubuntu-advantage-tools_25.0_amd64.deb ...
Unpacking ubuntu-advantage-tools (25.0) ...
Setting up ubuntu-advantage-tools (25.0) ...
Installing new version of config file /etc/apt/apt.conf.d/51ubuntu-advantage-esm ...
Processing triggers for man-db (2.6.7.1-1ubuntu1) ...
++ multipass exec trusty-uac -- ua version
+ uac_version=25.0
+ [[ 25.0 == 25.0* ]]
+ echo 'SUCCESS: uaclient was successfully updated to: 25.0'
SUCCESS: uaclient was successfully updated to: 25.0
+ multipass delete trusty-uac-build
+ multipass purge
+ check_livepatch_is_not_installed
+ multipass exec trusty-uac -- which canonical-livepatch
++ multipass exec trusty-uac -- echo 1
+ return_code=1
+ '[' 1 = 1 ']'
+ echo 'SUCESS: canonical-livepatch is not found before enabling it'
SUCESS: canonical-livepatch is not found before enabling it
+ attach_token_in_uaclient
+ multipass exec trusty-uac -- sudo ua attach <REDACTED-TOKEN>
Enabling default service esm-infra
Updating package lists
ESM Infra enabled
This machine is now attached to 'lucas.moura128128@gmail.com'

SERVICE       ENTITLED  STATUS    DESCRIPTION
esm-apps      no                 —                  UA Apps: Extended Security Maintenance
esm-infra     yes                enabled            UA Infra: Extended Security Maintenance
livepatch     yes                disabled           Canonical Livepatch service

Enable services with: ua enable <service>

     Account: lucas.moura128128@gmail.com
Subscription: lucas.moura128128@gmail.com
+ enable_livepatch
+ multipass exec trusty-uac -- sudo ua enable livepatch
One moment, checking your subscription first
Installing snapd
Updating package lists
Installing canonical-livepatch snap
Canonical livepatch enabled.
+ check_livepatch
++ multipass exec trusty-uac -- sudo canonical-livepatch status
++ grep running
+ return_str='  running: true'
+ expected_str='  running: true'
+ '[' '  running: true' = '  running: true' ']'
+ echo 'SUCCESS: livepatch was enabled and is running'
SUCCESS: livepatch was enabled and is running
