On Thursday 06 March 2003 03:42 pm, Praedor Atrebates wrote: > Mandrake 9.0. I was just trying to run a search for lesstif (rpm > -qa|grep lesstif) and found myself waiting forever for an answer. I > then just downloaded the lesstif rpm and tried to install it. Nothing. > It does the "preparing" thing but just stalls and never gets anywhere. > I then tried running "rpm --rebuilddb" and via gkrellm I see CPU > activity spike up to 100% for about 10 seconds or so but then it drops > back to background and nothing comes of it (from the CLI). I do not > get dumped back to the commandline and I have to do a Ctrl-C to get the > command prompt back. > > What do I do to get rpm working again? What file do I delete > (database, config, whatever) so I can reset the whole mess with an "rpm > --rebuild"?
I have had this happen to me several times with 9.0. Oddly still the snag seems to be for the root user only. If I run rpm -qa as a user, all goes well. If I run rpm -qa as root, it will hang. Running rpm --rebuilddb -vvv as root will hang on the same rpm that the qa did also. I have tried rebooting to run level 1 (single user) and rpm -qa ro rpm --rebuilddb still hangs. The following procedure has worked for me boot wih the rescue cd mount all partitions under /mnt then try running rpm with these options rpm --rebuilddb -vvv --root=/mnt and all should be OK. -- Alex / KC2IVL ft100 software for Linux http://www.qsl.net/kc2ivl "Good judgment comes from experience, and a lot of that comes from bad judgment"
Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
