I manually compiled mono from the /tmp directory (4.9.1) and found that it was too unstable for me, so wanted to revert back to the install from the repos. I foolishly did a reboot before doing this, so the compiled code in /tmp had gone. So, I thought I'd remove the directory of where mono is installed and mark the package mono-complete as being automatically installed again.
(Un)Surprisingly, this did not work. Now, if I do a which mono
it reports that it isn't installed. If I mono
I get the same message. However, when I do an apt install mono-complete
or mono-devel
it reports mono-complete is already the newest version
.
I have checked in the env
and there is no reference to mono.
How can I sort this mess out and get back to being able to install mono from packages.