Public bug reported:

Binary package hint: linux-source-2.6.20

I was attempting to remove my running kernel (I already have a new one
installed and ready to go). Usually a question pops up asking if I am
sure I want to do this. with linux-image-2.6.20-6-generic, there was no
such question:

[EMAIL PROTECTED]:~$ sudo dpkg --purge linux-image-2.6.20-6-generic(Reading 
database ... 179406 files and directories currently installed.)
Removing linux-image-2.6.20-6-generic ...
dpkg: error processing linux-image-2.6.20-6-generic (--purge):
 subprocess pre-removal script returned error exit status 1
Errors were encountered while processing:
 linux-image-2.6.20-6-generic

I manually removed the "exit 1" from the following block and sucessfully 
removed the package.
if ($answer =~ /^(y|t)/i) {
    exit 1; #Operation not permitted
  }
  else {
     print STDERR "Ok, proceeding with removing running kernel image.\n";
  }

** Affects: linux-source-2.6.20 (Ubuntu)
     Importance: Undecided
         Status: Unconfirmed

-- 
couldn't remove linux-image-2.6.20-6-generic because it was the running kernel
https://launchpad.net/bugs/84939

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to