grub-probe fails with "no directory"
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Confirmed
|
Medium
|
Unassigned |
Bug Description
1)
Description: Ubuntu 14.04.3 LTS
Release: 14.04
2)
grub2 2.02~beta2-
linux-image-
linux-image-
linux-image-generic 3.13.0.68.74
linux-headers-
Aptitude full-upgrade upgraded kernel to 3.13.0-68. Kernel has been installed but grub.cfg is not updated properly, neither from post-install nor from a manually initiated update-grub. Tried reinstalling all of grub + kernel. Still doesn't work. Installing the kernel produces the following:
-------
The following NEW packages will be installed:
linux-
0 packages upgraded, 3 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/51.8 MB of archives. After unpacking 146 MB will be used.
Do you want to continue? [Y/n/?]
Selecting previously unselected package linux-image-
(Reading database ... 273362 files and directories currently installed.)
Preparing to unpack .../linux-
Done.
Unpacking linux-image-
Selecting previously unselected package linux-image-
Preparing to unpack .../linux-
Unpacking linux-image-
Selecting previously unselected package linux-image-
Preparing to unpack .../linux-
Unpacking linux-image-generic (3.13.0.68.74) ...
Setting up linux-image-
Running depmod.
update-initramfs: deferring update (hook will be called later)
Examining /etc/kernel/
run-parts: executing /etc/kernel/
run-parts: executing /etc/kernel/
update-initramfs: Generating /boot/initrd.
run-parts: executing /etc/kernel/
run-parts: executing /etc/kernel/
run-parts: executing /etc/kernel/
Generating grub configuration file ...
grub-probe: error: not a directory.
run-parts: /etc/kernel/
Failed to process /etc/kernel/
dpkg: error processing package linux-image-
subprocess installed post-installation script returned error exit status 2
dpkg: dependency problems prevent configuration of linux-image-
linux-
Package linux-image-
dpkg: error processing package linux-image-
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of linux-image-
linux-
Package linux-image-
linux-
Package linux-image-
dpkg: error processing package linux-image-generic (--configure):
dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.
linux-
linux-
linux-
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install. Trying to recover:
Setting up linux-image-
Running depmod.
update-initramfs: deferring update (hook will be called later)
initrd.
) points to /boot/initrd.
(/boot/
vmlinuz(
) points to /boot/vmlinuz-
(/boot/
Examining /etc/kernel/
run-parts: executing /etc/kernel/
run-parts: executing /etc/kernel/
update-initramfs: Generating /boot/initrd.
run-parts: executing /etc/kernel/
run-parts: executing /etc/kernel/
run-parts: executing /etc/kernel/
Generating grub configuration file ...
grub-probe: error: not a directory.
run-parts: /etc/kernel/
Failed to process /etc/kernel/
dpkg: error processing package linux-image-
subprocess installed post-installation script returned error exit status 2
dpkg: dependency problems prevent configuration of linux-image-
linux-
Package linux-image-
dpkg: error processing package linux-image-
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of linux-image-
linux-
Package linux-image-
linux-
Package linux-image-
dpkg: error processing package linux-image-generic (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
linux-
linux-
linux-
-------
Updating grub manually produces the following:
Generating grub configuration file ...
grub-probe: error: not a directory.
Changed in linux (Ubuntu): | |
importance: | Undecided → Medium |
This bug is missing log files that will aid in diagnosing the problem. From a terminal window please run:
apport-collect 1516014
and then change the status of the bug to 'Confirmed'.
If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.
This change has been made by an automated script, maintained by the Ubuntu Kernel Team.