I apologise in advance: this question has probably been asked about 100 times but I can't seem to find a solution.
My problem: I'm trying to remove Qt Creator (and everything else Qt-related) from my laptop because I have been experiencing this problem with Qt creator 2.8. Having entered the command dpkg --get-selections | grep qt
, I get a list of about 20-30 packages. Most of these packages are listed as install
but some are listed as either deinstall
or purge
. When I attempt to apt-get purge
the packages listed as purge
or deinstall
, I am informed that the package in question is not installed on my system. Why are the packages still listed when I have removed them?
1) Is there a way to remove all packages containing a specific keyword (e.g. by using grep
)?
2) Why are some packages listed as purge
or deinstall
? I read somewhere that the command apt-get dselect-upgrade
will perform these operations but this but that did not work.
3) Why is dpkg giving me a list of packaged that includes packages that I have removed?
There's obviously a lot I have to learn about package management in Ubuntu, any help is appreciated.
I am using Ubuntu 13.10.
sudo apt-get remove
them?apt-get remove
works but I was hoping for an easier way than having to type the name of every package.