fix apt-cache for when it is not available