Preparing to unpack .../ubuntu-advantage-tools_10ubuntu0.14.04.3_all.deb ... Unpacking ubuntu-advantage-tools (10ubuntu0.14.04.3) over (10ubuntu0.14.04.2) ... Selecting previously unselected package linux-modules-4.4.0-146-generic. Preparing to unpack .../linux-modules-4.4.0-146-generic_4.4.0-146.172~14.04.1_i386.deb ... Unpacking linux-modules-4.4.0-146-generic (4.4.0-146.172~14.04.1) ... Selecting previously unselected package linux-image-4.4.0-146-generic. Preparing to unpack .../linux-image-4.4.0-146-generic_4.4.0-146.172~14.04.1_i386.deb ... Unpacking linux-image-4.4.0-146-generic (4.4.0-146.172~14.04.1) ... Selecting previously unselected package linux-modules-extra-4.4.0-146-generic. Preparing to unpack .../linux-modules-extra-4.4.0-146-generic_4.4.0-146.172~14.04.1_i386.deb ... Unpacking linux-modules-extra-4.4.0-146-generic (4.4.0-146.172~14.04.1) ... Preparing to unpack .../linux-generic-lts-xenial_4.4.0.146.128_i386.deb ... Unpacking linux-generic-lts-xenial (4.4.0.146.128) over (4.4.0.144.127) ... Preparing to unpack .../linux-image-generic-lts-xenial_4.4.0.146.128_i386.deb ... Unpacking linux-image-generic-lts-xenial (4.4.0.146.128) over (4.4.0.144.127) ... Selecting previously unselected package linux-headers-4.4.0-146. Preparing to unpack .../linux-headers-4.4.0-146_4.4.0-146.172~14.04.1_all.deb ... Unpacking linux-headers-4.4.0-146 (4.4.0-146.172~14.04.1) ... Selecting previously unselected package linux-headers-4.4.0-146-generic. Preparing to unpack .../linux-headers-4.4.0-146-generic_4.4.0-146.172~14.04.1_i386.deb ... Unpacking linux-headers-4.4.0-146-generic (4.4.0-146.172~14.04.1) ... Preparing to unpack .../linux-headers-generic-lts-xenial_4.4.0.146.128_i386.deb ... Unpacking linux-headers-generic-lts-xenial (4.4.0.146.128) over (4.4.0.144.127) ... Preparing to unpack .../linux-libc-dev_3.13.0-169.219_i386.deb ... Unpacking linux-libc-dev:i386 (3.13.0-169.219) over (3.13.0-168.218) ... Processing triggers for man-db (2.6.7.1-1ubuntu1) ... Setting up update-notifier-common (0.154.1ubuntu6) ... Setting up update-notifier (0.154.1ubuntu6) ... Setting up tzdata-java (2019a-0ubuntu0.14.04) ... Setting up ubuntu-advantage-tools (10ubuntu0.14.04.3) ... Setting up linux-modules-4.4.0-146-generic (4.4.0-146.172~14.04.1) ... Setting up linux-image-4.4.0-146-generic (4.4.0-146.172~14.04.1) ... I: /vmlinuz.old is now a symlink to boot/vmlinuz-4.4.0-144-generic I: /initrd.img.old is now a symlink to boot/initrd.img-4.4.0-144-generic I: /vmlinuz is now a symlink to boot/vmlinuz-4.4.0-146-generic I: /initrd.img is now a symlink to boot/initrd.img-4.4.0-146-generic Setting up linux-modules-extra-4.4.0-146-generic (4.4.0-146.172~14.04.1) ... Setting up linux-image-generic-lts-xenial (4.4.0.146.128) ... Setting up linux-headers-4.4.0-146 (4.4.0-146.172~14.04.1) ... Setting up linux-headers-4.4.0-146-generic (4.4.0-146.172~14.04.1) ... Setting up linux-headers-generic-lts-xenial (4.4.0.146.128) ... Setting up linux-generic-lts-xenial (4.4.0.146.128) ... Setting up linux-libc-dev:i386 (3.13.0-169.219) ... Processing triggers for linux-image-4.4.0-146-generic (4.4.0-146.172~14.04.1) ... /etc/kernel/postinst.d/initramfs-tools: update-initramfs: Generating /boot/initrd.img-4.4.0-146-generic /etc/kernel/postinst.d/zz-extlinux: P: Checking for EXTLINUX directory... found. P: Writing config for /boot/vmlinuz-4.4.0-146-generic... P: Writing config for /boot/vmlinuz-4.4.0-144-generic... P: Writing config for /boot/vmlinuz-4.4.0-143-generic... P: Updating /boot/extlinux/linux.cfg... P: Installing debian theme... done. /etc/kernel/postinst.d/zz-update-grub: Searching for GRUB installation directory ... found: /boot/grub Searching for default file ... Generating /boot/grub/default file and setting the default boot entry to 0 Searching for GRUB installation directory ... found: /boot/grub Testing for an existing GRUB menu.lst file ... Could not find /boot/grub/menu.lst file. Would you like /boot/grub/menu.lst generated for you? (y/N) /usr/sbin/update-grub: line 1094: read: read error: 0: Bad file descriptor run-parts: /etc/kernel/postinst.d/zz-update-grub exited with return code 1 dpkg: error processing package linux-image-4.4.0-146-generic (--configure): subprocess installed post-installation script returned error exit status 1