我尝试了网上找到的很多教程,但无法安装 Skype。
apt-get 给了我这个错误:(但 Synaptic 没有报告任何损坏的包)
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:
skype : Depends: skype-bin
E: Unable to correct problems, you have held broken packages.
Aptitude 给了我这个错误:
The following NEW packages will be installed:
libdbusmenu-qt2:i386{a} libdrm-intel1:i386{ab} libdrm-nouveau2:i386{ab}
libdrm-radeon1:i386{ab} libdrm2:i386{ab} libgl1-mesa-dri:i386{ab}
libgl1-mesa-glx:i386{ab} libglapi-mesa:i386{ab} libqt4-opengl:i386{a}
libqtwebkit4:i386{a} skype skype-bin:i386{a} sni-qt:i386{a}
0 packages upgraded, 13 newly installed, 0 to remove and 57 not upgraded.
Need to get 31,7 MB of archives. After unpacking 111 MB will be used.
The following packages have unmet dependencies:
libdrm-intel1 : Breaks: libdrm-intel1:i386 (!= 2.4.54+git20140523.8fc62ca8-0ubuntu0ricotz~trusty) but 2.4.52-1 is to be installed.
libdrm-intel1:i386 : Breaks: libdrm-intel1 (!= 2.4.52-1) but 2.4.54+git20140523.8fc62ca8-0ubuntu0ricotz~trusty is installed.
libgl1-mesa-dri : Breaks: libgl1-mesa-dri:i386 (!= 10.3.0~git20140530.ebf229a4-0ubuntu0ricotz~trusty) but 10.1.0-4ubuntu5 is to be installed.
libgl1-mesa-dri:i386 : Breaks: libgl1-mesa-dri (!= 10.1.0-4ubuntu5) but 10.3.0~git20140530.ebf229a4-0ubuntu0ricotz~trusty is installed.
libdrm-radeon1 : Breaks: libdrm-radeon1:i386 (!= 2.4.54+git20140523.8fc62ca8-0ubuntu0ricotz~trusty) but 2.4.52-1 is to be installed.
libdrm-radeon1:i386 : Breaks: libdrm-radeon1 (!= 2.4.52-1) but 2.4.54+git20140523.8fc62ca8-0ubuntu0ricotz~trusty is installed.
libglapi-mesa : Breaks: libglapi-mesa:i386 (!= 10.3.0~git20140530.ebf229a4-0ubuntu0ricotz~trusty) but 10.1.0-4ubuntu5 is to be installed.
libglapi-mesa:i386 : Breaks: libglapi-mesa (!= 10.1.0-4ubuntu5) but 10.3.0~git20140530.ebf229a4-0ubuntu0ricotz~trusty is installed.
libgl1-mesa-glx : Breaks: libgl1-mesa-glx:i386 (!= 10.3.0~git20140530.ebf229a4-0ubuntu0ricotz~trusty) but 10.1.0-4ubuntu5 is to be installed.
libgl1-mesa-glx:i386 : Breaks: libgl1-mesa-glx (!= 10.1.0-4ubuntu5) but 10.3.0~git20140530.ebf229a4-0ubuntu0ricotz~trusty is installed.
libdrm-nouveau2 : Breaks: libdrm-nouveau2:i386 (!= 2.4.54+git20140523.8fc62ca8-0ubuntu0ricotz~trusty) but 2.4.52-1 is to be installed.
libdrm-nouveau2:i386 : Breaks: libdrm-nouveau2 (!= 2.4.52-1) but 2.4.54+git20140523.8fc62ca8-0ubuntu0ricotz~trusty is installed.
libdrm2 : Breaks: libdrm2:i386 (!= 2.4.54+git20140523.8fc62ca8-0ubuntu0ricotz~trusty) but 2.4.52-1 is to be installed.
libdrm2:i386 : Breaks: libdrm2 (!= 2.4.52-1) but 2.4.54+git20140523.8fc62ca8-0ubuntu0ricotz~trusty is installed.
The following actions will resolve these dependencies:
Keep the following packages at their current version:
1) libdrm-intel1:i386 [Not Installed]
2) libdrm-nouveau2:i386 [Not Installed]
3) libdrm-radeon1:i386 [Not Installed]
4) libdrm2:i386 [Not Installed]
5) libgl1-mesa-dri:i386 [Not Installed]
6) libgl1-mesa-glx:i386 [Not Installed]
7) libglapi-mesa:i386 [Not Installed]
8) libqt4-opengl:i386 [Not Installed]
9) libqtwebkit4:i386 [Not Installed]
10) skype [Not Installed]
11) skype-bin:i386 [Not Installed]
Leave the following dependencies unresolved:
12) libgl1-mesa-glx:i386 recommends libgl1-mesa-dri:i386 (>= 7.2)
Accept this solution? [Y/n/q/?]
但这些解决方案都不起作用。有人能帮助我吗?
答案1
根据版本号,您最有可能使用的是xorg-edgersPPA(或者至少使用该 PPA 中的软件包)。
理论上,apt
如果你添加了该 PPA,应该会同时获得 amd64 和 i386 版本。要确定你是否添加了 PPA,请运行apt-cache policy libdrm-intel1
。如果带有版本号的条目2.4.54+git20140523.8fc62ca8-0ubuntu0ricotz~trusty
没有指向 PPA 的链接(有仅有的 100 /var/lib/dpkg/status
而不是500
某样东西),那么您就没有使用 PPA。
如果您没有使用 PPA(即使您没有使用 PPA 并且想要安全地摆脱这些软件包),请运行sudo add-apt-repository ppa:xorg-edgers/ppa
然后sudo apt-get update
然后sudo apt-get dist-upgrade
。
如果您不想使用 PPA(并且想要摆脱 PPA 中的软件包),或者您正在使用 PPA 并且无法安装 Skype,请运行sudo ppa-purge xorg-edgers
。
按照此操作后,尝试安装 Skype。
答案2
我昨天也遇到了同样的问题。真是痛苦。是的,痛苦的就是我。
以下是我解决这个问题的方法:
dpkg --add-architechture i386
apt-get update
apt-get upgrade
apt-get dist-upgrade
apt-get install skype