a4974 发表于 2020-1-21 12:42:43

lnmp安装出错






补充内容 (2020-1-21 13:10):
RamNode云服务器
Image: Debian 9 Cloud

licess 发表于 2020-1-21 15:46:43

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:

The following packages have unmet dependencies:
build-essential : Depends: libc6-dev but it is not going to be installed or
                            libc-dev
g++ : Depends: g++-6 (>= 6.3.0-9~) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

系统上的依赖包版本有问题
建议 apt-get install aptitude 后
使用 aptitude installg++ 进行修复,如果有其他包报错就继续用 aptitude install 软件包包名进行修复
页: [1]
查看完整版本: lnmp安装出错