Tell me more ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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?

share|improve this question

2 Answers

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

share|improve this answer
Is it possible to find the real packages from which the virtual packages were created? If so, how? – Anderson Green Feb 4 at 23:31

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 apt-get purge command.

share|improve this answer
I think you misunderstood my question. I'm actually asking about virtual packages. – Flint Oct 28 '12 at 6:44

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.