Upon uninstalling `mercurial` I found I still had `/usr/local/bin/hg` (dpkg -S still didn't know where it came from so I just renamed it). I verified with `which hg` I had fully uninstalled all versions. Then I reinstalled mercurial
However I still have this issue:
$ hg --version
Mercurial Distributed SCM (version 3.8.3)
$ which hg
/usr/bin/hg
$ dpkg -S /usr/bin/hg
mercurial: /usr/bin/hg
$ sudo apt-get install mercurial
Reading package lists... Done
Building dependency tree
Reading state information... Done
mercurial is already the newest version (3.7.3-1ubuntu1).
mercurial set to manually installed.
0 upgraded, 0 newly installed, 0 to remove and 4 not upgraded.
Upon uninstalling `mercurial` I found I still had `/usr/local/bin/hg` (dpkg -S still didn't know where it came from so I just renamed it). I verified with `which hg` I had fully uninstalled all versions. Then I reinstalled mercurial
However I still have this issue:
$ hg --version
Mercurial Distributed SCM (version 3.8.3)
$ which hg
/usr/bin/hg
$ dpkg -S /usr/bin/hg
mercurial: /usr/bin/hg
$ sudo apt-get install mercurial
Reading package lists... Done
Building dependency tree
Reading state information... Done
mercurial is already the newest version (3.7.3-1ubuntu1).
mercurial set to manually installed.
0 upgraded, 0 newly installed, 0 to remove and 4 not upgraded.