That script in 2.6.16 has to be defective somehow. The last kernel I was able to install on this box was 2.6.12 and though it's out of date it installed with no incidents like this. I made a similar mistake and tried to install 2.6.17 earlier and that failed on installation.


On Fri, 22 Sep 2006, Fred J. wrote:



Jude DaShiell <[EMAIL PROTECTED]> wrote: I think it would have purged 
successfully if you had been running 2.6.15
at the time of the attempted purge.  I think you were running 2.6.16 and
debian doesn't like to purge a running kernel.  Suggestion would be to
comment out the kernel line down toward the bottom of menu.lst for kernel
2.6.16 and reboot the computer and see if you get kernel 2.6.15 up you can
do uname -ar to find out or look at the screen as it comes up in the very
beginning.  Then try that purge again.


ii  linux-image-2.6.15-1-686  2.6.15-8                   Linux kernel 2.6.15 
image on PPro/Celeron/PI
ii  linux-image-2.6.16.1      2.6.16.1-10.00.Custom      Linux kernel binary 
image for version 2.6.16

[EMAIL PROTECTED]:~$ sudo apt-get --purge remove linux-image-2.6.16.1
Reading package lists... Done
Building dependency tree... Done
The following packages will be REMOVED
 linux-image-2.6.16.1*
0 upgraded, 0 newly installed, 1 to remove and 14 not upgraded.
Need to get 0B of archives.
After unpacking 44.7MB disk space will be freed.
Do you want to continue [Y/n]?
(Reading database ... 85385 files and directories currently installed.)
Removing linux-image-2.6.16.1 ...
Running postrm hook script /sbin/update-grub.
Searching for GRUB installation directory ... found: /boot/grub
Testing for an existing GRUB menu.lst file ... found: /boot/grub/menu.lst
Searching for splash image ... none found, skipping ...
Found kernel: /boot/vmlinuz-2.6.15-1-686
Updating /boot/grub/menu.lst ... done

The link /vmlinuz is a damaged link
Removing symbolic link vmlinuz
Unless you used the optional flag in lilo,
you may need to re-run your boot loader[lilo]
Purging configuration files for linux-image-2.6.16.1 ...
Running postrm hook script /sbin/update-grub.
Searching for GRUB installation directory ... found: /boot/grub
Testing for an existing GRUB menu.lst file ... found: /boot/grub/menu.lst
Searching for splash image ... none found, skipping ...
Found kernel: /boot/vmlinuz-2.6.15-1-686
Updating /boot/grub/menu.lst ... done

dpkg: error processing linux-image-2.6.16.1 (--purge):
subprocess post-removal script returned error exit status 128
Errors were encountered while processing:
linux-image-2.6.16.1
E: Sub-process /usr/bin/dpkg returned an error code (1)
[EMAIL PROTECTED]:~$ firefox -safe-mode&
[1] 5079

[EMAIL PROTECTED]:~$ uname -ar
Linux debian 2.6.15-1-686 #2 Mon Mar 6 15:27:08 UTC 2006 i686 GNU/Linux
[EMAIL PROTECTED]:~$

notice I used sudo in the process above.



---------------------------------
Stay in the know. Pulse on the new Yahoo.com.  Check it out.


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to