shirokumo 发表于 2020-4-1 22:57:32

树莓派4安装LNMP报错

============================= Check install ==============================
Checking ...
Error: Nginx install failed.
Error: MySQL install failed.
Error: PHP install failed.
Sorry, Failed to install LNMP!
Please visit https://bbs.vpser.net/forum-25-1.html feedback errors and logs.
You can download /root/lnmp-install.log from your server,and upload lnmp-install.log to LNMP Forum.
设备:树莓派4B
系统:Ubuntu18.04.4(ubuntu-18.04.4-preinstalled-server-arm64+raspi3)
稍微看了下可能包有问题?
日志:





licess 发表于 2020-4-2 09:06:57

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:
gcc : Depends: cpp (>= 4:7.4.0-1ubuntu2.3) but it is not going to be installed
       Depends: gcc-7 (>= 7.4.0-1~) 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...
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:
g++ : Depends: cpp (>= 4:7.4.0-1ubuntu2.3) but it is not going to be installed
       Depends: gcc (>= 4:7.4.0-1ubuntu2.3) but it is not going to be installed
       Depends: g++-7 (>= 7.4.0-1~) but it is not going to be installed
       Depends: gcc-7 (>= 7.4.0-1~) 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...
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:
make-guile : Depends: guile-2.0-libs 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...
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:
cmake : Depends: libjsoncpp1 (>= 1.7.4) but it is not installable
         Depends: librhash0 (>= 1.2.6) but it is not installable
E: Unable to correct problems, you have held broken packages.
你系统上依赖关系有问题,有可能之前设置错了系统源版本或其他问题导致的依赖关系混乱
可以尝试安装aptitude,使用aptitude进行修复或恢复原初始镜像

shirokumo 发表于 2020-4-2 10:15:12

licess 发表于 2020-4-2 09:06
你系统上依赖关系有问题,有可能之前设置错了系统源版本或其他问题导致的依赖关系混乱
可以尝试安装aptitu ...

好的,我试试,谢谢
页: [1]
查看完整版本: 树莓派4安装LNMP报错