fix apt-cache compatibility