[Bug 1906175] Re: failed to update-grub
Launchpad Bug Tracker
1906175 at bugs.launchpad.net
Fri Mar 5 04:17:16 UTC 2021
[Expired for grub2 (Ubuntu) because there has been no activity for 60
days.]
** Changed in: grub2 (Ubuntu)
Status: Incomplete => Expired
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to grub2 in Ubuntu.
https://bugs.launchpad.net/bugs/1906175
Title:
failed to update-grub
Status in grub2 package in Ubuntu:
Expired
Bug description:
Ubuntu 20.04.1 LTS
Observed fact:
after running "update-grub" command, I get the following errors
Adding boot menu entry for UEFI Firmware Settings
error: out of memory.
error: syntax error.
error: Incorrect command.
error: syntax error.
Syntax error at line 309
Syntax errors are detected in generated GRUB config file.
Analysis:
LANG is set to "en_US.UTF-8"
when "update-grub" calls /etc/grub.d/00_header line
23 grub_lang=`echo $LANG | cut -d . -f 1` ==> produces grub_lang="en_US wihout ending quote
Proposed fix:
not sure how to deal with that subject
maybe it is enough to remove quotes around LANG setting
in my setup /etc/default/locale, LANG is set to C, later it is set to "en_US.UTF-8", don't know the process
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1906175/+subscriptions
More information about the foundations-bugs
mailing list