[Bug 1692235] Re: Syntax error in .postinst - broken package
*** This bug is a duplicate of bug 1692181 *** https://bugs.launchpad.net/bugs/1692181 I didn't make it a dup because the first was about grub-efi-amd64 and different syntax error. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1692235 Title: Syntax error in .postinst - broken package To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1692235/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1692235] Re: Syntax error in .postinst - broken package
*** This bug is a duplicate of bug 1692181 *** https://bugs.launchpad.net/bugs/1692181 See the previous comment. ** This bug has been marked a duplicate of bug 1692181 bash syntax error in the postinst script -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1692235 Title: Syntax error in .postinst - broken package To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1692235/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1692235] Re: Syntax error in .postinst - broken package
Confirmed :) What is the commit that fixed? (for tracking) or perhaps there's a different bug to dup against -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1692235 Title: Syntax error in .postinst - broken package To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1692235/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1692235] Re: Syntax error in .postinst - broken package
Update came in right now - fixed. Thanks! Version 2.02~beta2-36ubuntu3.11: * Fix syntax error in debian/postinst.in. (LP #1692181) apt-cache policy grub-pc grub-pc: Installiert: 2.02~beta2-36ubuntu3.11 Installationskandidat: 2.02~beta2-36ubuntu3.11 Versionstabelle: *** 2.02~beta2-36ubuntu3.11 500 500 http://archive.ubuntu.com/ubuntu xenial-proposed/main amd64 Packages 100 /var/lib/dpkg/status 2.02~beta2-36ubuntu3.9 500 500 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages 2.02~beta2-36ubuntu3 500 500 http://archive.ubuntu.com/ubuntu xenial/main amd64 Packages ** Changed in: grub2 (Ubuntu) Status: Confirmed => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1692235 Title: Syntax error in .postinst - broken package To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1692235/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1692235] Re: Syntax error in .postinst - broken package
"Android Dev" over on the Ubuntu forums posted - https://askubuntu.com/questions/917395/grub-post-installation-fails/917423#917423 It is pointed out there that in fact there is a semi-colon missing here! didn't see it myself {{{ if dpkg --compare-versions "$2" lt-nl 2.02~beta2-36ubuntu3.10 then ^ ; }}} After adding it, I can too confirm it resolves the syntax error. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1692235 Title: Syntax error in .postinst - broken package To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1692235/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1692235] Re: Syntax error in .postinst - broken package
"me too" {{{ $ dpkg --list | grep grub-pc iF grub-pc 2.02~beta2-36ubuntu3.10 amd64GRand Unified Bootloader, version 2 (PC/BIOS version) ii grub-pc-bin 2.02~beta2-36ubuntu3.10 amd64GRand Unified Bootloader, version 2 (PC/BIOS binaries) $ uname -a Linux 4.4.0-79-generic #100-Ubuntu SMP Wed May 17 19:58:14 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux }}} This is the block it's complaining about: {{{ if dpkg --compare-versions "$2" lt-nl 2.02~beta2-36ubuntu3.10 then if [ -e "/boot/efi/EFI/${bootloader_id}/fbx64.efi" ]; then rm -f "/boot/efi/EFI/${bootloader_id}/fbx64.efi"; fi fi<--- HERE }}} However there are no syntax errors that I can see in this shell script. Working backwards a bit, I added a debug echo just above that; -> echo statement doesn't get hit Added another statement just above the previous block {{{ grub-efi-ia32|grub-efi-amd64|grub-efi-ia64|grub-efi-arm|grub-efi-arm64) bootloader_id="$(config_item GRUB_DISTRIBUTOR | tr A-Z a-z | \ cut -d' ' -f1)" case $bootloader_id in kubuntu) bootloader_id=ubuntu ;; esac }}} And it borked there /var/lib/dpkg/info/grub-pc.postinst: line 694: syntax error near unexpected token `"fermmy:DEBUG: foo"' -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1692235 Title: Syntax error in .postinst - broken package To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1692235/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1692235] Re: Syntax error in .postinst - broken package
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: grub2 (Ubuntu) Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1692235 Title: Syntax error in .postinst - broken package To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1692235/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs