昨天我试着在基础操作系统0.21上安装了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更新、sudo apt-get升级等等来解决这个问题。到目前为止没有任何帮助,也许我需要删除一些包,但我不确定我必须删除哪些才能解决问题。
3条答案
按热度按时间o4tp2gmn1#
在我的示例中,我键入
pkexec synaptic
命令并按Enter;然后从图形用户界面中选择Status,然后断开并删除损坏的包。我工作得很好。f4t66c6m2#
尝试
并取下带有
sudo dpkg --remove [package-name]
的打印 Package 。xkrw2x1b3#
要安装WINE,请使用
aptitude
而不是apt-get
。例如: