Sarge to Etch via Knoppix Lilo. Any hope of recovery?

I tried to upgrade from Sarge to Etch but didn't reconfigure my lilo or upgrade my kernel first before rebooting(I know, bad idea). When rebooted, I got the dreaded loading "Li" and that's it.

I figured out that Lilo was broken so I got the latest version of Knoppix (rescue disk) and copied the Lilo from it back to my machine. It'll now boot and run almost normally, but I can't update anything. I need to update my kernel and glibc but apt-get and aptitude just cut out with every attempt (even apt-get -f install doesn't work). I get all sorts of dependancy errors I belive are mainly based on glibc needing to be updated.

Am I hosed or is it still possible to update the kernel without losing everything on the partition by wiping it and starting over? I've gone into the rescue mode of the Debian disks and get to "partitioning the drives" but can't get the flag to come up that they won't be formatted.

Thanks in advance for any and all help!
-Josh Rosenbaum

0

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

Sarge to Etch via Knoppix

You should be able to fix things without wiping and reinstalling - wiping the system and reinstalling was only ever popular with certain crappy but expensive operating systems.

1. Did you use "dist-upgrade" to upgrade?

2. What dependency problems are you getting?

dist-upgrade

I did. It seems to go through everything fine, It then asks "Do you want to upgrade glibc now?" to which I answer Yes.

It'll think about it, then give the error:
"Errors were encouterd while processing: /var/cache/apt/archtives/libc6_2.3.6.ds1-14etch4-i386.deb.

Coudn't stat source package. You may want to run apt-get update to correct these problems."

when I run apt-get update it gives no errors.

thanks for looking at it!

dist-upgrade

The error "could not stat ..." means that the file
/var/cache/apt/archives/libc6_2.3.6.ds1-14etch4-i386.deb

doesn't exist. What a bizarre error - I think I had that problem before but can't remember how I fixed it. To start, go to that directory and see if that file exists. If it does, try:

dpkg -i libc6_2.3.6.ds1-14etch4-i386.deb

and see what else it complains about.

In the worst case, you can fix the system with the help of a live cd by hand-installing things.

Syndicate content