ubuntu 软件中心更新后无法使用

ubuntu 软件中心更新后无法使用

今天,我更新了我的 Ubuntu(之前安装了 KDE 桌面),更新后,Ubuntu 软件中心显示:直到修复软件包目录后才能安装或删除项目。是否要修复它?;当我点击“修复”时,两秒后显示:

软件包的安装或删除失败,详细信息如下:

installArchives() failed: dpkg: dependency problems prevent configuration of kdm:
 kdm depends on libkworkspace4abi1 (= 4:4.8.5-0ubuntu0.1); however:
  Version of libkworkspace4abi1 on system is 4:4.8.5-0ubuntu0.2.
 kdm depends on kde-workspace-kgreet-plugins (= 4:4.8.5-0ubuntu0.1); however:
  Version of kde-workspace-kgreet-plugins on system is 4:4.8.5-0ubuntu0.2.
dpkg: error processing kdm (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of kubuntu-desktop:
 kubuntu-desktop depends on kdm; however:
  Package kdm is not configured yet.
dpkg: error processing kubuntu-desktop (--configure):
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.
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 kdm
 kubuntu-desktop
Error in function: 
dpkg: dependency problems prevent configuration of kdm:
 kdm depends on libkworkspace4abi1 (= 4:4.8.5-0ubuntu0.1); however:
  Version of libkworkspace4abi1 on system is 4:4.8.5-0ubuntu0.2.
 kdm depends on kde-workspace-kgreet-plugins (= 4:4.8.5-0ubuntu0.1); however:
  Version of kde-workspace-kgreet-plugins on system is 4:4.8.5-0ubuntu0.2.
dpkg: error processing kdm (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of kubuntu-desktop:
 kubuntu-desktop depends on kdm; however:
  Package kdm is not configured yet.
dpkg: error processing kubuntu-desktop (--configure):
 dependency problems - leaving unconfigured

如何解决这个问题?

答案1

尝试sudo apt-get -f install在终端中运行。这应该会修复您的依赖项。

相关内容