我刚刚在我的电脑上安装了 Ubuntu 14.04.1:
mohsen@Bob:~$ uname -a
Linux Bob 3.19.0-33-generic #38~14.04.1-Ubuntu SMP Fri Nov 6
18:17:28 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
但我无法在上面安装 skype。我收到以下错误。我假设我缺少一些依赖项。
mohsen@Bob:~$ sudo apt-get install skype
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:
libgl1-mesa-glx : Depends: libudev1 but it is not going to be installed or
libudev0 but it is not installable
skype : Depends: skype-bin
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
我尝试按照以下链接中的步骤进行操作:
但是当我输入
sudo apt-get install sni-qt:i386
我收到以下错误:
mohsen@Bob:~$ sudo apt-get remove skype skype-bin:i386 skype:i386
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package 'skype' is not installed, so not removed
Package 'skype:i386' is not installed, so not removed
Package 'skype-bin:i386' is not installed, so not removed
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
mohsen@Bob:~$ sudo apt-get install sni-qt:i386
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:
sni-qt:i386 : Depends: libc6:i386 (>= 2.2) but it is not going to be installed
Depends: libdbusmenu-qt2:i386 (>= 0.3.2) but it is not going to be installed
Depends: libgcc1:i386 (>= 1:4.1.1) but it is not going to be installed
Depends: libqt4-dbus:i386 (>= 4:4.6.1) but it is not going to be installed
Depends: libqtcore4:i386 (>= 4:4.7.3-1ubuntu3~) but it is not going to be installed
Depends: libqtgui4:i386 (>= 4:4.7.3) but it is not going to be installed
Depends: libstdc++6:i386 (>= 4.1.1) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
您对为什么会发生这种情况有什么想法吗?我该如何安装 Skype?
答案1
System Settings请通过> Software Update>Other Software重新加载源启用 Canonical Partner 存储库,然后通过软件中心安装 skype。
答案2
运行以下命令:
sudo dpkg --add-architecture i386
sudo apt-get update
这样就可以安装 Skype 所需的 32 位软件包。
答案3
从官方网站下载Skype并使用以下命令手动安装。
下载 Skype:
wget http://download.skype.com/linux/skype-ubuntu-precise_4.3.0.37-1_i386.deb
然后安装它:
sudo dpkg -i skype-ubuntu-precise_4.3.0.37-1_i386.deb