I installed Chrome via
dpkg by downloading the
deb file and installing it. I later uninstalled and removed it.
However I'm now seeing this:
$ dpkg-query -W google-chrome google-chrome $ dpkg-query -l google-chrome Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad) ||/ Name Version Architecture Description +++-=================================-=====================-=====================-======================================================================== un google-chrome <none> <none> (no description available)
The documentation on the
-W option reads as follows [emphasis mine]:
The default output format gives one line per matching package, each line having the name ... and installed version of the package, separated by a tab.
The output of
dpkg-query indicates to me that
google-chrome is not installed, but why then is it showing up at all? If I run the same command for a nonexistent package, it provides different output:
$ dpkg-query -W blahblah dpkg-query: no packages found matching blahblah
Here is the output of
apt-cache policy google-chrome:
$ apt-cache policy google-chrome google-chrome: Installed: (none) Candidate: (none) Version table:
Attempting to uninstall via
dpkg --purge yields:
$ sudo dpkg --purge google-chrome dpkg: warning: ignoring request to remove google-chrome which isn't installed
How can I completely uninstall
google-chrome such that
dpkg doesn't know about it?