$ apt-cache rdepends --recurse $package
probably gives too many packages
I would add --installed
option to restrict to installed packages. -i
option restricts to pre-dependence and dependence related packages.
But a package may be installed because it is recommended by another package. To include such recommendation relateded packages, I suppose this would give the right ones: