uname -a
Linux MiWiFi-R3-srv 4.19.0-0.bpo.9-amd64 #1 SMP Debian 4.19.118-2~bpo9+1 (2020-05-20) x86_64 GNU/Linux
sudo dpkg -l vim
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 vim <none> <none> (no description available)
Try to remove it:
sudo apt remove vim
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package 'vim' is not installed, so not removed
0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.
When to type vim in console:
sudo dpkg -S $(readlink -f $(which vim))
dpkg-query: no path found matching pattern /usr/local/bin/vim
ls -l /usr/local/bin/vim
-rwxr-xr-x 1 root staff 2946336 Jul 17 20:34 /usr/local/bin/vim
