E:错误,pkgProblemResolver ::解决生成的中断,这可能是由持有的包引起的

时间:2015-06-10 23:06:52

标签: ubuntu dependencies package wine

我昨天尝试在小学操作系统上安装葡萄酒。 在这样做时我偶然发现了这个输出:

Reading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 adduser : Depends: passwd (>= 1:4.0.12)
 libqtgui4:i386 : Depends: libaudio2:i386 but it is not going to be installed
 libsm6 : Depends: libuuid1 (>= 2.16) but it is not going to be installed
 libuuid1:i386 : Depends: passwd:i386
                 Recommends: uuid-runtime:i386
 openssh-client : Depends: passwd
 procps : Depends: initscripts
 upstart : Depends: libnih-dbus1 (>= 1.0.0) but it is not going to be installed
           Depends: libnih1 (>= 1.0.0) but it is not going to be installed
           Depends: initscripts
           Depends: mountall
           Depends: ifupdown (>= 0.6.10ubuntu5)
 wine : Depends: wine1.6 but it is not going to be installed or
                 wine1.7 but it is not going to be installed
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.

我尝试通过尝试sudo apt-get update,sudo apt-get upgrade等来解决这个问题。 到目前为止没有任何帮助我,也许我需要删除一些包但是 我不确定为了解决问题我必须删除哪些。

2 个答案:

答案 0 :(得分:5)

尝试

sudo dpkg --configure -a

并删除带有sudo dpkg --remove [package-name]的打印包。

答案 1 :(得分:0)

要安装葡萄酒,请使用aptitude代替apt-get。 例如:

sudo aptitude install <packagename>