Public bug reported:

Binary package hint: grub

When performing a distro upgrade from Feisty to Gutsy, update manager
complained about these packages:

linux-image-2.6.22-14-generic
linux-ubuntu-modules-2.6.22-14-generic
linux-restricted-modules-2.6.22-14-generic
nvidia-glx
ubuntu-standard
linux-image-generic
update-manager
linux-restricted-modules-generic
linux-generic
memtest86+

Specifically the problem manifested itself whenever a packages post
install called "update-grub".

Running "update-grub" manually produced the same error:

nick@:~$ sudo update-grub
Searching for GRUB installation directory ... found: /boot/grub
Searching for default file ... found: /boot/grub/default
Testing for an existing GRUB menu.lst file ... found: /boot/grub/menu.lst
Searching for splash image ... none found, skipping ...
expr: non-numeric argument

notice the last line "expr: non-numeric argument", this was down to my
default booted entry being set to "saved" instead of a decimal number:

default         saved
#default         2

If I uncomment the 2nd default line, all is well and package
installation and post install actions succeed.

"saved" is a valid option for default as I have used it succesfully for
years by adding "savedefault" at the end of my boot options.

I can reproduce this bug at will by changing defaults value to "saved"
from 1 / 2 / 3 / whatever.

** Affects: memtest86+ (Ubuntu)
     Importance: Undecided
         Status: New

** Description changed:

- Binary package hint: memtest86+
+ Binary package hint: grub
  
  When performing a distro upgrade from Feisty to Gutsy, update manager
  complained about these packages:
  
  linux-image-2.6.22-14-generic
  linux-ubuntu-modules-2.6.22-14-generic
  linux-restricted-modules-2.6.22-14-generic
  nvidia-glx
  ubuntu-standard
  linux-image-generic
  update-manager
  linux-restricted-modules-generic
  linux-generic
  memtest86+
  
  Specifically the problem manifested itself whenever a packages post
  install called "update-grub".
  
  Running "update-grub" manually produced the same error:
  
  nick@:~$ sudo update-grub
  Searching for GRUB installation directory ... found: /boot/grub
  Searching for default file ... found: /boot/grub/default
  Testing for an existing GRUB menu.lst file ... found: /boot/grub/menu.lst
  Searching for splash image ... none found, skipping ...
  expr: non-numeric argument
  
  notice the last line "expr: non-numeric argument", this was down to my
  default booted entry being set to "saved" instead of a decimal number:
  
  default         saved
  #default         2
  
  If I uncomment the 2nd default line, all is well and package
  installation and post install actions succeed.
  
  "saved" is a valid option for default as I have used it succesfully for
  years by adding "savedefault" at the end of my boot options.
  
  I can reproduce this bug at will by changing defaults value to "saved"
  from 1 / 2 / 3 / whatever.

-- 
update-grub failes when "default" is set to "saved" instead of numeric value
https://bugs.launchpad.net/bugs/164513
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

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

Reply via email to