jj168abc 发表于 2019-8-18 18:23:11

Lnmp1.6安装失败,不知道怎么回事,附上log

Lnmp1.6安装失败,不知道怎么回事,附上log




licess 发表于 2019-8-19 10:13:27

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.
Reading package lists...
Building dependency tree...
Reading state information...
debian-keyring is already the newest version (2017.05.28).
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
Reading package lists...
Building dependency tree...
Reading state information...
debian-archive-keyring is already the newest version (2017.5+deb9u1).
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
Reading package lists...
Building dependency tree...
Reading state information...
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
                   Depends: g++ (>= 4:6.3) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
你系统上很多依赖包依赖关系都有问题肯定是装不上的,可能你之前设置错了源版本或者强制安装了某个软件包导致系统依赖关系混乱
可以自己使用aptitude进行修复或者重装一下系统
页: [1]
查看完整版本: Lnmp1.6安装失败,不知道怎么回事,附上log