many improvements in package db and dependency reporting