remove unneeded packages from pkglist