The problem was because the boot/efi partition was mounted as read-only. After remounting it as read-write. I have got the same error like in the https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1282375
-- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1282918 Title: Error upgrading grub-efi-amd64 on 14.04 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1282918/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs