I deleted clang. I tried to use apt to uninstall clang, and then re-install it but I get this error:
Setting up clang (1:3.8-33ubuntu3.1) ... update-alternatives: error: alternative path /usr/bin/clang++ doesn't exist dpkg: error processing package clang (--configure): subprocess installed post-installation script returned error exit status 2 Errors were encountered while processing: clang E: Sub-process /usr/bin/dpkg returned an error code (1)
I've tried also using apt to remove llvm and reinstall it knowing it should also install clang.
I'm using Ubuntu 16.04, since further versions are un-workingly buggy for me.
Here's some more info:
main@ws001:~$ whereis clang clang: /usr/bin/clang #this is obviously broken main@ws001:~$ which clang
apt-cache depends clang
clang Depends: clang-3.8 Breaks: <clang-3.2> Breaks: <clang-3.3> Breaks: <clang-3.4> Breaks: clang-3.5 Replaces: clang Replaces: <clang-3.2> Replaces: <clang-3.3> Replaces: <clang-3.4> Replaces: clang-3.5