sim*_*lue 5 package-management apt dpkg dependencies deja-dup
我试图从 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).
Run Code Online (Sandbox Code Playgroud)
我试过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
小智 5
这是很旧的,但我在升级到 16.04 时遇到了类似的问题,所以我想我会在这里发布我的解决方案,以防其他人遭受此问题。
问题是delllctservice
和delllctservicecontent
脚本缺少 LSB 标头,它告诉系统以什么顺序启动它们。在升级过程中,这会以某种方式弄乱引导顺序,从而破坏了 insserv 依赖性计算。
为了解决这个问题,暂时将delllctservice
和delllctservicecontent
脚本移出/etc/init.d/
:
mkdir ~/dell-init.d-backup
sudo mv /etc/init.d/delllctservice* ~/dell-init.d-backup/
Run Code Online (Sandbox Code Playgroud)
然后再次尝试修复您的软件包:
sudo dpkg --configure -a
sudo apt-get -f install
Run Code Online (Sandbox Code Playgroud)
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
Run Code Online (Sandbox Code Playgroud)
第二步,删除过时的DELL软件包
sudo dpkg -r --force-all dell-e-star dell-eula dell-my-linux dell-recovery dell-recovery-bootloader
Run Code Online (Sandbox Code Playgroud)
/etc/apt/sources.list
通过打开文件
sudo nano /etc/apt/sources.list
Run Code Online (Sandbox Code Playgroud)
并删除条目以防止后续步骤universe
重新安装dell-recovery dell-recovery-bootloader
在那之后
sudo apt-get update
Run Code Online (Sandbox Code Playgroud)
正如您在聊天中所写的那样,您已经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
Run Code Online (Sandbox Code Playgroud)