![](/img/trans.png)
[英]apt-get error: Sub-process /usr/bin/dpkg returned an error code (1)
[英]Sub-process /usr/bin/dpkg returned an error code (1), apt-get error:
我在apt-get install中出错,这是一个错误:
> > insserv: Starting runmbbservice depends on plymouth and therefore on
> > system facility `$all' which can not be true! insserv: Starting
> > runmbbservice depends on plymouth and therefore on system facility
> > `$all' which can not be true! insserv: Starting runmbbservice depends
> > on plymouth and therefore on system facility `$all' which can not be
> > true! insserv: Starting runmbbservice depends on plymouth and
> > therefore on system facility `$all' which can not be true! insserv:
> > Starting runmbbservice depends on plymouth and therefore on system
> > facility `$all' which can not be true! insserv: Starting runmbbservice
> > depends on plymouth and therefore on system facility `$all' which can
> > not be true! insserv: Starting runmbbservice depends on plymouth and
> > therefore on system facility `$all' which can not be true! insserv:
> > Starting runmbbservice depends on plymouth and therefore on system
> > facility `$all' which can not be true! insserv: Starting runmbbservice
> > depends on plymouth and therefore on system facility `$all' which can
> > not be true! insserv: Max recursions depth 99 reached insserv: There
> > is a loop at service runmbbservice if started insserv: There is a loop
> > at service plymouth if started insserv: loop involving service
> > networking at depth 6 insserv: loop involving service mountdevsubfs
> > at depth 3 insserv: loop involving service mountkernfs at depth 1
> > insserv: loop involving service runmbbservice at depth 1 insserv:
> > exiting now without changing boot order! update-rc.d: error: insserv
> > rejected the script header dpkg: error processing package
> > unattended-upgrades (--configure): subprocess installed
> > post-installation script returned error exit status 1 No apport report
> > written because MaxReports is reached already
> > Errors were encountered while processing: procps udev apache2
> grub-common
> > grub2-common grub-pc-bin grub-pc lightdm mysql-server-5.7 samba
> > whoopsie grub2 bind9 gadmin-bind proftpd-basic gadmin-proftpd
> > gadmin-samba gadmintools mysql-server php7.0-fpm
> > unattended-upgrades E: Sub-process /usr/bin/dpkg returned an error
> > code (1)
我尝试如下命令:apt-get -f install apt-get clean我尝试更改源列表,然后重新制作apt-get update
基于dump.txt,很明显,您有一个名为runmbbservice
的服务脚本,该脚本无法正确装入系统,从而导致任何后续insserv
调用(例如procps
软件包启动的procps
。
如果/etc/init.d/
目录中有这样的文件,并且它不是很关键,那么在尝试完成此操作时,您可以尝试暂时将其移开吗?
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.