下列的软件包有不能满足的依赖关系:
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
原文链接:https://www.f2er.com/javaschema/285970.html