Re: [newbie] Rebuilding RPM Database
Well, that did the trick! I thought to do that a while ago, but I didn't know all of the files I needed to delete. Thanks for the help. tdh -- T. Holmes | UNIXTECHS.org | [EMAIL PROTECTED] | UIN: 17021091 | See if rebuilding the RPM database from scratch, like this, helps: | | rm /var/lib/rpm/_* | (should ask you if you want to delete __db.001 and __db.002. Say yes.) | | rpm --rebuilddb | | HTH | | Damian | | -- | -- | I don't want Windows to be only for the 31173. Yes, we've come a long way from | all those security holes, virii, and cryptic commands like "Edit textfile.txt" | (what in the hell is that supposed to mean?) | | Want to buy your Pack or Services from MandrakeSoft? | Go to http://www.mandrakestore.com `--- Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Rebuilding RPM Database
> > What's the problem here? Is there something else I should be doing? In > the past, after a power outage, once it reboots, the RPM db is fine. I > would rather not reboot my workstation, and figured there was another > means around this. > > Does anybody have any ideas/suggestions? > See if rebuilding the RPM database from scratch, like this, helps: rm /var/lib/rpm/_* (should ask you if you want to delete __db.001 and __db.002. Say yes.) rpm --rebuilddb HTH Damian -- -- I don't want Windows to be only for the 31173. Yes, we've come a long way from all those security holes, virii, and cryptic commands like "Edit textfile.txt" (what in the hell is that supposed to mean?) Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
[newbie] Rebuilding RPM Database
Recently I tried to check which RPMs I had installed for a few packages, and the rpm -qa | grep took forever. This has happened in the past, so I just rebuild the database. rpm --rebuilddb I've done this many times in the past, with a number of machines, and it goes through, takes a few minutes, but then works when it's done. So I tried this recently, and it never really rebuilds the database. I've been trying to rebuild the database for an hour now, and it's just sitting there. r2d2 mail # rpm --rebuilddb r2d2 ~ $ ps auxw | grep rpm root 25037 0.0 0.6 5020 3148 pts/17 S14:01 0:00 /usr/lib/rpm/rpmd --rebuilddb What's the problem here? Is there something else I should be doing? In the past, after a power outage, once it reboots, the RPM db is fine. I would rather not reboot my workstation, and figured there was another means around this. Does anybody have any ideas/suggestions? $ rpm --version RPM version 4.0.4 Thanks a lot! tdh -- T. Holmes | UNIXTECHS.org | [EMAIL PROTECTED] | UIN: 17021091 Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com