#999671 build-essential: I installed (and also did apt install --reinstall ) build-essential. However there is a problem that cc1,.. can not be found

Package:
build-essential
Source:
build-essential
Description:
Informational list of build-essential packages
Submitter:
Loreno Heer
Date:
2021-11-18 10:18:03 UTC
Severity:
important
#999671#5
Date:
2021-11-14 17:49:52 UTC
From:
To:

#999671#10
Date:
2021-11-18 10:10:16 UTC
From:
To:
I purged gcc-11 and gcc-10 and installed again. This solved the problem.
I successfully compiled emacs some time back, so at some point gcc was
working. There must be some other broken package that interferes with
the gcc installation.