On Mon, Feb 23, 2009 at 9:10 AM, Akemi Yagi <amyagi at gmail.com> wrote: > > Check the contents of /var/log/rpmpkgs (and .1 .2 etc). > Get all packages listed there into a single directory. > cd to that directory and issue the command: > > rpm -ivh --noscripts --notriggers --justdb *.rpm > > to restore your /var/lib/rpm/Packages file I ended up backing up/removing /var/lib/rpm and then running "rpm --initdb" before running the --justdb command shown above. I was able to pull all but 73 out of more than 1000 packages listed in /var/log/rpmpkgs from /var/cache/yum plus the CentOS 3.9 CD set.