几周前,我dpkg
错误地删除了我的文件夹(sudo rm -f "something that had dpkg directory"
)
几次惊慌失措之后,我按照 Ask Ubuntu 的说明进行操作并恢复了系统dpkg
(或者至少我认为我恢复了),但后来,一些问题开始出现。例如:
- 我的麦克风无法使用,并且软件包
pavucontrol
无法安装 - 我的
tomcat7
坏了,重新安装失败
所有这些都失败了,并出现以下输出..
insserv: loop involving service networking at depth 4
insserv: There is a loop between service runmbbservice and urandom if started
insserv: loop involving service urandom at depth 4
insserv: There is a loop between service plymouth and dns-clean if started
update-rc.d: error: insserv rejected the script header
dpkg: error processing package apport (--configure):
subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of apport-gtk:
apport-gtk depends on apport (>= 0.41); however:
Package apport is not configured yet.
apport-gtk depends on procps; however:
Package procps is not configured yet.
dpkg: error processing package apport-gtk (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
procps
apport
apport-gtk
那么有人可以帮帮我吗?
以下是一些关键命令的输出我知道你会问
parag@pkul3003:/var/lib/dpkg/info$ uname -a
Linux pkul3003 4.13.0-45-generic #50~16.04.1-Ubuntu SMP Wed May 30 11:18:27 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
parag@pkul3003:/var/lib/dpkg/info$ lsb_release -crid
Distributor ID: Ubuntu
Description: Ubuntu 16.04.4 LTS
Release: 16.04
Codename: xenial
parag@pkul3003:/var/lib/dpkg/info$ cat /etc/insserv.conf
$local_fs +umountfs
$network +networking
$named +named +dnsmasq +lwresd +bind9 +unbound $network
$remote_fs $local_fs +umountnfs +sendsigs
$syslog +rsyslog +sysklogd +syslog-ng +dsyslog +inetutils-syslogd
$time +hwclock
<interactive> glibc udev console-screen keymap keyboard-setup console-setup cryptdisks cryptdisks-early checkfs-loop