clang 错误卸载无法再次安装,返回 error 2

问题: clang 错误删除

you have held broken packages.

setup clang  path /usr/bin/clang++ doesn't exist

dpkg: error processing package clang (--configure):

解决

sudo apt install aptitude
sudo aptitude -f remove clang

sudo aptitude autoclean

sudo aptitude install clang

你可能感兴趣的:(C/C++,杂项,linux,clang)