[PlanetCCRMA] help rh 9.0

Steve Harris S.W.Harris@ecs.soton.ac.uk
Fri Jul 25 02:32:01 2003


On Thu, Jul 24, 2003 at 05:30:36 -0700, Fernando Pablo Lopez-Lezcano wrote:
> > In an attempt to get alsa working on my system I did the following:
> > rpm -e rpm -e alsa-kernel-smp-2.4.21-1.ll.acpi-0.9.4-2.cvs
> > Which it seems removed the rpm package manager and its libraries.
> 
> Ouch!
> I did this once by mistake and there is no easy way to recover that I
> know off. If you have another similar machine you can transplant all rpm
> related files with a tarfile to the broken machine but the rpm database
> will reflect the packages installed in the other machine, which is not
> good (unless both machines have the same packages installed). It would
> be possible to fix the system somewhat with some scripts but it would
> not be pretty... (that's what I did to get the machine in some kind of
> working condition)

I've done things like that too, but usually you can just copy an rpm
binary from another machine (its statically linked luckily) and get things
back in order with --rebuilddb...

- Steve