insserv: Starting xx depends on plymouth and therefore on system facility `$all'

来源:互联网 发布:access支持多少条数据 编辑:程序博客网 时间:2024/05/21 00:15

用tar包安装nifi过后,Ubuntu16.04系统无法再用apt安装其他软件,错误如下:

# apt-get install nfs-kernel-server
Reading package lists... DoneBuilding dependency tree       Reading state information... DoneThe following additional packages will be installed:  keyutils libnfsidmap2 libtirpc1 nfs-common rpcbindSuggested packages:  open-iscsi watchdogThe following NEW packages will be installed:  keyutils libnfsidmap2 libtirpc1 nfs-common nfs-kernel-server rpcbind0 upgraded, 6 newly installed, 0 to remove and 99 not upgraded.Need to get 467 kB of archives.After this operation, 1,874 kB of additional disk space will be used.Do you want to continue? [Y/n] yGet:1 http://mirrors.aliyun.com/ubuntu xenial/main amd64 libnfsidmap2 amd64 0.25-5 [32.2 kB]Get:2 http://mirrors.aliyun.com/ubuntu xenial/main amd64 libtirpc1 amd64 0.2.5-1 [75.6 kB]Get:3 http://mirrors.aliyun.com/ubuntu xenial/main amd64 keyutils amd64 1.5.9-8ubuntu1 [47.1 kB]Get:4 http://mirrors.aliyun.com/ubuntu xenial/main amd64 rpcbind amd64 0.2.3-0.2 [40.3 kB]Get:5 http://mirrors.aliyun.com/ubuntu xenial-updates/main amd64 nfs-common amd64 1:1.2.8-9ubuntu12.1 [184 kB]Get:6 http://mirrors.aliyun.com/ubuntu xenial-updates/main amd64 nfs-kernel-server amd64 1:1.2.8-9ubuntu12.1 [88.0 kB]Fetched 467 kB in 0s (1,036 kB/s)            Selecting previously unselected package libnfsidmap2:amd64.(Reading database ... 213820 files and directories currently installed.)Preparing to unpack .../libnfsidmap2_0.25-5_amd64.deb ...Unpacking libnfsidmap2:amd64 (0.25-5) ...Selecting previously unselected package libtirpc1:amd64.Preparing to unpack .../libtirpc1_0.2.5-1_amd64.deb ...Unpacking libtirpc1:amd64 (0.2.5-1) ...Selecting previously unselected package keyutils.Preparing to unpack .../keyutils_1.5.9-8ubuntu1_amd64.deb ...Unpacking keyutils (1.5.9-8ubuntu1) ...Selecting previously unselected package rpcbind.Preparing to unpack .../rpcbind_0.2.3-0.2_amd64.deb ...Unpacking rpcbind (0.2.3-0.2) ...Selecting previously unselected package nfs-common.Preparing to unpack .../nfs-common_1%3a1.2.8-9ubuntu12.1_amd64.deb ...Unpacking nfs-common (1:1.2.8-9ubuntu12.1) ...Selecting previously unselected package nfs-kernel-server.Preparing to unpack .../nfs-kernel-server_1%3a1.2.8-9ubuntu12.1_amd64.deb ...Unpacking nfs-kernel-server (1:1.2.8-9ubuntu12.1) ...Processing triggers for man-db (2.7.5-1) ...Processing triggers for systemd (229-4ubuntu19) ...Processing triggers for ureadahead (0.100.0-19) ...Setting up libnfsidmap2:amd64 (0.25-5) ...Setting up libtirpc1:amd64 (0.2.5-1) ...Setting up keyutils (1.5.9-8ubuntu1) ...Setting up rpcbind (0.2.3-0.2) ...insserv: warning: script 'S65nifi' missing LSB tags and overridesinsserv: warning: script 'nifi' missing LSB tags and overridesinsserv: warning: script 'dreamfactory' missing LSB tags and overridesinsserv: There is a loop between service plymouth and urandom if startedinsserv:  loop involving service urandom at depth 4insserv:  loop involving service hwclock at depth 3insserv: There is a loop between service nifi and udev if startedinsserv:  loop involving service udev at depth 1insserv: Starting nifi depends on plymouth and therefore on system facility `$all' which can not be true!insserv: Starting nifi depends on plymouth and therefore on system facility `$all' which can not be true!insserv: Starting nifi depends on plymouth and therefore on system facility `$all' which can not be true!insserv: Starting nifi depends on plymouth and therefore on system facility `$all' which can not be true!insserv: Starting nifi depends on plymouth and therefore on system facility `$all' which can not be true!insserv: Starting nifi depends on plymouth and therefore on system facility `$all' which can not be true!insserv: Starting nifi depends on plymouth and therefore on system facility `$all' which can not be true!insserv: Starting nifi depends on plymouth and therefore on system facility `$all' which can not be true!insserv: Starting nifi depends on plymouth and therefore on system facility `$all' which can not be true!insserv: Starting nifi depends on plymouth and therefore on system facility `$all' which can not be true!insserv: Starting nifi depends on plymouth and therefore on system facility `$all' which can not be true!insserv: Starting nifi depends on plymouth and therefore on system facility `$all' which can not be true!insserv: Starting nifi depends on plymouth and therefore on system facility `$all' which can not be true!insserv: Starting nifi depends on plymouth and therefore on system facility `$all' which can not be true!insserv: Starting nifi depends on plymouth and therefore on system facility `$all' which can not be true!insserv: Starting nifi depends on plymouth and therefore on system facility `$all' which can not be true!insserv: Starting nifi depends on plymouth and therefore on system facility `$all' which can not be true!insserv: Starting nifi depends on plymouth and therefore on system facility `$all' which can not be true!insserv: Starting nifi depends on plymouth and therefore on system facility `$all' which can not be true!insserv: Starting nifi depends on plymouth and therefore on system facility `$all' which can not be true!insserv: Starting nifi depends on plymouth and therefore on system facility `$all' which can not be true!insserv: Starting nifi depends on plymouth and therefore on system facility `$all' which can not be true!insserv: Starting nifi depends on plymouth and therefore on system facility `$all' which can not be true!insserv: Starting nifi depends on plymouth and therefore on system facility `$all' which can not be true!insserv: Starting nifi depends on plymouth and therefore on system facility `$all' which can not be true!insserv: Starting nifi depends on plymouth and therefore on system facility `$all' which can not be true!insserv: Starting nifi depends on plymouth and therefore on system facility `$all' which can not be true!insserv: Starting nifi depends on plymouth and therefore on system facility `$all' which can not be true!insserv: Starting nifi depends on plymouth and therefore on system facility `$all' which can not be true!insserv: Starting nifi depends on plymouth and therefore on system facility `$all' which can not be true!insserv: Starting nifi depends on plymouth and therefore on system facility `$all' which can not be true!insserv: Starting nifi depends on plymouth and therefore on system facility `$all' which can not be true!insserv: Starting nifi depends on plymouth and therefore on system facility `$all' which can not be true!insserv: Starting nifi depends on plymouth and therefore on system facility `$all' which can not be true!insserv: Starting nifi depends on plymouth and therefore on system facility `$all' which can not be true!insserv: Starting nifi depends on plymouth and therefore on system facility `$all' which can not be true!insserv: Starting nifi depends on plymouth and therefore on system facility `$all' which can not be true!insserv: Starting nifi depends on plymouth and therefore on system facility `$all' which can not be true!insserv: Starting nifi depends on plymouth and therefore on system facility `$all' which can not be true!insserv: Starting nifi depends on plymouth and therefore on system facility `$all' which can not be true!insserv: Starting nifi depends on plymouth and therefore on system facility `$all' which can not be true!insserv: Starting nifi depends on plymouth and therefore on system facility `$all' which can not be true!insserv: Starting nifi depends on plymouth and therefore on system facility `$all' which can not be true!insserv: Starting nifi depends on plymouth and therefore on system facility `$all' which can not be true!insserv: Starting nifi depends on plymouth and therefore on system facility `$all' which can not be true!insserv: Starting nifi depends on plymouth and therefore on system facility `$all' which can not be true!insserv: Starting nifi depends on plymouth and therefore on system facility `$all' which can not be true!insserv: Starting nifi depends on plymouth and therefore on system facility `$all' which can not be true!insserv: Starting nifi depends on plymouth and therefore on system facility `$all' which can not be true!insserv: Max recursions depth 99 reachedinsserv: Starting nifi depends on plymouth and therefore on system facility `$all' which can not be true!insserv: There is a loop at service plymouth if startedinsserv: Starting nifi depends on plymouth and therefore on system facility `$all' which can not be true!insserv: Starting nifi depends on plymouth and therefore on system facility `$all' which can not be true!insserv: Starting nifi depends on plymouth and therefore on system facility `$all' which can not be true!insserv: Starting nifi depends on plymouth and therefore on system facility `$all' which can not be true!insserv: Starting nifi depends on plymouth and therefore on system facility `$all' which can not be true!insserv: Starting nifi depends on plymouth and therefore on system facility `$all' which can not be true!insserv: Starting nifi depends on plymouth and therefore on system facility `$all' which can not be true!insserv: Starting nifi depends on plymouth and therefore on system facility `$all' which can not be true!insserv: Starting nifi depends on plymouth and therefore on system facility `$all' which can not be true!insserv: Starting nifi depends on plymouth and therefore on system facility `$all' which can not be true!insserv: Starting nifi depends on plymouth and therefore on system facility `$all' which can not be true!insserv: Starting nifi depends on plymouth and therefore on system facility `$all' which can not be true!insserv: Starting nifi depends on plymouth and therefore on system facility `$all' which can not be true!insserv: Starting nifi depends on plymouth and therefore on system facility `$all' which can not be true!insserv: Starting nifi depends on plymouth and therefore on system facility `$all' which can not be true!insserv: Starting nifi depends on plymouth and therefore on system facility `$all' which can not be true!insserv: Starting nifi depends on plymouth and therefore on system facility `$all' which can not be true!insserv: Starting nifi depends on plymouth and therefore on system facility `$all' which can not be true!insserv: Starting nifi depends on plymouth and therefore on system facility `$all' which can not be true!insserv: Starting nifi depends on plymouth and therefore on system facility `$all' which can not be true!insserv: Starting nifi depends on plymouth and therefore on system facility `$all' which can not be true!insserv: Starting nifi depends on plymouth and therefore on system facility `$all' which can not be true!insserv: Starting nifi depends on plymouth and therefore on system facility `$all' which can not be true!insserv: Starting nifi depends on plymouth and therefore on system facility `$all' which can not be true!insserv: Starting nifi depends on plymouth and therefore on system facility `$all' which can not be true!insserv: Starting nifi depends on plymouth and therefore on system facility `$all' which can not be true!insserv: Starting nifi depends on plymouth and therefore on system facility `$all' which can not be true!insserv: There is a loop at service nifi if startedinsserv: Starting nifi depends on plymouth and therefore on system facility `$all' which can not be true!insserv: Starting nifi depends on plymouth and therefore on system facility `$all' which can not be true!insserv: Starting nifi depends on plymouth and therefore on system facility `$all' which can not be true!insserv: Starting nifi depends on plymouth and therefore on system facility `$all' which can not be true!insserv: Starting nifi depends on plymouth and therefore on system facility `$all' which can not be true!insserv: Starting nifi depends on plymouth and therefore on system facility `$all' which can not be true!insserv:  loop involving service mountkernfs at depth 1insserv: Starting nifi depends on plymouth and therefore on system facility `$all' which can not be true!insserv: Starting nifi depends on plymouth and therefore on system facility `$all' which can not be true!insserv: Starting nifi depends on plymouth and therefore on system facility `$all' which can not be true!insserv: Starting nifi depends on plymouth and therefore on system facility `$all' which can not be true!insserv: Starting nifi depends on plymouth and therefore on system facility `$all' which can not be true!insserv: Starting nifi depends on plymouth and therefore on system facility `$all' which can not be true!insserv: Starting nifi depends on plymouth and therefore on system facility `$all' which can not be true!insserv: There is a loop between service nifi and dns-clean if startedinsserv:  loop involving service dns-clean at depth 1insserv: Starting nifi depends on plymouth and therefore on system facility `$all' which can not be true!insserv: Starting nifi depends on plymouth and therefore on system facility `$all' which can not be true!insserv: warning: script 'K01nifi' missing LSB tags and overridesinsserv: warning: script 'nifi' missing LSB tags and overridesinsserv: warning: script 'dreamfactory' missing LSB tags and overridesinsserv: Starting nifi depends on rc.local and therefore on system facility `$all' which can not be true!insserv: Starting nifi depends on rc.local and therefore on system facility `$all' which can not be true!insserv: Starting nifi depends on rc.local and therefore on system facility `$all' which can not be true!insserv: Starting nifi depends on rc.local and therefore on system facility `$all' which can not be true!insserv: Starting nifi depends on rc.local and therefore on system facility `$all' which can not be true!insserv: There is a loop between service nifi and rc.local if startedinsserv:  loop involving service rc.local at depth 7insserv:  loop involving service nifi at depth 1insserv: exiting now without changing boot order!update-rc.d: error: insserv rejected the script headerdpkg: error processing package rpcbind (--configure): subprocess installed post-installation script returned error exit status 1dpkg: dependency problems prevent configuration of nfs-common: nfs-common depends on rpcbind (>= 0.2.0-6ubuntu1); however:  Package rpcbind is not configured yet.dpkg: error processing package nfs-common (--configure): dependency problems - leaving unconfigureddpkg: dependency problems prevent configuration of nfs-kernel-server: nfs-kernel-server depends on nfs-common (= 1:1.2.8-9ubuntu12.1); however:  Package nfs-common is not configured yet.dpkg: error processing package nfs-kernel-server (--configure): dependency problems - leaving unconfiguredProcessing triggers for libc-bin (2.23-0ubuntu9) ...No apport report written because the error message indicates its a followup error from a previous failure.               No apport report written because the error message indicates its a followup error from a previous failure.                              Processing triggers for systemd (229-4ubuntu19) ...Processing triggers for ureadahead (0.100.0-19) ...Errors were encountered while processing: rpcbind nfs-common nfs-kernel-serverE: Sub-process /usr/bin/dpkg returned an error code (1)

造成此次问题的原因是使用tar包安装的nifi启动脚本问题,参照init.d目录下其他启动项修改下即可:

# vi /etc/init.d/nifi
#! /bin/sh### BEGIN INIT INFO# Provides:          cups-browsed# Required-Start:# Required-Stop:# Default-Start:     2 3 4 5# Default-Stop :     0 1 6# Short-Description: Some info# Description:       Some more info### END INIT INFO