purging a kernel sometimes fails to remove kernel in armel
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
initramfs-tools |
New
|
Undecided
|
Unassigned | ||
initramfs-tools (Ubuntu) |
Triaged
|
High
|
Unassigned |
Bug Description
Binary package hint: initramfs-tools
When purging a kernel, the links in /boot fail to get updated, which flash-kernel depends on for updating boot partitions on armel platforms. This may leave the system unable to boot or may continue to boot the purged kernel.
The following is the output from apt-get --purge:
ubuntu@beaglexm:~$ sudo apt-get --purge remove linux-image-
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
linux-
Use 'apt-get autoremove' to remove them.
The following packages will be REMOVED:
linux-
0 upgraded, 0 newly installed, 3 to remove and 211 not upgraded.
After this operation, 59.5MB disk space will be freed.
Do you want to continue [Y/n]? y
(Reading database ... 124191 files and directories currently installed.)
Removing linux-omap ...
Removing linux-image-omap ...
Removing linux-image-
WARN: Proceeding with removing running kernel image.
Examining /etc/kernel/
run-parts: executing /etc/kernel/
The link /boot/vmlinuz is a damaged link
Removing symbolic link vmlinuz
you may need to re-run your boot loader[grub]
The link /boot/initrd.img is a damaged link
Removing symbolic link initrd.img
you may need to re-run your boot loader[grub]
Purging configuration files for linux-image-
Examining /etc/kernel/
run-parts: executing /etc/kernel/
ProblemType: Bug
DistroRelease: Ubuntu 10.10
Package: initramfs-tools 0.98.1ubuntu6
ProcVersionSign
Uname: Linux 2.6.35-24-omap armv7l
NonfreeKernelMo
Architecture: armel
Date: Tue Jan 11 11:52:09 2011
PackageArchitec
ProcEnviron:
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: initramfs-tools
Changed in initramfs-tools (Ubuntu): | |
importance: | Undecided → High |
status: | New → Triaged |
does your /etc/kernel- img.conf have the do_symlinks arg set to yes ?