apt-get misreads specified kernel to delete
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
apt (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Hi,
I'm currently running kubuntu jaunty with the 2.6.30 kernel and kde 4.2.4, apt is version 0.7.20.2ubuntu6.
I decided to remove kernel version 2.6.28-11 and ran "sudo apt-get remove -purge 2.6.28-11*" expecting the command would remove the 2.6.28-11 kernel. However it tried to remove ALL installed kernels from the 2.6.28-group (so in my case 2.6.28.11,2.6.28.13 and 2.6.28.14). I attached the output of "sudo apt-get remove -purge 2.6.28-11*".
I removed the 2.6.28-11 kernel version successfully by using the following command: apt-get remove 2.6.28-11-*, however I think that the command I initially used should not delete all kernels as this is an accident waiting to happen.
I also tried to replicate this behaviour with other packages, but it worked fine for "sudo apt-get remove -purge flashplugin-
The same is true for apt-cache.
apt-cache search 2.6.28-11* will list all kernels from 2.6.28.*