In the following question there is a solution to checking for a package prior to installing it:
How do I check if a package is installed on my server?
However, I have found that this does not work for Virtual Packages.
Is there a way to traverse the package name that apt-get automatically select and check for the correct one?
Best Answer
You can use grep-status (package
dctrl-tools
, not installed by default) to find all installed packages providing some virtual package: