I was just trying to update gcc (from 2.96 to 3.2.1) and glibc (from 2.2.5 to 2.3.1) trying to make sure I didn't do anything stupid. I knew that some of my packages wouldn't make it through that upgrade so I was going to have to an rpm -U --nodeps at some point, but I was able to go through most things without a --nodeps.
Well I eventually did do something stupid and somehow had glibc-xx-2.2.5 _and_ glibc-xx-2.3.1 so I figured I should just
rpm -e the old version. Then I got the following error:
error: execution of %postun scriptlet from glibc-2.2.5-34 failed, exit status 255
Now I can't do much of anything. E.g.,
ls: Command not found.
% rpm -qa | grep glibc
grep: Command not found.
-qa: No such file or directory
% which \ls
/bin/ls: Command not found.
Luckily I had mozilla open so that I can post this. I know I won't be able to log in again because I did Ctrl-Alt-F2 and tried to log in and couldn't. I guess I should be able to boot from a CD and backup my data and reinstall, but I hoped other people had some
brighter ideas before that.