package linux-image-generic 2.6.24.24.26 failed to install/upgrade: dependency problems - leaving unconfigured - problem with grub?
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
grub (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: grub
Hi. Im running Ubuntu Hardy, and am having problems upgrading my kernel.
When I run "sudo apt-get install linux-image-generic linux-restricte
"Replacing config file /var/run/
Updating /boot/grub/menu.lst ... done
You already have a NoLOADER configuration in /etc/grub.conf
Running boot loader as requested
Running /usr/sbin/grub ...
"
and then does nothing forever. I've left it run overnight there, and nothing happend. Eventually, I press CTRL-C and the installation process unwinds with the expected errors. If you'd like more info from my session, it is all below:
Thanks for your help!
~Andy D
A copy of my session:
[andromodon@mythica ~]$ sudo apt-get install linux-image-generic linux-restricte
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
libisc32
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
linux-
linux-
Suggested packages:
avm-fritz-
The following NEW packages will be installed:
linux-
linux-
The following packages will be upgraded:
linux-
2 upgraded, 3 newly installed, 0 to remove and 0 not upgraded.
Need to get 43.0MB of archives.
After this operation, 129MB of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1 http://
Get:2 http://
Get:3 http://
Get:4 http://
Get:5 http://
Fetched 43.0MB in 2min55s (245kB/s)
Selecting previously deselected package linux-image-
(Reading database ... 150408 files and directories currently installed.)
Unpacking linux-image-
Done.
Selecting previously deselected package linux-ubuntu-
Unpacking linux-ubuntu-
Preparing to replace linux-image-generic 2.6.24.21.23 (using .../linux-
Unpacking replacement linux-image-generic ...
Selecting previously deselected package linux-restricte
Unpacking linux-restricte
Preparing to replace linux-restricte
Unpacking replacement linux-restricte
Setting up linux-image-
Running depmod.
update-initramfs: Generating /boot/initrd.
Running postinst hook script /sbin/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 ...
Found kernel: /vmlinuz-
Found kernel: /vmlinuz-
Found kernel: /vmlinuz-
Found kernel: /vmlinuz-
Found kernel: /vmlinuz-
Found kernel: /memtest86+.bin
Replacing config file /var/run/
Updating /boot/grub/menu.lst ... done
You already have a NoLOADER configuration in /etc/grub.conf
Running boot loader as requested
Running /usr/sbin/grub ...
<<<<<<<<<<<<< This is where it freezes, and I press CTRL-C >>>>>>>>>>>>>>>>>>
Boot loader failed to run
dpkg: error processing linux-image-
subprocess post-installation script returned error exit status 2
dpkg: dependency problems prevent configuration of linux-ubuntu-
linux-
Package linux-image-
dpkg: error processing linux-ubuntu-
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of linux-image-
linux-
Package linux-image-
linux-
Package linux-ubuntu-
dpkg: error processing linux-image-generic (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of linux-restricte
linux-
Package linux-image-
dpkg: error processing linux-restricte
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of linux-restricte
linux-
Package linux-restricte
dpkg: error processing linux-restricte
dependency problems - leaving unconfigured
Errors were encountered while processing:
linux-
linux-
linux-
linux-
linux-
E: Sub-process /usr/bin/dpkg returned an error code (1)
My lsb_release -rd is:
Description: Ubuntu 8.04.3 LTS
Release: 8.04
my current kernel is:
Ubuntu 2.6.24-
ProblemType: Package
Architecture: i386
Date: Sun Aug 2 12:24:46 2009
DistroRelease: Ubuntu 8.04
ErrorMessage: dependency problems - leaving unconfigured
NonfreeKernelMo
Package: linux-image-generic 2.6.24.24.26
PackageArchitec
SourcePackage: linux-meta
Title: package linux-image-generic 2.6.24.24.26 failed to install/upgrade: dependency problems - leaving unconfigured
Uname: Linux 2.6.24-21-generic i686
Looks like this bug is really old...
Let me post the solution for all of users out there who might be stuck at this problem for a while.
Instead of "Ctrl+C" you should type "quit" instead. And that's it.