Apt-get :: dpkg-query -l status



Hi,

I'm trying to remove some packages. I found what packages have been installed by dpkg-query -l. Then I used command "apt-get remove" to uninstall a specific package, say, xserver. But xserver was still in the output list of dpgk-query -l. The package xserver was not shown after I had further issued the command: "dpkg -P xserver." Why is that?

Do I have to issue both commands "apt-get remove" and "dpkg -P" if I want to uninstall packages?


original here.