Preparing to unpack .../libc6-i386_2.23-0ubuntu7_amd64.deb ... Unpacking libc6-i386 (2.23-0ubuntu7) ... Selecting previously unselected package grub-common. Preparing to unpack .../grub-common_2.02~beta2-36ubuntu3.9_amd64.deb ... Unpacking grub-common (2.02~beta2-36ubuntu3.9) ... Selecting previously unselected package grub. Preparing to unpack .../grub_0.97-29ubuntu68_amd64.deb ... Unpacking grub (0.97-29ubuntu68) ... Selecting previously unselected package linux-image-4.4.0-77-generic. Preparing to unpack .../linux-image-4.4.0-77-generic_4.4.0-77.98_amd64.deb ... Done. Unpacking linux-image-4.4.0-77-generic (4.4.0-77.98) ... Selecting previously unselected package linux-image-extra-4.4.0-77-generic. Preparing to unpack .../linux-image-extra-4.4.0-77-generic_4.4.0-77.98_amd64.deb ... Unpacking linux-image-extra-4.4.0-77-generic (4.4.0-77.98) ... Selecting previously unselected package linux-image-generic. Preparing to unpack .../linux-image-generic_4.4.0.77.83_amd64.deb ... Unpacking linux-image-generic (4.4.0.77.83) ... Selecting previously unselected package linux-headers-4.4.0-77. Preparing to unpack .../linux-headers-4.4.0-77_4.4.0-77.98_all.deb ... Unpacking linux-headers-4.4.0-77 (4.4.0-77.98) ... Selecting previously unselected package linux-headers-4.4.0-77-generic. Preparing to unpack .../linux-headers-4.4.0-77-generic_4.4.0-77.98_amd64.deb ... Unpacking linux-headers-4.4.0-77-generic (4.4.0-77.98) ... Selecting previously unselected package linux-headers-generic. Preparing to unpack .../linux-headers-generic_4.4.0.77.83_amd64.deb ... Unpacking linux-headers-generic (4.4.0.77.83) ... Selecting previously unselected package linux-generic. Preparing to unpack .../linux-generic_4.4.0.77.83_amd64.deb ... Unpacking linux-generic (4.4.0.77.83) ... Selecting previously unselected package os-prober. Preparing to unpack .../os-prober_1.70ubuntu3.3_amd64.deb ... Unpacking os-prober (1.70ubuntu3.3) ... Processing triggers for libc-bin (2.23-0ubuntu5) ... Processing triggers for systemd (229-4ubuntu16) ... Processing triggers for ureadahead (0.100.0-19) ... Processing triggers for man-db (2.7.5-1) ... Setting up libc-dev-bin (2.23-0ubuntu7) ... Setting up libc6-dev:amd64 (2.23-0ubuntu7) ... Setting up libc6-dbg:amd64 (2.23-0ubuntu7) ... Setting up libc6-i386 (2.23-0ubuntu7) ... Setting up grub-common (2.02~beta2-36ubuntu3.9) ... update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults Running in chroot, ignoring request. Setting up grub (0.97-29ubuntu68) ... Setting up linux-image-4.4.0-77-generic (4.4.0-77.98) ... Running depmod. update-initramfs: deferring update (hook will be called later) Examining /etc/kernel/postinst.d. run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 4.4.0-77-generic /boot/vmlinuz-4.4.0-77-generic run-parts: executing /etc/kernel/postinst.d/initramfs-tools 4.4.0-77-generic /boot/vmlinuz-4.4.0-77-generic update-initramfs: Generating /boot/initrd.img-4.4.0-77-generic run-parts: executing /etc/kernel/postinst.d/pm-utils 4.4.0-77-generic /boot/vmlinuz-4.4.0-77-generic run-parts: executing /etc/kernel/postinst.d/unattended-upgrades 4.4.0-77-generic /boot/vmlinuz-4.4.0-77-generic run-parts: executing /etc/kernel/postinst.d/update-notifier 4.4.0-77-generic /boot/vmlinuz-4.4.0-77-generic run-parts: executing /etc/kernel/postinst.d/zz-update-grub 4.4.0-77-generic /boot/vmlinuz-4.4.0-77-generic Searching for GRUB installation directory ... No GRUB directory found. To create a template run 'mkdir /boot/grub' first. To install grub, install it manually or try the 'grub-install' command. ### Warning, grub-install is used to change your MBR. ### run-parts: /etc/kernel/postinst.d/zz-update-grub exited with return code 1 Failed to process /etc/kernel/postinst.d at /var/lib/dpkg/info/linux-image-4.4.0-77-generic.postinst line 1052. dpkg: error processing package linux-image-4.4.0-77-generic (--configure): subprocess installed post-installation script returned error exit status 2