Hi there, On Fri, 17 Jul 2009, 04:32:41 +0200, Vahe Avedissian wrote:
Hello all,
I had some system disk issues and I now seem to have a totally corrupted rpm database that I am not able to rebuild.
I've tried rpm init and rpm rebuild db but these do not seem to work. I tried the zypper approach with aypper -ref and still no luck.
Any suggestions short of re installing the system. Things seem to work fine except I cannot install/update any software.
If you still happen to have an up-to-date list of packages installed on your system, you could use it to rebuild the RPM database from scratch: rpm --initdb cat list-of-packages | while read pkg; do rpm --justdb -Uvh /path/to/your/packages/${pkg}.*.rpm done While this is pretty much straight-forward on a 32-bit system, you have to keep in mind, that there are alternatives to choose from on a 64-bit system (e.g. Firefox, Acroread, Java, etc.).
Thanks,
Vahe
HTH, cheers. l8er manfred -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org