ensured adding and removing software worked including the installed software database, and using it in the dependency resolution.