check installation state of packages in list_package