歡迎來到Linux教程網
Linux教程網
Linux教程網
Linux教程網
Linux教程網 >> Linux基礎 >> Linux教程 >> Ubnutu下安裝個g++,build-essential出現依賴關系的原因

Ubnutu下安裝個g++,build-essential出現依賴關系的原因

日期:2017/2/28 16:56:24   编辑:Linux教程

在Ubnutu下輸入 :sudo apt-get install build-essential

出現下列錯誤

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.

Since you only requested a single operation it is extremely likely that
the package is simply not installable and a bug report against
that package should be filed.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
build-essential: Depends: g++ (>= 4:4.1.1) but it is not going to be installed
E: Broken packages

版本 :Ubuntu 7.04

原因:
更新源出現了問題!

Copyright © Linux教程網 All Rights Reserved