fix broken repo, package and update removal