ubuntu解决未满足的依赖项

我试图从ubuntu 14.10升级到15.04,它停止升级并提供部分升级,我没有做。 现在我遇到了deja-dup-monitor的问题,它消耗了大约7GB的内存。 我正在尝试卸载它。 但是每当我使用apt-get安装或卸载时,它都会显示一条消息,指出packages have unmet dependencies

 The following packages have unmet dependencies: cups : Depends: libcups2 (= 1.7.5-3ubuntu3.2) but 2.0.2-1ubuntu3.2 is to be installed cups-core-drivers : Depends: libcups2 (= 1.7.5-3ubuntu3.2) but 2.0.2-1ubuntu3.2 is to be installed cups-daemon : Depends: libcups2 (= 1.7.5-3ubuntu3.2) but 2.0.2-1ubuntu3.2 is to be installed dmsetup : Depends: libdevmapper1.02.1 (>= 2:1.02.90) but 2:1.02.77-6ubuntu2 is to be installed libcupsmime1 : Depends: libcups2 (= 1.7.5-3ubuntu3.2) but 2.0.2-1ubuntu3.2 is to be installed libpam-systemd : Depends: systemd (= 208-8ubuntu8.2) lvm2 : Depends: libdevmapper1.02.1 (>= 2:1.02.90) but 2:1.02.77-6ubuntu2 is to be installed Depends: dmeventd (> 2:1.02.90) but it is not going to be installed E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution). 

我试过dpkg --configure -a ,失败了很多错误。 apt-get -f install也因错误而失败。

当我运行apt-get -f install我得到以下错误。

 Preconfiguring packages ... Setting up initscripts (2.88dsf-53.2ubuntu12) ... insserv: warning: script 'K02delllctservice' missing LSB tags and overrides insserv: warning: script 'mongod' missing LSB tags and overrides insserv: Default-Start undefined, assuming empty start runlevel(s) for script `mongod' insserv: Default-Stop undefined, assuming empty stop runlevel(s) for script `mongod' insserv: warning: script 'delllctservice' missing LSB tags and overrides insserv: warning: script 'delllctservicecontent' missing LSB tags and overrides insserv: There is a loop between service tlp and procps if started insserv: loop involving service procps at depth 2 insserv: loop involving service udev at depth 1 insserv: There is a loop at service delllctservice if started insserv: There is a loop at service tlp if started insserv: Starting delllctservice depends on tlp and therefore on system facility `$all' which can not be true! insserv: Starting delllctservice depends on tlp and therefore on system facility `$all' which can not be true! insserv: Starting delllctservice depends on tlp and therefore on system facility `$all' which can not be true! insserv: Starting delllctservice depends on tlp and therefore on system facility `$all' which can not be true! insserv: Starting delllctservice depends on tlp and therefore on system facility `$all' which can not be true! insserv: Starting delllctservice depends on tlp and therefore on system facility `$all' which can not be true! insserv: Starting delllctservice depends on tlp and therefore on system facility `$all' which can not be true! insserv: Starting delllctservice depends on tlp and therefore on system facility `$all' which can not be true! insserv: Starting delllctservice depends on tlp and therefore on system facility `$all' which can not be true! insserv: Starting delllctservice depends on tlp and therefore on system facility `$all' which can not be true! insserv: Starting delllctservice depends on tlp and therefore on system facility `$all' which can not be true! insserv: Starting delllctservice depends on tlp and therefore on system facility `$all' which can not be true! insserv: Starting delllctservice depends on tlp and therefore on system facility `$all' which can not be true! insserv: Starting delllctservice depends on tlp and therefore on system facility `$all' which can not be true! insserv: Starting delllctservice depends on tlp and therefore on system facility `$all' which can not be true! insserv: Starting delllctservice depends on tlp and therefore on system facility `$all' which can not be true! insserv: Starting delllctservice depends on tlp and therefore on system facility `$all' which can not be true! insserv: Starting delllctservice depends on tlp and therefore on system facility `$all' which can not be true! insserv: Starting delllctservice depends on tlp and therefore on system facility `$all' which can not be true! insserv: Starting delllctservice depends on tlp and therefore on system facility `$all' which can not be true! insserv: Starting delllctservice depends on tlp and therefore on system facility `$all' which can not be true! insserv: Starting delllctservice depends on tlp and therefore on system facility `$all' which can not be true! insserv: Starting delllctservice depends on tlp and therefore on system facility `$all' which can not be true! insserv: Starting delllctservice depends on tlp and therefore on system facility `$all' which can not be true! insserv: Starting delllctservice depends on tlp and therefore on system facility `$all' which can not be true! insserv: Starting delllctservice depends on tlp and therefore on system facility `$all' which can not be true! insserv: Starting delllctservice depends on tlp and therefore on system facility `$all' which can not be true! insserv: Starting delllctservice depends on tlp and therefore on system facility `$all' which can not be true! insserv: Starting delllctservice depends on tlp and therefore on system facility `$all' which can not be true! insserv: Starting delllctservice depends on tlp and therefore on system facility `$all' which can not be true! insserv: Starting delllctservice depends on tlp and therefore on system facility `$all' which can not be true! insserv: Starting delllctservice depends on tlp and therefore on system facility `$all' which can not be true! insserv: Starting delllctservice depends on tlp and therefore on system facility `$all' which can not be true! insserv: Starting delllctservice depends on tlp and therefore on system facility `$all' which can not be true! insserv: Starting delllctservice depends on tlp and therefore on system facility `$all' which can not be true! insserv: Starting delllctservice depends on tlp and therefore on system facility `$all' which can not be true! insserv: Starting delllctservice depends on tlp and therefore on system facility `$all' which can not be true! insserv: Starting delllctservice depends on tlp and therefore on system facility `$all' which can not be true! insserv: Starting delllctservice depends on tlp and therefore on system facility `$all' which can not be true! insserv: Starting delllctservice depends on tlp and therefore on system facility `$all' which can not be true! insserv: Starting delllctservice depends on tlp and therefore on system facility `$all' which can not be true! insserv: Starting delllctservice depends on tlp and therefore on system facility `$all' which can not be true! insserv: Starting delllctservice depends on tlp and therefore on system facility `$all' which can not be true! insserv: Starting delllctservice depends on tlp and therefore on system facility `$all' which can not be true! insserv: Starting delllctservice depends on tlp and therefore on system facility `$all' which can not be true! insserv: Starting delllctservice depends on tlp and therefore on system facility `$all' which can not be true! insserv: Starting delllctservice depends on tlp and therefore on system facility `$all' which can not be true! insserv: Starting delllctservice depends on tlp and therefore on system facility `$all' which can not be true! insserv: Starting delllctservice depends on tlp and therefore on system facility `$all' which can not be true! insserv: Max recursions depth 99 reached insserv: loop involving service hdapsd at depth 1 insserv: Starting delllctservice depends on tlp and therefore on system facility `$all' which can not be true! insserv: Starting delllctservice depends on tlp and therefore on system facility `$all' which can not be true! insserv: Starting delllctservice depends on tlp and therefore on system facility `$all' which can not be true! insserv: Starting delllctservice depends on tlp and therefore on system facility `$all' which can not be true! insserv: Starting delllctservice depends on tlp and therefore on system facility `$all' which can not be true! insserv: Starting delllctservice depends on tlp and therefore on system facility `$all' which can not be true! insserv: Starting delllctservice depends on tlp and therefore on system facility `$all' which can not be true! insserv: Starting delllctservice depends on tlp and therefore on system facility `$all' which can not be true! insserv: Starting delllctservice depends on tlp and therefore on system facility `$all' which can not be true! insserv: Starting delllctservice depends on tlp and therefore on system facility `$all' which can not be true! insserv: Starting delllctservice depends on tlp and therefore on system facility `$all' which can not be true! insserv: Starting delllctservice depends on tlp and therefore on system facility `$all' which can not be true! insserv: Starting delllctservice depends on tlp and therefore on system facility `$all' which can not be true! insserv: Starting delllctservice depends on tlp and therefore on system facility `$all' which can not be true! insserv: Starting delllctservice depends on tlp and therefore on system facility `$all' which can not be true! insserv: Starting delllctservice depends on tlp and therefore on system facility `$all' which can not be true! insserv: Starting delllctservice depends on tlp and therefore on system facility `$all' which can not be true! insserv: Starting delllctservice depends on tlp and therefore on system facility `$all' which can not be true! insserv: Starting delllctservice depends on tlp and therefore on system facility `$all' which can not be true! insserv: Starting delllctservice depends on tlp and therefore on system facility `$all' which can not be true! insserv: Starting delllctservice depends on tlp and therefore on system facility `$all' which can not be true! insserv: Starting delllctservice depends on tlp and therefore on system facility `$all' which can not be true! insserv: Starting delllctservice depends on tlp and therefore on system facility `$all' which can not be true! insserv: Starting delllctservice depends on tlp and therefore on system facility `$all' which can not be true! insserv: Starting delllctservice depends on tlp and therefore on system facility `$all' which can not be true! insserv: Starting delllctservice depends on tlp and therefore on system facility `$all' which can not be true! insserv: Starting delllctservice depends on tlp and therefore on system facility `$all' which can not be true! insserv: Starting delllctservice depends on tlp and therefore on system facility `$all' which can not be true! insserv: There is a loop between service tlp and delllctservicecontent if stopped insserv: loop involving service delllctservicecontent at depth 2 insserv: loop involving service tlp at depth 1 insserv: Starting delllctservice depends on tlp and therefore on system facility `$all' which can not be true! insserv: Starting delllctservice depends on tlp and therefore on system facility `$all' which can not be true! insserv: Starting delllctservice depends on tlp and therefore on system facility `$all' which can not be true! insserv: Starting delllctservice depends on tlp and therefore on system facility `$all' which can not be true! insserv: Starting delllctservice depends on tlp and therefore on system facility `$all' which can not be true! insserv: Starting delllctservice depends on tlp and therefore on system facility `$all' which can not be true! insserv: Starting delllctservice depends on tlp and therefore on system facility `$all' which can not be true! insserv: loop involving service networking at depth 4 insserv: Starting delllctservice depends on tlp and therefore on system facility `$all' which can not be true! insserv: Starting delllctservice depends on tlp and therefore on system facility `$all' which can not be true! insserv: Starting delllctservice depends on tlp and therefore on system facility `$all' which can not be true! insserv: Starting delllctservice depends on tlp and therefore on system facility `$all' which can not be true! insserv: Starting delllctservice depends on tlp and therefore on system facility `$all' which can not be true! insserv: Starting delllctservice depends on tlp and therefore on system facility `$all' which can not be true! insserv: Starting delllctservice depends on tlp and therefore on system facility `$all' which can not be true! insserv: Starting delllctservice depends on tlp and therefore on system facility `$all' which can not be true! insserv: Starting delllctservice depends on tlp and therefore on system facility `$all' which can not be true! insserv: Starting delllctservice depends on tlp and therefore on system facility `$all' which can not be true! insserv: Starting delllctservice depends on tlp and therefore on system facility `$all' which can not be true! insserv: Starting delllctservice depends on tlp and therefore on system facility `$all' which can not be true! insserv: Stopping delllctservicecontent depends on tlp and therefore on system facility `$all' which can not be true! insserv: Starting delllctservice depends on tlp and therefore on system facility `$all' which can not be true! insserv: Starting delllctservice depends on tlp and therefore on system facility `$all' which can not be true! insserv: Starting delllctservice depends on tlp and therefore on system facility `$all' which can not be true! insserv: Starting delllctservice depends on tlp and therefore on system facility `$all' which can not be true! insserv: Starting delllctservice depends on tlp and therefore on system facility `$all' which can not be true! insserv: Starting delllctservice depends on tlp and therefore on system facility `$all' which can not be true! insserv: Starting delllctservice depends on tlp and therefore on system facility `$all' which can not be true! insserv: Starting delllctservice depends on tlp and therefore on system facility `$all' which can not be true! insserv: Starting delllctservice depends on tlp and therefore on system facility `$all' which can not be true! insserv: Starting delllctservice depends on tlp and therefore on system facility `$all' which can not be true! insserv: Starting delllctservice depends on tlp and therefore on system facility `$all' which can not be true! insserv: Starting delllctservice depends on tlp and therefore on system facility `$all' which can not be true! insserv: Starting delllctservice depends on tlp and therefore on system facility `$all' which can not be true! insserv: Starting delllctservice depends on tlp and therefore on system facility `$all' which can not be true! insserv: Starting delllctservice depends on tlp and therefore on system facility `$all' which can not be true! insserv: Starting delllctservice depends on tlp and therefore on system facility `$all' which can not be true! insserv: Starting delllctservice depends on tlp and therefore on system facility `$all' which can not be true! insserv: Starting delllctservice depends on tlp and therefore on system facility `$all' which can not be true! insserv: warning: script 'K02delllctservice' missing LSB tags and overrides insserv: warning: script 'mongod' missing LSB tags and overrides insserv: Default-Start undefined, assuming empty start runlevel(s) for script `mongod' insserv: Default-Stop undefined, assuming empty stop runlevel(s) for script `mongod' insserv: warning: script 'delllctservice' missing LSB tags and overrides insserv: warning: script 'delllctservicecontent' missing LSB tags and overrides insserv: There is a loop between service tlp and procps if started insserv: loop involving service procps at depth 2 insserv: loop involving service udev at depth 1 insserv: There is a loop at service delllctservice if started insserv: There is a loop at service tlp if started insserv: Starting delllctservice depends on tlp and therefore on system facility `$all' which can not be true! insserv: Starting delllctservice depends on tlp and therefore on system facility `$all' which can not be true! insserv: Starting delllctservice depends on tlp and therefore on system facility `$all' which can not be true! insserv: Starting delllctservice depends on tlp and therefore on system facility `$all' which can not be true! insserv: Starting delllctservice depends on tlp and therefore on system facility `$all' which can not be true! insserv: Starting delllctservice depends on tlp and therefore on system facility `$all' which can not be true! insserv: Starting delllctservice depends on tlp and therefore on system facility `$all' which can not be true! insserv: Starting delllctservice depends on tlp and therefore on system facility `$all' which can not be true! insserv: Starting delllctservice depends on tlp and therefore on system facility `$all' which can not be true! insserv: Starting delllctservice depends on tlp and therefore on system facility `$all' which can not be true! insserv: Starting delllctservice depends on tlp and therefore on system facility `$all' which can not be true! insserv: Starting delllctservice depends on tlp and therefore on system facility `$all' which can not be true! insserv: Starting delllctservice depends on tlp and therefore on system facility `$all' which can not be true! insserv: Starting delllctservice depends on tlp and therefore on system facility `$all' which can not be true! insserv: Starting delllctservice depends on tlp and therefore on system facility `$all' which can not be true! insserv: Starting delllctservice depends on tlp and therefore on system facility `$all' which can not be true! insserv: Starting delllctservice depends on tlp and therefore on system facility `$all' which can not be true! insserv: Starting delllctservice depends on tlp and therefore on system facility `$all' which can not be true! insserv: Starting delllctservice depends on tlp and therefore on system facility `$all' which can not be true! insserv: Starting delllctservice depends on tlp and therefore on system facility `$all' which can not be true! insserv: Starting delllctservice depends on tlp and therefore on system facility `$all' which can not be true! insserv: Starting delllctservice depends on tlp and therefore on system facility `$all' which can not be true! insserv: Starting delllctservice depends on tlp and therefore on system facility `$all' which can not be true! insserv: Starting delllctservice depends on tlp and therefore on system facility `$all' which can not be true! insserv: Starting delllctservice depends on tlp and therefore on system facility `$all' which can not be true! insserv: Starting delllctservice depends on tlp and therefore on system facility `$all' which can not be true! insserv: Starting delllctservice depends on tlp and therefore on system facility `$all' which can not be true! insserv: Starting delllctservice depends on tlp and therefore on system facility `$all' which can not be true! insserv: Starting delllctservice depends on tlp and therefore on system facility `$all' which can not be true! insserv: Starting delllctservice depends on tlp and therefore on system facility `$all' which can not be true! insserv: Starting delllctservice depends on tlp and therefore on system facility `$all' which can not be true! insserv: Starting delllctservice depends on tlp and therefore on system facility `$all' which can not be true! insserv: Starting delllctservice depends on tlp and therefore on system facility `$all' which can not be true! insserv: Starting delllctservice depends on tlp and therefore on system facility `$all' which can not be true! insserv: Starting delllctservice depends on tlp and therefore on system facility `$all' which can not be true! insserv: Starting delllctservice depends on tlp and therefore on system facility `$all' which can not be true! insserv: Starting delllctservice depends on tlp and therefore on system facility `$all' which can not be true! insserv: Starting delllctservice depends on tlp and therefore on system facility `$all' which can not be true! insserv: Starting delllctservice depends on tlp and therefore on system facility `$all' which can not be true! insserv: Starting delllctservice depends on tlp and therefore on system facility `$all' which can not be true! insserv: Starting delllctservice depends on tlp and therefore on system facility `$all' which can not be true! insserv: Starting delllctservice depends on tlp and therefore on system facility `$all' which can not be true! insserv: Starting delllctservice depends on tlp and therefore on system facility `$all' which can not be true! insserv: Starting delllctservice depends on tlp and therefore on system facility `$all' which can not be true! insserv: Starting delllctservice depends on tlp and therefore on system facility `$all' which can not be true! insserv: Starting delllctservice depends on tlp and therefore on system facility `$all' which can not be true! insserv: Starting delllctservice depends on tlp and therefore on system facility `$all' which can not be true! insserv: Starting delllctservice depends on tlp and therefore on system facility `$all' which can not be true! insserv: Starting delllctservice depends on tlp and therefore on system facility `$all' which can not be true! insserv: Max recursions depth 99 reached insserv: loop involving service hdapsd at depth 1 insserv: Starting delllctservice depends on tlp and therefore on system facility `$all' which can not be true! insserv: Starting delllctservice depends on tlp and therefore on system facility `$all' which can not be true! insserv: Starting delllctservice depends on tlp and therefore on system facility `$all' which can not be true! insserv: Starting delllctservice depends on tlp and therefore on system facility `$all' which can not be true! insserv: Starting delllctservice depends on tlp and therefore on system facility `$all' which can not be true! insserv: Starting delllctservice depends on tlp and therefore on system facility `$all' which can not be true! insserv: There is a loop between service tlp and delllctservicecontent if stopped insserv: loop involving service delllctservicecontent at depth 2 insserv: loop involving service tlp at depth 1 insserv: Starting delllctservice depends on tlp and therefore on system facility `$all' which can not be true! insserv: Starting delllctservice depends on tlp and therefore on insserv: Stopping delllctservicecontent depends on tlp and therefore on system facility `$all' which can not be true! insserv: exiting now without changing boot order! update-rc.d: error: insserv rejected the script header dpkg: error processing package initscripts (--configure): subprocess installed post-installation script returned error exit status 1 dpkg: dependency problems prevent configuration of util-linux: util-linux depends on initscripts; however: Package initscripts is not configured yet. dpkg: error processing package util-linux (--configure): dependency problems - leaving unconfigured No apport report written because the error message indicates its a followup error from a previous failure. Errors were encountered while processing: initscripts util-linux 

编辑:这是apt-cache policy cups libcups2 cups-core-drivers libcups2 cups-daemon dmsetup libdevmapper1.02.1 libcupsmime1 libpam-systemd systemd lvm2 libdevmapper1.02.1 dmeventd的输出apt-cache policy cups libcups2 cups-core-drivers libcups2 cups-daemon dmsetup libdevmapper1.02.1 libcupsmime1 libpam-systemd systemd lvm2 libdevmapper1.02.1 dmeventd

 cups: Installed: 1.7.5-3ubuntu3.2 Candidate: 2.0.2-1ubuntu3.2 Version table: 2.0.2-1ubuntu3.2 0 500 http://archive.ubuntu.com/ubuntu/ vivid-updates/main amd64 Packages 2.0.2-1ubuntu3.1 0 500 http://security.ubuntu.com/ubuntu/ vivid-security/main amd64 Packages 2.0.2-1ubuntu3 0 500 http://archive.ubuntu.com/ubuntu/ vivid/main amd64 Packages *** 1.7.5-3ubuntu3.2 0 100 /var/lib/dpkg/status libcups2: Installed: 2.0.2-1ubuntu3.2 Candidate: 2.0.2-1ubuntu3.2 Version table: *** 2.0.2-1ubuntu3.2 0 500 http://archive.ubuntu.com/ubuntu/ vivid-updates/main amd64 Packages 100 /var/lib/dpkg/status 2.0.2-1ubuntu3.1 0 500 http://security.ubuntu.com/ubuntu/ vivid-security/main amd64 Packages 2.0.2-1ubuntu3 0 500 http://archive.ubuntu.com/ubuntu/ vivid/main amd64 Packages cups-core-drivers: Installed: 1.7.5-3ubuntu3.2 Candidate: 2.0.2-1ubuntu3.2 Version table: 2.0.2-1ubuntu3.2 0 500 http://archive.ubuntu.com/ubuntu/ vivid-updates/main amd64 Packages 2.0.2-1ubuntu3.1 0 500 http://security.ubuntu.com/ubuntu/ vivid-security/main amd64 Packages 2.0.2-1ubuntu3 0 500 http://archive.ubuntu.com/ubuntu/ vivid/main amd64 Packages *** 1.7.5-3ubuntu3.2 0 100 /var/lib/dpkg/status libcups2: Installed: 2.0.2-1ubuntu3.2 Candidate: 2.0.2-1ubuntu3.2 Version table: *** 2.0.2-1ubuntu3.2 0 500 http://archive.ubuntu.com/ubuntu/ vivid-updates/main amd64 Packages 100 /var/lib/dpkg/status 2.0.2-1ubuntu3.1 0 500 http://security.ubuntu.com/ubuntu/ vivid-security/main amd64 Packages 2.0.2-1ubuntu3 0 500 http://archive.ubuntu.com/ubuntu/ vivid/main amd64 Packages cups-daemon: Installed: 1.7.5-3ubuntu3.2 Candidate: 2.0.2-1ubuntu3.2 Version table: 2.0.2-1ubuntu3.2 0 500 http://archive.ubuntu.com/ubuntu/ vivid-updates/main amd64 Packages 2.0.2-1ubuntu3.1 0 500 http://security.ubuntu.com/ubuntu/ vivid-security/main amd64 Packages 2.0.2-1ubuntu3 0 500 http://archive.ubuntu.com/ubuntu/ vivid/main amd64 Packages *** 1.7.5-3ubuntu3.2 0 100 /var/lib/dpkg/status dmsetup: Installed: 2:1.02.90-2ubuntu1 Candidate: 2:1.02.90-2ubuntu1 Version table: *** 2:1.02.90-2ubuntu1 0 500 http://archive.ubuntu.com/ubuntu/ vivid/main amd64 Packages 100 /var/lib/dpkg/status libdevmapper1.02.1: Installed: 2:1.02.77-6ubuntu2 Candidate: 2:1.02.90-2ubuntu1 Version table: 2:1.02.90-2ubuntu1 0 500 http://archive.ubuntu.com/ubuntu/ vivid/main amd64 Packages *** 2:1.02.77-6ubuntu2 0 100 /var/lib/dpkg/status libcupsmime1: Installed: 1.7.5-3ubuntu3.2 Candidate: 2.0.2-1ubuntu3.2 Version table: 2.0.2-1ubuntu3.2 0 500 http://archive.ubuntu.com/ubuntu/ vivid-updates/main amd64 Packages 2.0.2-1ubuntu3.1 0 500 http://security.ubuntu.com/ubuntu/ vivid-security/main amd64 Packages 2.0.2-1ubuntu3 0 500 http://archive.ubuntu.com/ubuntu/ vivid/main amd64 Packages *** 1.7.5-3ubuntu3.2 0 100 /var/lib/dpkg/status libpam-systemd: Installed: 208-8ubuntu8.2 Candidate: 219-7ubuntu6 Version table: 219-7ubuntu6 0 500 http://archive.ubuntu.com/ubuntu/ vivid-updates/main amd64 Packages 219-7ubuntu3 0 500 http://archive.ubuntu.com/ubuntu/ vivid/main amd64 Packages *** 208-8ubuntu8.2 0 100 /var/lib/dpkg/status systemd: Installed: 219-7ubuntu6 Candidate: 219-7ubuntu6 Version table: *** 219-7ubuntu6 0 500 http://archive.ubuntu.com/ubuntu/ vivid-updates/main amd64 Packages 100 /var/lib/dpkg/status 219-7ubuntu3 0 500 http://archive.ubuntu.com/ubuntu/ vivid/main amd64 Packages lvm2: Installed: 2.02.111-2ubuntu1 Candidate: 2.02.111-2ubuntu1 Version table: *** 2.02.111-2ubuntu1 0 500 http://archive.ubuntu.com/ubuntu/ vivid/main amd64 Packages 100 /var/lib/dpkg/status libdevmapper1.02.1: Installed: 2:1.02.77-6ubuntu2 Candidate: 2:1.02.90-2ubuntu1 Version table: 2:1.02.90-2ubuntu1 0 500 http://archive.ubuntu.com/ubuntu/ vivid/main amd64 Packages *** 2:1.02.77-6ubuntu2 0 100 /var/lib/dpkg/status dmeventd: Installed: (none) Candidate: 2:1.02.90-2ubuntu1 Version table: 2:1.02.90-2ubuntu1 0 500 http://archive.ubuntu.com/ubuntu/ vivid/main amd64 Packages 

这是非常古老的,但我有一个类似的问题升级到16.04,所以我想我会在这里发布我的解决方案,以防其他人患此。

问题是delllctservicedelllctservicecontent脚本缺少LSB头,它告诉系统启动它们的顺序。 不知何故,在升级过程中,这会破坏引导顺序,这会破坏insserv依赖性计算。

为了解决这个问题,暂时将delllctservicedelllctservicecontent脚本移出/etc/init.d/

 mkdir ~/dell-init.d-backup sudo mv /etc/init.d/delllctservice* ~/dell-init.d-backup/ 

然后尝试再次修复您的包:

 sudo dpkg --configure -a sudo apt-get -f install 

你可能需要做sudo dpkg --configure -a --force-depends取决于事情的糟糕程度。

之后,将脚本移回/etc/init.d/导致我没有进一步的问题。

我在这里向戴尔报告了这个问题: https : //bugs.launchpad.net/dell-sputnik/+bug/1605952

我们在聊天中谈了很多,并且尝试了很多。 最后,我建议您重新安装系统。


我们尝试了什么

第一步,通过以下命令删除(临时) mongodb-server ,是的,亲爱的读者,我们需要--force-all

 sudo dpkg -r --force-all mongodb-server 

第二步,删除过时的DELL包

 sudo dpkg -r --force-all dell-e-star dell-eula dell-my-linux dell-recovery dell-recovery-bootloader 

通过打开文件/etc/apt/sources.list

 sudo nano /etc/apt/sources.list 

并删除universe条目以防止重新安装dell-recovery dell-recovery-bootloader以用于后续步骤

之后

 sudo apt-get update 

正如你在聊天中写的那样,你已经安装了tlp

 sudo dpkg -r --force-all tlp tlp-rdw kittyhawk-meta sudo service tlp stop sudo rm -r /tmp/.delllct sudo service delllctservicecontent stop sudo apt-get install -f