jcc 发表于 2019-10-19 18:51:03

LNMP一键安装包ubuntu16.04安装一直报错

python一直在报错,求大佬帮忙看下

licess 发表于 2019-10-19 20:12:23

Hit:1 http://linux.teamviewer.com/deb stable InRelease
Hit:2 http://ppa.launchpad.net/jonathonf/python-3.6/ubuntu xenial InRelease
Hit:3 http://cn.archive.ubuntu.com/ubuntu xenial InRelease
Get:4 http://security.ubuntu.com/ubuntu xenial-security InRelease
Hit:5 http://nginx.org/packages/ubuntu xenial InRelease
Get:6 http://cn.archive.ubuntu.com/ubuntu xenial-updates InRelease
Get:7 http://cn.archive.ubuntu.com/ubuntu xenial-backports InRelease
Fetched 325 kB in 5s (55.1 kB/s)
Reading package lists...
 Installing ntp...
Reading package lists...
Building dependency tree...
Reading state information...
ntpdate is already the newest version (1:4.2.8p4+dfsg-3ubuntu5.9).
0 upgraded, 0 newly installed, 0 to remove and 146 not upgraded.
25 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up grub-efi-amd64 (2.02~beta2-36ubuntu3.22) ...
dpkg: error processing package grub-efi-amd64 (--configure):
subprocess installed post-installation script returned error exit status 10
Setting up rsyslog (8.16.0-1ubuntu3.1) ...
dpkg: error processing package rsyslog (--configure):
subprocess installed post-installation script returned error exit status 10
Setting up python3-apt (1.1.0~beta1ubuntu0.16.04.5) ...
/var/lib/dpkg/info/python3-apt.postinst: 6: /var/lib/dpkg/info/python3-apt.postinst: py3compile: Permission denied
dpkg: error processing package python3-apt (--configure):
subprocess installed post-installation script returned error exit status 126
Setting up python3-problem-report (2.20.1-0ubuntu2.19) ...
/var/lib/dpkg/info/python3-problem-report.postinst: 6: /var/lib/dpkg/info/python3-problem-report.postinst: py3compile: Permission denied
dpkg: error processing package python3-problem-report (--configure):
subprocess installed post-installation script returned error exit status 126
No apport report written because MaxReports is reached already
dpkg: dependency problems prevent configuration of python3-apport:
python3-apport depends on python3-apt (>= 0.7.9); however:
Package python3-apt is not configured yet.
python3-apport depends on python3-problem-report (>= 0.94); however:
Package python3-problem-report is not configured yet.
不清楚什么原因,猜测可能是你自己添加的源导致的依赖关系混乱或权限问题或者有其他未知问题

jcc 发表于 2019-10-21 08:41:48

licess 发表于 2019-10-19 20:12
不清楚什么原因,猜测可能是你自己添加的源导致的依赖关系混乱或权限问题或者有其他未知问题 ...

感谢大佬:)
页: [1]
查看完整版本: LNMP一键安装包ubuntu16.04安装一直报错