Public bug reported:

Still having a persistent problem with grub out of memory \ syntax error.
This time via apt updating.

Using Ubuntu 22.04.5 LTS, generic 6.7.0, default wallpaper.

I can't see any syntax errors in any of the grub files. Attached
grub.cfg.new.

sudo apt upgrade

Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
0 to upgrade, 0 to newly install, 0 to remove and 0 not to upgrade.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y
Setting up grub-efi-amd64 (2.06-2ubuntu14.8) ...
Installing grub to /boot/efi.
Installing for x86_64-efi platform.
Installation finished. No error reported.
Sourcing file `/etc/default/grub'
Sourcing file `/etc/default/grub.d/init-select.cfg'
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-6.7.0-060700-generic
Found initrd image: /boot/initrd.img-6.7.0-060700-generic
Found linux image: /boot/vmlinuz-6.7.0
Found initrd image: /boot/initrd.img-6.7.0
Found linux image: /boot/vmlinuz-6.7.0.old
Found initrd image: /boot/initrd.img-6.7.0
Warning: os-prober will be executed to detect other bootable partitions.
Its output will be used to detect bootable binaries on them and create new boot 
entries.
Found Windows Boot Manager on /dev/sda1@/efi/Microsoft/Boot/bootmgfw.efi
Found Ubuntu 25.04 (25.04) on /dev/sdb4
Found linux image: /boot/vmlinuz-6.7.0-060700-generic
Found initrd image: /boot/initrd.img-6.7.0-060700-generic
Found linux image: /boot/vmlinuz-6.7.0
Found initrd image: /boot/initrd.img-6.7.0
Found linux image: /boot/vmlinuz-6.7.0.old
Found initrd image: /boot/initrd.img-6.7.0
Warning: os-prober will be executed to detect other bootable partitions.
Its output will be used to detect bootable binaries on them and create new boot 
entries.
Found Windows Boot Manager on /dev/sda1@/efi/Microsoft/Boot/bootmgfw.efi
Found Ubuntu 25.04 (25.04) on /dev/sdb4
Found linux image: /boot/vmlinuz-6.7.0-060700-generic
Found initrd image: /boot/initrd.img-6.7.0-060700-generic
Found linux image: /boot/vmlinuz-6.7.0
Found initrd image: /boot/initrd.img-6.7.0
Found linux image: /boot/vmlinuz-6.7.0.old
Found initrd image: /boot/initrd.img-6.7.0
Warning: os-prober will be executed to detect other bootable partitions.
Its output will be used to detect bootable binaries on them and create new boot 
entries.
Found Windows Boot Manager on /dev/sda1@/efi/Microsoft/Boot/bootmgfw.efi
Found Ubuntu 25.04 (25.04) on /dev/sdb4
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 444
Syntax errors are detected in generated GRUB config file.
Ensure that there are no errors in /etc/default/grub
and /etc/grub.d/* files or please file a bug report with
/boot/grub/grub.cfg.new file attached.
dpkg: error processing package grub-efi-amd64 (--configure):
 installed grub-efi-amd64 package post-installation script subprocess returned 
error exit status 1
Processing triggers for shim-signed (1.51.4+15.8-0ubuntu1) ...
Secure Boot not enabled on this system.
Errors were encountered while processing:
 grub-efi-amd64
E: Sub-process /usr/bin/dpkg returned an error code (1)

** Affects: grub-customizer (Ubuntu)
     Importance: Undecided
         Status: New

** Attachment added: "grub.cfg.new"
   
https://bugs.launchpad.net/bugs/2117329/+attachment/5891503/+files/grub.cfg.new

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2117329

Title:
  Grub config file... out of memory... again

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grub-customizer/+bug/2117329/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to