ubuntu 解决未满足的依赖关系

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

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

答案1

这已经很老了,但是我在升级到 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

答案2

我们在聊天中讨论了很多,也尝试了很多。最终,我建议你重新安装系统。


我们已经尝试过

第一步是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

相关内容