Server Fubar'ed - Ideas welcomed

Mike Reinehr cmr
Thu Jun 9 11:27:23 PDT 2005


On Thursday 09 June 2005 10:36 am, Michael Hipp wrote:
> The kernel update linux-image-2.6.10-5-386 is in a partially installed
> (severely inconsistent) state. It won't remove and it won't install
> without crashing the box. Evidently it crashed originally when
> installing that update. Coincidence?
>
> dpkg says to reinstall it. But there's no option for "reinstall", only
> "install". And that crashes.
>
> Any ideas?
>
> Michael

Michael,

What kernel is it currently running the new one mentioned above, or an older 
one?

If running an older kernel then this definitely should work:

dpkg --purge linux-image-2.6.10-5-386 --force-remove-reinstreq

followed by:

dpkg --install linux-image-2.6.10-5-386

(I'm taking this from man:dpkg and don't promise that the syntax is exactly 
correct, but you get the idea.)

A safe way to proceed might be to boot from Knoppix, run fsck on hda2, mount 
hda2, chroot into it and then run dpkg.

If it still crashes your system then you likely have hardware problems.

HTH's!

cmr
-- 
Debian 'Sarge': Registered Linux User #241964

"More laws, less justice." -- Marcus Tullius Ciceroca, 42 BC


More information about the Linux-users mailing list