improve pkgcache