fix update status querying
fix various package-install bugs