pkg.install() improvemeants.