Fixed error detection and reporting when checkAPT is run as root and fails to update the cache