Migrated Files to New HD now rpm -qa does not work
I just transfered my system (successfully except for this part) from my old HD to my new one. It boots fine and everything runs great, except for updates and when I try to do "rpm -qa" (which returns nothing)
I searched through this forum and read the post on rpm.net which dealt with removing the __db files in /var/lib/rpm and running rpm -vv --rebuilddb, neither of which worked. I ran db_verify /var/lib/rpm/Packages and it returned no errors.
I even tried moving the files in /etc/rpm (the macro files) somewhere else. I also noticed that /var/log/rpmpkgs and it was empty, but var/log/rpmpkgs.1 had my old rpm list.
Anyone have an idea of how to fix this?