*** This bug is a duplicate of bug 1692175 *** https://bugs.launchpad.net/bugs/1692175
Public bug reported: Performing regular updates, and received this error on install in terminal: Setting up grub-efi-amd64 (2.02~beta2-36ubuntu3.10) ... /var/lib/dpkg/info/grub-efi-amd64.postinst: line 703: syntax error near unexpected token `fi' dpkg: error processing package grub-efi-amd64 (--configure): subprocess installed post-installation script returned error exit status 2 Errors were encountered while processing: grub-efi-amd64 E: Sub-process /usr/bin/dpkg returned an error code (1) ProblemType: Bug DistroRelease: Ubuntu 16.04 Package: grub-efi-amd64 2.02~beta2-36ubuntu3.10 ProcVersionSignature: Ubuntu 4.8.0-53.56~16.04.1-generic 4.8.17 Uname: Linux 4.8.0-53-generic x86_64 NonfreeKernelModules: zfs zunicode zcommon znvpair zavl ApportVersion: 2.20.1-0ubuntu2.6 Architecture: amd64 CurrentDesktop: Unity Date: Sat May 20 07:04:46 2017 InstallationDate: Installed on 2016-04-28 (386 days ago) InstallationMedia: Ubuntu 16.04 LTS "Xenial Xerus" - Release amd64 (20160420.1) ProcEnviron: LANGUAGE=en_US PATH=(custom, no user) XDG_RUNTIME_DIR=<set> LANG=en_US.UTF-8 SHELL=/bin/bash SourcePackage: grub2 UpgradeStatus: No upgrade log present (probably fresh install) ** Affects: grub2 (Ubuntu) Importance: Undecided Status: New ** Tags: amd64 apport-bug package-from-proposed third-party-packages xenial -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1692209 Title: package fails to install - format error To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1692209/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs