added verify to pacman package_method