Ubuntu 14.10 上的 Skype 在升级删除后无法安装

Ubuntu 14.10 上的 Skype 在升级删除后无法安装

我昨天使用的是 Ubuntu 14.04,并使用 进行升级do-release-upgrade。今天,Skype 不再安装。

这是我通过 .deb 安装时遇到的错误:

$ sudo dpkg -i skype-ubuntu-precise_4.3.0.37-1_i386.deb 
Selecting previously unselected package skype.
(Reading database ... 446199 files and directories currently installed.)
Preparing to unpack skype-ubuntu-precise_4.3.0.37-1_i386.deb ...
Unpacking skype (4.3.0.37-1) ...
dpkg: dependency problems prevent configuration of skype:
 skype depends on libqtwebkit4 (>= 2.2~2011week36); however:
  Package libqtwebkit4:i386 is not installed.
 skype depends on libpulse0; however:
  Package libpulse0:i386 is not installed.
 skype depends on libasound2-plugins; however:

dpkg: error processing package skype (--install):
 dependency problems - leaving unconfigured
Processing triggers for hicolor-icon-theme (0.13-1) ...
Processing triggers for bamfdaemon (0.5.1+14.10.20140925-0ubuntu1) ...
Rebuilding /usr/share/applications/bamf-2.index...
Processing triggers for desktop-file-utils (0.22-1ubuntu2) ...
Processing triggers for mime-support (3.55ubuntu1) ...
Processing triggers for gnome-menus (3.10.1-0ubuntu2) ...
Processing triggers for dbus (1.8.8-1ubuntu2) ...
Errors were encountered while processing:
 skype

如果我尝试使用合作伙伴仓库:

$ 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:
 skype : Depends: skype-bin
E: Unable to correct problems, you have held broken packages.

如果我sudo apt-get -f install尝试重新安装 .deb,我最终会遇到此错误:

skype: error while loading shared libraries: libQtWebKit.so.4

答案1

因此,按照@Jan 的建议清除所有内容后,以下操作仍然不起作用:

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:
 skype : Depends: skype-bin
E: Unable to correct problems, you have held broken packages.

事实证明我需要以下内容:

sudo apt-get install skype skype-bin

一切正常。

我不知道为什么。

答案2

我怀疑在尝试从 .deb 安装后,您有一个半安装包残留。要删除与 skype 相关的所有内容,请sudo apt-get purge skype在终端窗口中使用(如果失败,请使用dpkg -P skype)。

那么从合作伙伴 repo 安装就可以了。

相关内容