Clang : Depends: clang-3.8 (>= 3.8~) but it is not going to be installed

Hi I am using Ubuntu 20.04, I tried installing clang using the following command

`sudo apt install clang`

however getting the following error

Reading package lists... Done
    Building dependency tree       
    Reading state information... Done
    Some packages could not be installed. This may mean that you have
    requested an impossible situation or if you are using the unstable
    distribution that some required packages have not yet been created
    or been moved out of Incoming.
    The following information may help to resolve the situation:
    
    The following packages have unmet dependencies:
     clang : Depends: clang-3.8 (>= 3.8~) but it is not going to be installed
    E: Unable to correct problems, you have held broken packages.

any help would be much appreciated.

This isn't a Rust question, it's an Ubuntu package management question. You may get better help in an Ubuntu or other Debian-esque venue.

2 Likes