build-essential: 依赖: g++ (>= 4:4.3.1) 但是它将不会被安装

前端之家收集整理的这篇文章主要介绍了build-essential: 依赖: g++ (>= 4:4.3.1) 但是它将不会被安装前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。

下列的软件包有不能满足的依赖关系:
build-essential: 依赖: g++ (>= 4:4.3.1) 但是它将不会被安装
E: 无法安装的软件包

解决

sudo -i
aptitude install g++

2 更新源位

deb http://mirror.lupaworld.com/ubuntu/ maverick main restricteddeb-src http://mirror.lupaworld.com/ubuntu/ maverick main restricted
deb http://mirror.lupaworld.com/ubuntu/ maverick-updates main restricteddeb-src http://mirror.lupaworld.com/ubuntu/ maverick-updates main restricted
deb http://mirror.lupaworld.com/ubuntu/ maverick universedeb-src http://mirror.lupaworld.com/ubuntu/ maverick universedeb http://mirror.lupaworld.com/ubuntu/ maverick-updates universedeb-src http://mirror.lupaworld.com/ubuntu/ maverick-updates universe
deb http://mirror.lupaworld.com/ubuntu/ maverick multiversedeb-src http://mirror.lupaworld.com/ubuntu/ maverick multiversedeb http://mirror.lupaworld.com/ubuntu/ maverick-updates multiversedeb-src http://mirror.lupaworld.com/ubuntu/ maverick-updates multiverse
deb http://extras.ubuntu.com/ubuntu maverick maindeb-src http://extras.ubuntu.com/ubuntu maverick maindeb http://mirror.lupaworld.com/ubuntu/ maverick-security main restricteddeb-src http://mirror.lupaworld.com/ubuntu/ maverick-security main restricteddeb http://mirror.lupaworld.com/ubuntu/ maverick-security universedeb-src http://mirror.lupaworld.com/ubuntu/ maverick-security universedeb http://mirror.lupaworld.com/ubuntu/ maverick-security multiversedeb-src http://mirror.lupaworld.com/ubuntu/ maverick-security multiverse

猜你在找的设计模式相关文章