LANG=C apt-get -f install Err 100 Reading package lists... Done Building dependency tree Reading state information... Done The following packages were automatically installed and are no longer required: linux-headers-3.2.0-31-generic linux-headers-3.2.0-31 linux-headers-3.2.0-27 libclamav6 linux-headers-3.2.0-27-generic libtommath0 Use 'apt-get autoremove' to remove them. 0 upgraded, 0 newly installed, 0 to remove and 6 not upgraded. 1 not fully installed or removed. After this operation, 0 B of additional disk space will be used. Setting up grub-pc (1.99-21ubuntu3.20) ... Killed dpkg: error processing grub-pc (--configure): subprocess installed post-installation script returned error exit status 137 Errors were encountered while processing: grub-pc E: Sub-process /usr/bin/dpkg returned an error code (1)
/var/lib/dpkg/info/grub-pc.postinst /var/lib/dpkg/info/grub-pc.postrm /var/lib/dpkg/info/grub-pc-bin.md5sums /var/lib/dpkg/info/grub-pc-bin.list /var/lib/dpkg/info/grub-pc.prerm /var/lib/dpkg/info/grub-pc.config /var/lib/dpkg/info/grub-pc.templates /var/lib/dpkg/info/grub-pc.conffiles /var/lib/dpkg/info/grub-pc.preinst /var/lib/dpkg/info/grub-pc.md5sums /var/lib/dpkg/info/grub-pc.list
/var/lib/dpkg/info/grub-pc.postinst
#!/bin/bash -x