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?
'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.
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