sudo apt-get install 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:
wine : Depends: wine1.6 but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
和:
sudo apt-get install playonlinux
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:
playonlinux : Depends: wine or
wine-unstable but it is not installable
E: Unable to correct problems, you have held broken packages.
虽然所有PPA均已禁用,并且启用了Ubuntu回购协议:
否则,软件包没有任何问题:
sudo apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
按照askubuntu的指示进行操作后, br />
sudo apt-get -u dist-upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
所以,这里没有失败。
但是初始错误仍然存在于终端中。
Synaptic中会发生什么不一样!
尝试安装
playonlinux
时,要删除的软件包包括我的所有系统。那将完全破坏系统。 尝试在安装
wine
时似乎很可能,但这与上面发布的终端输出相矛盾对于
sudo apt-get install wine
,这一切对我来说似乎都是可疑的。安装后,wine
软件包被标记为已损坏,某些未提及的软件包被标记为已损坏。如何识别损坏的软件包?
蒂姆评论后进行了更新:
~$ sudo apt-get install wine1.6
[sudo] password for cipeos:
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:
wine1.6 : Depends: wine1.6-i386 (= 1:1.6.2-0ubuntu4)
Recommends: winbind but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
在RolandiXor回答后进行更新:
根据回答,必须手动安装斜体所示的某些依赖项:
wine
是Wine1.6
。在ubuntuforums上遵循此解决方案后更新-无法安装葡萄酒
想法是通过将[arch = amd64,i386]添加到deb-line并同时使用
Wine1.6-i386
来使playonlinux
支持多体系结构。然后尝试python:any
。~$ sudo aptitude --full-resolver -f install wine1.7
[sudo] password for cipeos:
The following NEW packages will be installed:
fonts-horai-umefont{a} fonts-wqy-microhei{a} libasn1-8-heimdal:i386{ab} libcapi20-3{a} libcapi20-3:i386{a} libdb5.3:i386{a} libexif12:i386{a} libgd3:i386{a} libgif4:i386{a} libglapi-mesa{a}
libglapi-mesa:i386{a} libglu1-mesa:i386{a} libgphoto2-6:i386{ab} libgphoto2-port10:i386{ab} libgpm2:i386{a} libgssapi3-heimdal:i386{ab} libgstreamer-plugins-base0.10-0:i386{a}
libgstreamer0.10-0:i386{a} libhcrypto4-heimdal:i386{ab} libheimbase1-heimdal:i386{ab} libheimntlm0-heimdal:i386{ab} libhx509-5-heimdal:i386{ab} libieee1284-3:i386{a}
libkrb5-26-heimdal:i386{ab} liblcms2-2:i386{ab} libldap-2.4-2:i386{a} libltdl7:i386{a} libmpg123-0:i386{a} libncurses5:i386{a} libodbc1{a} libopenal1:i386{a} libosmesa6{a} libosmesa6:i386{a}
libpcap0.8:i386{a} libroken18-heimdal:i386{ab} libsane:i386{ab} libsane-common:i386{ab} libsasl2-2:i386{a} libsasl2-modules:i386{a} libsasl2-modules-db:i386{a} libusb-1.0-0:i386{a}
libv4l-0:i386{a} libv4lconvert0:i386{a} libvpx1:i386{a} libwind0-heimdal:i386{ab} libxpm4:i386{a} ocl-icd-libopencl1{a} ocl-icd-libopencl1:i386{a} p11-kit-modules:i386{a} p7zip{a}
ttf-wqy-microhei{a} unixodbc{a} wine-gecko2.34{a} wine-gecko2.34:i386{a} wine-mono4.5.4{a} wine1.7 wine1.7-amd64{a} wine1.7-i386:i386{a} winetricks{a}
0 packages upgraded, 59 newly installed, 0 to remove and 0 not upgraded.
Need to get 168 MB of archives. After unpacking 543 MB will be used.
The following packages have unmet dependencies:
liblcms2-2 : Breaks: liblcms2-2:i386 (!= 2.6-3ubuntu1~trusty1) but 2.6-3ubuntu1~trusty is to be installed.
liblcms2-2:i386 : Breaks: liblcms2-2 (!= 2.6-3ubuntu1~trusty) but 2.6-3ubuntu1~trusty1 is installed.
libsane-common : Conflicts: libsane-common:i386 but 1.0.23-3ubuntu3 is to be installed.
libsane-common:i386 : Conflicts: libsane-common but 1.0.23-3ubuntu3.1 is installed.
libkrb5-26-heimdal : Breaks: libkrb5-26-heimdal:i386 (!= 1.6~git20131207+dfsg-1ubuntu1.1) but 1.6~git20131207+dfsg-1ubuntu1 is to be installed.
libkrb5-26-heimdal:i386 : Breaks: libkrb5-26-heimdal (!= 1.6~git20131207+dfsg-1ubuntu1) but 1.6~git20131207+dfsg-1ubuntu1.1 is installed.
libroken18-heimdal : Breaks: libroken18-heimdal:i386 (!= 1.6~git20131207+dfsg-1ubuntu1.1) but 1.6~git20131207+dfsg-1ubuntu1 is to be installed.
libroken18-heimdal:i386 : Breaks: libroken18-heimdal (!= 1.6~git20131207+dfsg-1ubuntu1) but 1.6~git20131207+dfsg-1ubuntu1.1 is installed.
libwind0-heimdal : Breaks: libwind0-heimdal:i386 (!= 1.6~git20131207+dfsg-1ubuntu1.1) but 1.6~git20131207+dfsg-1ubuntu1 is to be installed.
libwind0-heimdal:i386 : Breaks: libwind0-heimdal (!= 1.6~git20131207+dfsg-1ubuntu1) but 1.6~git20131207+dfsg-1ubuntu1.1 is installed.
libhcrypto4-heimdal : Breaks: libhcrypto4-heimdal:i386 (!= 1.6~git20131207+dfsg-1ubuntu1.1) but 1.6~git20131207+dfsg-1ubuntu1 is to be installed.
libhcrypto4-heimdal:i386 : Breaks: libhcrypto4-heimdal (!= 1.6~git20131207+dfsg-1ubuntu1) but 1.6~git20131207+dfsg-1ubuntu1.1 is installed.
libheimntlm0-heimdal : Breaks: libheimntlm0-heimdal:i386 (!= 1.6~git20131207+dfsg-1ubuntu1.1) but 1.6~git20131207+dfsg-1ubuntu1 is to be installed.
libheimntlm0-heimdal:i386 : Breaks: libheimntlm0-heimdal (!= 1.6~git20131207+dfsg-1ubuntu1) but 1.6~git20131207+dfsg-1ubuntu1.1 is installed.
xserver-xorg-lts-utopic : Conflicts: libglapi-mesa (>= 0~) but 10.1.0-4ubuntu5 is to be installed.
Conflicts: libglapi-mesa:i386 (>= 0~) but 10.1.0-4ubuntu5 is to be installed.
libgphoto2-port10 : Breaks: libgphoto2-port10:i386 (!= 2.5.3.1-1ubuntu2.2) but 2.5.3.1-1ubuntu2 is to be installed.
libgphoto2-port10:i386 : Breaks: libgphoto2-port10 (!= 2.5.3.1-1ubuntu2) but 2.5.3.1-1ubuntu2.2 is installed.
libasn1-8-heimdal : Breaks: libasn1-8-heimdal:i386 (!= 1.6~git20131207+dfsg-1ubuntu1.1) but 1.6~git20131207+dfsg-1ubuntu1 is to be installed.
libasn1-8-heimdal:i386 : Breaks: libasn1-8-heimdal (!= 1.6~git20131207+dfsg-1ubuntu1) but 1.6~git20131207+dfsg-1ubuntu1.1 is installed.
libsane : Breaks: libsane:i386 (!= 1.0.23-3ubuntu3.1) but 1.0.23-3ubuntu3 is to be installed.
libsane:i386 : Breaks: libsane (!= 1.0.23-3ubuntu3) but 1.0.23-3ubuntu3.1 is installed.
libheimbase1-heimdal : Breaks: libheimbase1-heimdal:i386 (!= 1.6~git20131207+dfsg-1ubuntu1.1) but 1.6~git20131207+dfsg-1ubuntu1 is to be installed.
libheimbase1-heimdal:i386 : Breaks: libheimbase1-heimdal (!= 1.6~git20131207+dfsg-1ubuntu1) but 1.6~git20131207+dfsg-1ubuntu1.1 is installed.
libgphoto2-6 : Breaks: libgphoto2-6:i386 (!= 2.5.3.1-1ubuntu2.2) but 2.5.3.1-1ubuntu2 is to be installed.
libgphoto2-6:i386 : Breaks: libgphoto2-6 (!= 2.5.3.1-1ubuntu2) but 2.5.3.1-1ubuntu2.2 is installed.
libglapi-mesa-lts-utopic : Conflicts: libglapi-mesa but 10.1.0-4ubuntu5 is to be installed.
Conflicts: libglapi-mesa:i386 but 10.1.0-4ubuntu5 is to be installed.
libglapi-mesa-lts-utopic:i386 : Conflicts: libglapi-mesa but 10.1.0-4ubuntu5 is to be installed.
Conflicts: libglapi-mesa:i386 but 10.1.0-4ubuntu5 is to be installed.
libgssapi3-heimdal : Breaks: libgssapi3-heimdal:i386 (!= 1.6~git20131207+dfsg-1ubuntu1.1) but 1.6~git20131207+dfsg-1ubuntu1 is to be installed.
libgssapi3-heimdal:i386 : Breaks: libgssapi3-heimdal (!= 1.6~git20131207+dfsg-1ubuntu1) but 1.6~git20131207+dfsg-1ubuntu1.1 is installed.
libhx509-5-heimdal : Breaks: libhx509-5-heimdal:i386 (!= 1.6~git20131207+dfsg-1ubuntu1.1) but 1.6~git20131207+dfsg-1ubuntu1 is to be installed.
libhx509-5-heimdal:i386 : Breaks: libhx509-5-heimdal (!= 1.6~git20131207+dfsg-1ubuntu1) but 1.6~git20131207+dfsg-1ubuntu1.1 is installed.
The following actions will resolve these dependencies:
Keep the following packages at their current version:
1) libasn1-8-heimdal:i386 [Not Installed]
2) libglapi-mesa [Not Installed]
3) libglapi-mesa:i386 [Not Installed]
4) libgphoto2-6:i386 [Not Installed]
5) libgphoto2-port10:i386 [Not Installed]
6) libgssapi3-heimdal:i386 [Not Installed]
7) libhcrypto4-heimdal:i386 [Not Installed]
8) libheimbase1-heimdal:i386 [Not Installed]
9) libheimntlm0-heimdal:i386 [Not Installed]
10) libhx509-5-heimdal:i386 [Not Installed]
11) libkrb5-26-heimdal:i386 [Not Installed]
12) liblcms2-2:i386 [Not Installed]
13) libldap-2.4-2:i386 [Not Installed]
14) libosmesa6 [Not Installed]
15) libosmesa6:i386 [Not Installed]
16) libroken18-heimdal:i386 [Not Installed]
17) libsane:i386 [Not Installed]
18) libsane-common:i386 [Not Installed]
19) libwind0-heimdal:i386 [Not Installed]
20) wine1.7 [Not Installed]
21) wine1.7-amd64 [Not Installed]
22) wine1.7-i386:i386 [Not Installed]
Leave the following dependencies unresolved:
23) winetricks recommends wine
24) wine1.7-amd64 recommends libosmesa6
25) wine-gecko2.34 recommends wine1.5-amd64
26) wine1.7-i386:i386 recommends libosmesa6:i386
27) wine1.7-i386:i386 recommends libsane:i386
28) wine-gecko2.34:i386 recommends wine1.5-i386:i386
Accept this solution? [Y/n/q/?]
似乎
/etc/apt/sources.list
提供了更多信息。但是在那里尝试一些选项归结为安装0。#1 楼
打开Synaptic并转到“设置”>“首选项”,然后选中“在主窗口中显示软件包属性”:现在,找到已损坏的软件包,并在其属性下单击依赖性。在列表中,您将看到斜体的软件包。
我没有损坏的程序包,所以我的文件不是斜体字。
一旦确定了此程序包,就需要手动安装。在您的情况下,似乎是winbind。它可能无法自动安装,因为它依赖于其他内容,而Synaptic由于某些原因而无法标记为安装。
评论
结果更新了问题!
–user170
15年7月7日在9:53
#2 楼
主要思想是使用aptitude
及其更大的选项。答案在ubuntuforums上是这样的。 ,i386]转到deb行:
/etc/apt/sources.list
sudo add-apt-repository ppa:ubuntu-wine/ppa
sudo dpkg --add-architecture i386
sudo apt-get update
数据库更新现在显示要分别加载amd64和i386存储库。
接下来,我切换到
deb [arch=amd64,i386] http://fr.archive.ubuntu.com/ubuntu/ trusty universe
,因为使用了更复杂的依赖项求解器: / Z9Ww11SU 我所做的简述:
aptitude建议不要安装wine1.7的解决方案,该解决方案首先被选择(
aptitude
)这个解决方案被
20
拒绝了-对我来说有点复杂,我只是从另一个答案中复制了命令:首先选择r 20
而不是YES或NO。然后20
(拒绝删除Wine 1.7); 然后
r 20
(看来,除非您选择n
,否则,在每个决定之后Y
都会为您提供新的选择;我想在这种情况下是“否”,因为它对Wine表示“未解决依赖性”); 下一步提供了很好的解决方案:安装Wine并降级14个软件包:
aptitude --full-resolver
所以,最后一个是
ibasn1-8-heimdal libgphoto2-6 libgphoto2-port10 libgssapi3-heimdal libhcrypto4-heimdal libheimbase1-heimdal libheimntlm0-heimdal libhx509-5-heimdal libkrb5-26-heimdal liblcms2-2 libroken18-heimdal libsane libsane-common libwind0-heimdal
是,然后安装了Wine 1.7。之后,安装
Y
就没有问题了:sudo apt-get install aptitude
sudo aptitude --full-resolver -f install wine1.7
评论
您可以尝试使用官方的葡萄酒ppa-launchpad.net/~ubuntu-wine/+archive/ubuntu/ppasudo apt-get install wine1.6的输出是什么?
@Tim-在更新问题时回答您的评论。
在突触中,如果启用选项以在设置的主窗口中显示软件包详细信息,则可以转到依赖项列表,并且导致软件包损坏的软件包将以斜体显示。
@RolandiXor-请尝试更清楚。我提供了很多准确的信息。您是什么意思“显示包裹详细信息”?到底是什么包?您是说我添加了回购协议?那不是必须通过Synaptic访问的。 -所有这些都太奇怪了,我可以再次确认在Synaptic中,当尝试安装playonlinux时,要删除的软件包包括很多系统!酒也在列表中,尽管未安装。