Installing Skype on Debian Wheezy [amd64]

08
2014-07
  • kK-Storm

    Yes, yet another question about how to install Skype on Debian Wheezy (7.4) amd64. Seen countless similar articles and forum threads on how to do it, but it doesn't for me :(

    Here is what I do:

    dpkg --add-architecture i386
    apt-get update
    wget -O skype-install.deb http://www.skype.com/go/getskype-linux-deb
    dpkg -i skype-install.deb
    

    installs only partially:

    dpkg: dependency problems prevent configuration of skype:
     skype depends on libasound2 (>= 1.0.16).
     skype depends on libc6 (>= 2.3.6-6~).
     skype depends on libc6 (>= 2.7).
     skype depends on libgcc1 (>= 1:4.1.1).
     skype depends on libqt4-dbus (>= 4:4.5.3).
     skype depends on libqt4-network (>= 4:4.8.0).
     skype depends on libqt4-xml (>= 4:4.5.3).
     skype depends on libqtcore4 (>= 4:4.7.0~beta1).
     skype depends on libqtgui4 (>= 4:4.8.0).
     skype depends on libqtwebkit4 (>= 2.1.0~2011week13).
     skype depends on libstdc++6 (>= 4.6).
     skype depends on libx11-6.
     skype depends on libxext6.
     skype depends on libxss1.
     skype depends on libxv1.
     skype depends on libssl1.0.0.
     skype depends on libasound2-plugins.
    
    dpkg: error processing skype (--install):
     dependency problems - leaving unconfigured
    Processing triggers for desktop-file-utils ...
    Processing triggers for hicolor-icon-theme ...
    Errors were encountered while processing:
     skype
    

    Try to fix this with apt-get -f install:

    The following packages will be REMOVED:
      skype:i386
    0 upgraded, 0 newly installed, 1 to remove and 27 not upgraded.
    1 not fully installed or removed.
    

    I tried different repos, using aptitude -f install and so on. Nothing helps. Any ideas, please? Those were quite a wasted few hours...

  • Answers
  • kK-Storm

    After I ran out of options - resolving dependencies problem with trying to install all the necessary :i386 packets turned out not to be an option - eventually apt-get suggest to remove 1104 packages and install new 20 :D - I found this particular line from https://wiki.debian.org/skype:

    Not able to install libqtwebkit4:i386

    If apt-get is not able to install libqtwebkit4:i386 as dependency, try with aptitude (If you know what are you doing)

    As you probably want the version skype-debian_2.2.0.35-1_amd64.deb ( as newer versions have problems associated with pulseaudio )

    So I went for a blind wget -O skype.deb http://download.skype.com/linux/skype-debian_2.2.0.35-1_amd64.deb && dpkg -i skype.deb and skype was installed without any dependencies problems! 2.2 is kinda old, but at least it works.


  • Related Question

    linux - Installing Mercurial on Debian using apt-get
  • Elias Zamaria

    I am trying to install Mercurial using apt-get on a web server running Debian. I would prefer to have the latest stable version of Mercurial but I would be happy with anything reasonably recent. I tried entering the command sudo apt-get install mercurial and I got the following response:

    Reading package lists... Done
    Building dependency tree... Done
    You might want to run `apt-get -f install' to correct these:
    The following packages have unmet dependencies:
      mercurial: Depends: libc6 (>= 2.4) but 2.3.6.ds1-13etch10 is to be installed
                 Depends: python (>= 2.5) but 2.4.4-2 is to be installed
                 Depends: python-support (>= 0.90.0) but 0.5.6 is to be installed
                 Depends: mercurial-common (= 1.7.5-1) but it is not going to be installed
      trac: Depends: python-genshi but it is not installable
    W: Couldn't stat source package list http://debian.newdream.net etch/main Packages (/var/lib/apt/lists/debian.newdream.net_dists_etch_main_binary-amd64_Packages) - stat (2 No such file or directory)
    W: Couldn't stat source package list http://debian.newdream.net etch/non-free Packages (/var/lib/apt/lists/debian.newdream.net_dists_etch_non-free_binary-amd64_Packages) - stat (2 No such file or directory)
    W: Couldn't stat source package list http://debian.newdream.net etch/contrib Packages (/var/lib/apt/lists/debian.newdream.net_dists_etch_contrib_binary-amd64_Packages) - stat (2 No such file or directory)
    W: Couldn't stat source package list http://www.backports.org etch-backports/main Packages (/var/lib/apt/lists/www.backports.org_debian_dists_etch-backports_main_binary-amd64_Packages) - stat (2 No such file or directory)
    W: Couldn't stat source package list http://volatile.debian.org etch/volatile/main Packages (/var/lib/apt/lists/volatile.debian.org_debian-volatile_dists_etch_volatile_main_binary-amd64_Packages) - stat (2 No such file or directory)
    W: Couldn't stat source package list http://volatile.debian.org etch/volatile/contrib Packages (/var/lib/apt/lists/volatile.debian.org_debian-volatile_dists_etch_volatile_contrib_binary-amd64_Packages) - stat (2 No such file or directory)
    W: Couldn't stat source package list http://volatile.debian.org etch/volatile/non-free Packages (/var/lib/apt/lists/volatile.debian.org_debian-volatile_dists_etch_volatile_non-free_binary-amd64_Packages) - stat (2 No such file or directory)
    W: You may want to run apt-get update to correct these problems
    E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
    

    I tried running sudo apt-get -f install and got some more stat-related errors and a suggestion to run apt-get update. (Let me know if you need to know more details)

    I tried sudo apt-get update and got several 404 errors followed by this:

    Reading package lists... Done
    W: GPG error: http://debian.di.newdream.net etch Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 8E4BD8EB613A210F
    W: Couldn't stat source package list http://debian.newdream.net etch/main Packages (/var/lib/apt/lists/debian.newdream.net_dists_etch_main_binary-amd64_Packages) - stat (2 No such file or directory)
    W: Couldn't stat source package list http://debian.newdream.net etch/non-free Packages (/var/lib/apt/lists/debian.newdream.net_dists_etch_non-free_binary-amd64_Packages) - stat (2 No such file or directory)
    W: Couldn't stat source package list http://debian.newdream.net etch/contrib Packages (/var/lib/apt/lists/debian.newdream.net_dists_etch_contrib_binary-amd64_Packages) - stat (2 No such file or directory)
    W: Couldn't stat source package list http://www.backports.org etch-backports/main Packages (/var/lib/apt/lists/www.backports.org_debian_dists_etch-backports_main_binary-amd64_Packages) - stat (2 No such file or directory)
    W: Couldn't stat source package list http://volatile.debian.org etch/volatile/main Packages (/var/lib/apt/lists/volatile.debian.org_debian-volatile_dists_etch_volatile_main_binary-amd64_Packages) - stat (2 No such file or directory)
    W: Couldn't stat source package list http://volatile.debian.org etch/volatile/contrib Packages (/var/lib/apt/lists/volatile.debian.org_debian-volatile_dists_etch_volatile_contrib_binary-amd64_Packages) - stat (2 No such file or directory)
    W: Couldn't stat source package list http://volatile.debian.org etch/volatile/non-free Packages (/var/lib/apt/lists/volatile.debian.org_debian-volatile_dists_etch_volatile_non-free_binary-amd64_Packages) - stat (2 No such file or directory)
    W: Couldn't stat source package list http://debian.newdream.net etch/main Packages (/var/lib/apt/lists/debian.newdream.net_dists_etch_main_binary-amd64_Packages) - stat (2 No such file or directory)
    W: Couldn't stat source package list http://debian.newdream.net etch/non-free Packages (/var/lib/apt/lists/debian.newdream.net_dists_etch_non-free_binary-amd64_Packages) - stat (2 No such file or directory)
    W: Couldn't stat source package list http://debian.newdream.net etch/contrib Packages (/var/lib/apt/lists/debian.newdream.net_dists_etch_contrib_binary-amd64_Packages) - stat (2 No such file or directory)
    W: Couldn't stat source package list http://www.backports.org etch-backports/main Packages (/var/lib/apt/lists/www.backports.org_debian_dists_etch-backports_main_binary-amd64_Packages) - stat (2 No such file or directory)
    W: Couldn't stat source package list http://volatile.debian.org etch/volatile/main Packages (/var/lib/apt/lists/volatile.debian.org_debian-volatile_dists_etch_volatile_main_binary-amd64_Packages) - stat (2 No such file or directory)
    W: Couldn't stat source package list http://volatile.debian.org etch/volatile/contrib Packages (/var/lib/apt/lists/volatile.debian.org_debian-volatile_dists_etch_volatile_contrib_binary-amd64_Packages) - stat (2 No such file or directory)
    W: Couldn't stat source package list http://volatile.debian.org etch/volatile/non-free Packages (/var/lib/apt/lists/volatile.debian.org_debian-volatile_dists_etch_volatile_non-free_binary-amd64_Packages) - stat (2 No such file or directory)
    W: You may want to run apt-get update to correct these problems
    E: Some index files failed to download, they have been ignored, or old ones used instead.
    

    Am I doing something wrong? How can I install Mercurial?


  • Related Answers
  • Arrowmaster

    You are running Etch which is not one but two versions out of date. Etch has been removed from all the official mirrors. Additionally backports.org has moved to backports.debian.org and volatile has been discontinued.

    If you want a recent version of mercurial without having to compile it yourself, I suggest you upgrade from etch to lenny, and then from lenny to squeeze.

    Also from what you posted I noticed this "Depends: mercurial-common (= 1.7.5-1)" and that is the version from unstable. What kind of franken-system are you running with both etch and sid mixed?

  • caliban

    If you are getting these messages while doing an 'apt-get update' then it means apt is not able to connect or pull from some of the repos in your sources.list.

    This could be caused by many things, but the most likely reason is that the repos are under maintenance and are temporarily unavailable.

    Might want to try later?