Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

I am new to Linux and I'm trying to install Skype using this manual. I successfully download the package using the command:

wget -O skype-install.deb http://www.skype.com/go/getskype-linux-deb-64

but when I try to install the package I get some errors about dependencies:

root@102:~# dpkg -i skype-install.deb
(Reading database ... 27918 files and directories currently installed.)
Preparing to replace skype 4.0.0.8-1 (using skype-install.deb) ...
Unpacking replacement skype ...
dpkg: dependency problems prevent configuration of skype:
 skype depends on lib32stdc++6 (>= 4.1.1-21); however:
  Package lib32stdc++6 is not installed.
 skype depends on lib32asound2 (>> 1.0.14); however:
  Package lib32asound2 is not installed.
 skype depends on ia32-libs; however:
  Package ia32-libs is not installed.
 skype depends on libc6-i386 (>= 2.7-1); however:
  Package libc6-i386 is not installed.
 skype depends on lib32gcc1 (>= 1:4.1.1-21+ia32.libs.1.19); however:
  Package lib32gcc1 is not installed.
 skype depends on ia32-libs-gtk; however:
  Package ia32-libs-gtk is not installed.
dpkg: error processing skype (--install):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 skype

How can I fix this?

share|improve this question
add comment

5 Answers

up vote 4 down vote accepted

When a package fails to configure, you can install the missing dependencies after the fact using apt-get install -f. Here is the description of -f from the documentation:

  -f, --fix-broken
     Fix; attempt to correct a system with broken dependencies in place.
     This option, when used with install/remove, can omit any packages to 
     permit APT to deduce a likely solution. 

If the package installation fails prior to the configure step do to dependencies, then those packages need to be installed manually. This is because the package declares Pre-depends rather than Depends on those packages.

share|improve this answer
    
Thank you for a reply! –  Kolyunya Aug 21 '12 at 15:01
add comment

In most cases the answer given by jordanm would not help so you might just run

apt-get install libqtwebkit4:i386 and then again

apt-get install -f 

If there would be still unmet dependencies, install it same way, for example:

apt-get install libqt4-dbus:i386

After all you can run dpkg -i skype-debian_4.*number of bield*.deb

share|improve this answer
add comment

You don't need to install this package, Skype is statically compiled with Qt, just download the Dynamic Static package from skype's official site, it will work for you.

share|improve this answer
add comment

dependancies are packages your package needs to run ( for example libraries etc ). If you install a package trough aptitude / apt / synaptic this will check for the dependancies and download them.

If you download a .deb file and try to install it manually this might not be the case. As posted before you need to install the required packages before installing skype again:

f.e.:

aptitude install lib32stdc++6 lib32asound2 ia32-libs libc6-i386 lib32gcc1 ia32-libs-gtk

I'm not 100% sure the above command will work. If aptitude / apt complains that it can not find a package you can search the repositories for the correct name:

aptitude search ia32-libs

then, once that all these packages are installed you can install skype again:

dpkg -i skype-install.deb
share|improve this answer
    
Thanks! I installed libraries using apt-get -f install –  Kolyunya Aug 21 '12 at 13:59
    
that is also a possibility :-) –  Goez Aug 21 '12 at 14:02
    
@Kolyunya - That's what I would consider the correct answer, and it's not mentioned in the answer you accepted. –  jordanm Aug 21 '12 at 14:03
    
someone is hunting for karma :/ –  Goez Aug 21 '12 at 14:05
    
corrected accepted answer. –  Kolyunya Aug 21 '12 at 15:00
add comment

Open synaptic and install packages that are not installed.

share|improve this answer
    
I don't have any GUI, only command line. –  Kolyunya Aug 21 '12 at 13:33
    
@Kolyunya: How do you run Skype without a GUI? For me, when I type skype nothing happens for some seconds, then the process terminates. (And there is no man page for Skype.) –  Emanuel Berg Aug 21 '12 at 14:13
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.