我从以下网站下载了适用于 Ubuntu 的 Skype这里。我尝试使用命令安装,sudo dpkg -i skype-ubuntu-precise_4.2.0.11-1_i386.deb
但是安装失败。终端中显示以下几行:
dineshkumar@dineshkumar-desktop:~/Downloads$ sudo dpkg -i skype-ubuntu-precise_4.2.0.11-1_i386.deb
Selecting previously unselected package skype.
(Reading database ... 169017 files and directories currently installed.)
Unpacking skype (from skype-ubuntu-precise_4.2.0.11-1_i386.deb) ...
dpkg: dependency problems prevent configuration of skype:
skype depends on libqtwebkit4 (>= 2.2~2011week36); however:
Package libqtwebkit4 is not installed.
skype depends on libxss1; however:
Package libxss1 is not installed.
dpkg: error processing skype (--install):
dependency problems - leaving unconfigured
Processing triggers for hicolor-icon-theme ...
Processing triggers for desktop-file-utils ...
Processing triggers for bamfdaemon ...
Rebuilding /usr/share/applications/bamf.index...
Processing triggers for gnome-menus ...
Errors were encountered while processing:
skype
为什么安装失败?我该如何从我拥有的 .deb 文件安装 Skype?
我检查了这个问题这里但发现它毫无用处。那里讨论的问题是 Skype 在更新后出现故障。但就我而言,我甚至无法正确安装 Skype。
答案1
该错误是由依赖性问题引起的(缺少安装 skype 所需的某些包)。显示的以下几行证实了这一点:
skype depends on libqtwebkit4 (>= 2.2~2011week36); however:
Package libqtwebkit4 is not installed.
skype depends on libxss1; however:
Package libxss1 is not installed.
dpkg: error processing skype (--install):
dependency problems - leaving unconfigured
因此,显然可以通过安装缺少的软件包 ( libqtwebkit4
& libxss1
) 来克服错误。要安装这些软件包,
- 打开终端。
- 键入
sudo apt-get install libqtwebkit4
以安装 libqtwebkit4 包。 - 键入
sudo apt-get install libxss1
以安装 libxss1 包。 - 安装所需的软件包后,继续使用以下命令安装 skype
sudo dpkg -i skype-ubuntu-precise_4.2.0.11-1_i386.deb
答案2
您可以使用命令行安装 skype:
wget -O skype-NoobsLab.deb http://download.skype.com/linux/skype-ubuntu-lucid_4.2.0.11-1_i386.deb
sudo dpkg -i skype-NoobsLab.deb
sudo apt-get -f install
对于 64 位
终端命令:
sudo dpkg --add-architecture i386
sudo apt-get install ia32-libs
sudo apt-get update
wget -O skype-NoobsLab.deb http://download.skype.com/linux/skype-ubuntu-lucid_4.2.0.11-1_i386.deb
sudo dpkg -i skype-NoobsLab.deb
sudo apt-get -f install;rm skype-NoobsLab.deb
完成所有操作后,在终端中运行
sudo apt-get install sni-qt:i386
这将恢复 Skype 联系人窗口
答案3
sudo add-apt-repository "deb http://archive.canonical.com/ $(lsb_release -sc) partner"
sudo apt-get update
sudo apt-get install skype