0

I was on Ubuntu 14.04 yesterday, and upgrade with do-release-upgrade. Today, Skype isn't installed anymore.

Here is the error I get when installing through the .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

And if I try to use the partner repo:

$ 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.

If I sudo apt-get -f install and try to reinstall the .deb, I end up with this error:

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

2 Answers2

2

So, after purging everything, as @Jan suggested, the following still didn't work:

sudo apt-get install skype

I had the following error:

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.

Turns out I needed the following:

sudo apt-get install skype skype-bin

And everything worked out of the box.

I have no idea why.

1

I assue that after trying to install from the .deb, you had a half-installed package lingering. To get rid of everything skype-related, use sudo apt-get purge skype in a terminal window (or if that fails, use dpkg -P skype).

Installing from the partner repo should work then.

Jan
  • 12,291
  • 3
  • 32
  • 38
  • Hi, thanks for your answer. Unfortunately, it doesn't solve the issue. See here: http://pastie.margaine.com/b60e1055-e16d-46a1-9152-5744f723c77e – Florian Margaine Oct 29 '14 at 16:18
  • Please post your /etc/apt/sources.list in your question. – Jan Oct 29 '14 at 16:21
  • I actually just found the solution. I needed sudo apt-get install skype skype-bin. sudo apt-get install skype wasn't enough. Yes, the partner repository was enabled :) – Florian Margaine Oct 29 '14 at 16:29
  • Then you must have setup apt to not install dependencies by default... – Jan Oct 29 '14 at 16:43
  • It has never failed before, and I haven't changed anything. Do you know where I might see this setting? It installed many other dependencies like libqtwebkit, so I don't think that's it. – Florian Margaine Oct 29 '14 at 18:07