It turns out that removing a virtual package with
apt-get only remove the package itself, leaving behind the real packages that were installed by it
So how do you remove a virtual package, along with all the real packages that it installs?
You cannot remove virtual packages individually . When you remove the real packages completely, virtual packages are automatically removed. Remove configuration file with removing packages you have to use
'Virtual' packages are packages that only contain references to other packages, or packages that only contain customized configuration files.
Therefore you cannot remove virtual packages, you need to remove the real packages from which the 'virtual' ones was referenced or created from.
These answers didn't solve the question. The question is "can I remove them" The answers were yes, but didn't give the commands to remove them. They only refer to computers terminals problems having installed them it cannot remove them? Then this is a bug or this question is unanswered.
I have the same problem-
I followed the prompts to
The following packages have unmet dependencies:
Is there an answer to removing the virtual packages so that another chrome package can be installed?
This isn't the original question; but, since he had tried and failed to resolve his problem of how to completely remove virtual packages, this is about the same.
I had already installed Aptitude and Aptitude's suggestion was removal of Chromium. Chromium is a Virtual package; and Aptitude removed Chromium and it's virtual remainder so I could reinstall.
So I would suggest installing Aptitude, and using Package Resolver by typing
Now all you have to do is
Once the job is done, you can check virtual package status with:
It should be marked as (n)ot installed.