▲ 13 r/debian
I recently did a clean install of Debian 13
and I can't install the build-essential package.
I really don't know what to do.
sudo apt install build-essential
[sudo] password for ***:
Solving dependencies... Error!
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:
Unsatisfied dependencies:
cpp : Conflicts: gcc (< 4:13.2.0-3) but 4:12.2.0-3 is to be installed
g++ : Depends: cpp (= 4:12.2.0-3) but 4:14.2.0-1 is to be installed
gcc : Depends: cpp (= 4:12.2.0-3) but 4:14.2.0-1 is to be installed
libc6-dev : Depends: libc6 (= 2.36-9+deb12u13) but 2.41-12+deb13u2 is to be installed
Depends: libc-dev-bin (= 2.36-9+deb12u13) but it is not going to be installed
Depends: libcrypt-dev but it is not going to be installed
Depends: libnsl-dev but it is not going to be installed
Error: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
Error: The following information from --solver 3.0 may provide additional context:
Unable to satisfy dependencies. Reached two conflicting decisions:
1. build-essential:amd64 Depends libc6-dev | libc-dev
but none of the choices are installable:
- libc6-dev:amd64 is available in versions 2.36-9+deb12u13, 2.36-9+deb12u7
but none of the choices are installable:
- libc6-dev:amd64=2.36-9+deb12u13 Depends libc6 (= 2.36-9+deb12u13)
but none of the choices are installable:
- libc6:amd64=2.36-9+deb12u13 is not selected for install
- libc6-dev:amd64=2.36-9+deb12u7 is not selected for install
- libc6-dev:amd64=2.36-9+deb12u13 is not selected for install as above
- libc6-dev:amd64=2.36-9+deb12u7 is not selected for install
2. build-essential:amd64=12.9 is selected for install
u/Character-Ferret-208 — 19 days ago