子进程/ usr / bin / dpkg返回错误代码(1),apt-get错误:

时间:2016-10-31 09:12:44

标签: linux ubuntu apt-get

我在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

1 个答案:

答案 0 :(得分:0)

基于dump.txt,很明显您有一个名为runmbbservice的服务脚本,该脚本无法正确适应系统,导致任何后续insserv调用出错,例如由procps包启动的那个。

如果/etc/init.d/目录中有这样的文件,并且它并不重要,您可以尝试在尝试完成此操作时暂时将其移走吗?