升级到 12.04 后如何修复“软件包系统损坏”?

升级到 12.04 后如何修复“软件包系统损坏”?

我无法再删除或安装任何软件或执行任何更新。升级到 12.04 后,我收到此错误消息:

The package system is broken
Check if you are using third party repositories. If so disable them, since they are a common source of problems.
Furthermore run the following command in a Terminal: apt-get install -f

The following packages have unmet dependencies:
libpam-winbind: Depends: libwbclient0 (= 2:3.6.3-2ubuntu2.1) but 2:3.6.3-2ubuntu2.3 is installed
                Depends: winbind (= 2:3.6.3-2ubuntu2.1) but 2:3.6.3-2ubuntu2.1 is installed
                Depends: samba-common (= 2:3.6.3-2ubuntu2.1) but 2:3.6.3-2ubuntu2.3 is installed
winbind: Depends: libwbclient0 (= 2:3.6.3-2ubuntu2.1) but 2:3.6.3-2ubuntu2.3 is installed
         Depends: samba-common (= 2:3.6.3-2ubuntu2.1) but 2:3.6.3-2ubuntu2.3 is installed

我是新用户,所以我不知道如何处理此错误消息。

答案1

尝试这些命令,它们会解决这个问题:

 sudo apt-get install -f
 sudo apt-get update

相关内容