You can give apt-cache
extra package sources after downloading them, and get it to ignore the installed package sources; for example for Jessie amd64
:
wget http://archive.debian.org/debian/dists/jessie/main/binary-amd64/Packages.xz
printf "" > /tmp/status
apt-cache -p /tmp/pkgcache -s /tmp/srccache -o Dir::State::Lists=/tmp -o Dir::State::Status=/tmp/status --with-source Packages.xz rdepends libevdev2
The various /tmp
-based options instruct apt-cache
to look for metadata files in /tmp
; it won’t find any there, apart from the status
file (or, at least, it shouldn’t — use another directory if necessary), so it will only use the information in the given Packages.xz
file.