← Back to team overview

kernel-packages team mailing list archive

[Bug 1279658] Re: precise → saucy upgrade fails: /usr/sbin/grub-probe: error: failed to get canonical path of none.

 

This already happens in quantal proper, in the pristine container:

$ sudo /etc/kernel/postinst.d/zz-update-grub 3.5.0-45-generic /boot/vmlinuz-3.5.0-45-generic 
/usr/sbin/grub-probe: error: failed to get canonical path of none.

The installed version of /etc/kernel/postinst.d/zz-update-grub does not
have the running-in-container check, unlike the one I get in precise and
trusty:

$ dpkg -S /etc/kernel/postinst.d/zz-update-grub
grub-pc: /etc/kernel/postinst.d/zz-update-grub

grub-pc is version 2.00-7ubuntu11. I see that the container check was
added in a precise SRU in bug 1060404, so this is really a duplicate of
that bug.

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1279658

Title:
  precise → saucy upgrade fails: /usr/sbin/grub-probe: error: failed to
  get canonical path of none.

Status in “linux” package in Ubuntu:
  Incomplete

Bug description:
  In our quantal to saucy test upgrades, configuring the kernel fails as
  follows:

  Setting up linux-image-3.11.0-15-generic (3.11.0-15.25) ...
  Running depmod.
  update-initramfs: deferring update (hook will be called later)
  Examining /etc/kernel/postinst.d.
  run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 3.11.0-15-generic /boot/vmlinuz-3.11.0-15-generic
  run-parts: executing /etc/kernel/postinst.d/initramfs-tools 3.11.0-15-generic /boot/vmlinuz-3.11.0-15-generic
  update-initramfs: Generating /boot/initrd.img-3.11.0-15-generic
  cryptsetup: WARNING: could not determine root device from /etc/fstab
  run-parts: executing /etc/kernel/postinst.d/pm-utils 3.11.0-15-generic /boot/vmlinuz-3.11.0-15-generic
  run-parts: executing /etc/kernel/postinst.d/update-notifier 3.11.0-15-generic /boot/vmlinuz-3.11.0-15-generic
  run-parts: executing /etc/kernel/postinst.d/zz-update-grub 3.11.0-15-generic /boot/vmlinuz-3.11.0-15-generic
  /usr/sbin/grub-probe: error: failed to get canonical path of none.
  run-parts: /etc/kernel/postinst.d/zz-update-grub exited with return code 1
  Failed to process /etc/kernel/postinst.d at /var/lib/dpkg/info/linux-image-3.11.0-15-generic.postinst line 1010.
  dpkg: error processing linux-image-3.11.0-15-generic (--configure):
   subprocess installed post-installation script returned error exit status 2

  Full logs are at https://jenkins.qa.ubuntu.com/job/upgrade-ubuntu-
  quantal-saucy-desktop-amd64/27/ in particular the apt log:
  http://d-jenkins.ubuntu-ci:8080/view/Upgrade/job/upgrade-ubuntu-
  quantal-saucy-desktop-amd64/27/artifact/results/apt-term.log

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1279658/+subscriptions


References