Preparing to unpack .../python-dnspython_1.12.0-1_all.deb ... Unpacking python-dnspython (1.12.0-1) ... Selecting previously unselected package tdb-tools. Preparing to unpack .../tdb-tools_1.3.8-2_amd64.deb ... Unpacking tdb-tools (1.3.8-2) ... Selecting previously unselected package samba. Preparing to unpack .../samba_2%3a4.3.11+dfsg-0ubuntu0.16.04.13_amd64.deb ... Unpacking samba (2:4.3.11+dfsg-0ubuntu0.16.04.13) ... Selecting previously unselected package attr. Preparing to unpack .../attr_1%3a2.4.47-2_amd64.deb ... Unpacking attr (1:2.4.47-2) ... Selecting previously unselected package libaio1:amd64. Preparing to unpack .../libaio1_0.3.110-2_amd64.deb ... Unpacking libaio1:amd64 (0.3.110-2) ... Selecting previously unselected package samba-dsdb-modules. Preparing to unpack .../samba-dsdb-modules_2%3a4.3.11+dfsg-0ubuntu0.16.04.13_amd64.deb ... Unpacking samba-dsdb-modules (2:4.3.11+dfsg-0ubuntu0.16.04.13) ... Selecting previously unselected package samba-vfs-modules. Preparing to unpack .../samba-vfs-modules_2%3a4.3.11+dfsg-0ubuntu0.16.04.13_amd64.deb ... Unpacking samba-vfs-modules (2:4.3.11+dfsg-0ubuntu0.16.04.13) ... Processing triggers for man-db (2.7.5-1) ... Processing triggers for libc-bin (2.23-0ubuntu10) ... Processing triggers for ufw (0.35-0ubuntu2) ... Processing triggers for systemd (229-4ubuntu21.2) ... Processing triggers for ureadahead (0.100.0-19) ... ureadahead will be reprofiled on next reboot Setting up friendly-recovery (0.2.31ubuntu1) ... Searching for GRUB installation directory ... found: /boot/grub /etc/default/grub: line 20: ^G: command not found dpkg: error processing package friendly-recovery (--configure): subprocess installed post-installation script returned error exit status 127