Quantcast
Viewing all articles
Browse latest Browse all 4516

Apt-get install build-essential error Ubuntu 22.04 jammy Unmet Dependencies [duplicate]

yuchen@yuchen-virtual-machine:~$ sudo apt-get install build-essentialReading package lists... DoneBuilding dependency tree... DoneReading state information... DoneSome packages could not be installed. This may mean that you haverequested an impossible situation or if you are using the unstabledistribution that some required packages have not yet been createdor been moved out of Incoming.The following information may help to resolve the situation:The following packages have unmet dependencies: g++-11 : Depends: gcc-11-base (= 11.2.0-19ubuntu1) but 11.4.0-1ubuntu1~22.04 is to be installed          Depends: libstdc++-11-dev (= 11.2.0-19ubuntu1) but it is not going to be installed gcc-11 : Depends: cpp-11 (= 11.2.0-19ubuntu1) but 11.4.0-1ubuntu1~22.04 is to be installed          Depends: gcc-11-base (= 11.2.0-19ubuntu1) but 11.4.0-1ubuntu1~22.04 is to be installed          Depends: libcc1-0 (>= 11.2.0-19ubuntu1) but it is not going to be installed          Depends: libgcc-11-dev (= 11.2.0-19ubuntu1) but it is not going to be installed libc6-dev : Depends: libc6 (= 2.35-0ubuntu3) but 2.35-0ubuntu3.1 is to be installed             Depends: libtirpc-dev but it is not going to be installed             Depends: libnsl-dev but it is not going to be installedE: Unable to correct problems, you have held broken packages.    yuchen@yuchen-virtual-machine:~$ sudo apt policy build-essentialbuild-essential:  Installed: (none)  Candidate: 12.9ubuntu3  Version table:     12.9ubuntu3 500        500 http://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy/main amd64 Packages

Viewing all articles
Browse latest Browse all 4516

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>