new version of check_repo with Packages and Deb classes