Thanks Will & Fedor. I ran apt-get update and dist-upgrade after reinstalling apt and theyboth ran fine .I also ran rpm --rebuild and it seemed to run fine. I also bookmarked and began reading the http://www.rpm.org/hintskinks/repairdb/ so I guess everything is fine! Thanks, Dirk