在64位Ubuntu 13.04上安装Skype

这是我尝试过的:

$ sudo apt-get install skype [sudo] password for umpirsky: 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-bin 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-bin:i386 : Depends: libasound2:i386 (>= 1.0.23) but it is not going to be installed Depends: libc6:i386 (>= 2.7) but it is not going to be installed Depends: libgcc1:i386 (>= 1:4.1.1) but it is not going to be installed Depends: libqt4-dbus:i386 (>= 4:4.5.3) but it is not going to be installed Depends: libqt4-network:i386 (>= 4:4.8.0) but it is not going to be installed Depends: libqt4-xml:i386 (>= 4:4.5.3) but it is not going to be installed Depends: libqtcore4:i386 (>= 4:4.7.0~beta1) but it is not going to be installed Depends: libqtgui4:i386 (>= 4:4.8.0) but it is not going to be installed Depends: libqtwebkit4:i386 (>= 2.2~2011week36) but it is not going to be installed Depends: libstdc++6:i386 (>= 4.6) but it is not going to be installed Depends: libx11-6:i386 but it is not going to be installed Depends: libxext6:i386 but it is not going to be installed Depends: libxss1:i386 but it is not going to be installed Depends: libxv1:i386 but it is not going to be installed Depends: libssl1.0.0:i386 but it is not going to be installed Depends: libgl1-mesa-glx:i386 but it is not going to be installed Recommends: sni-qt:i386 but it is not going to be installed Recommends: libasound2-plugins:i386 but it is not going to be installed E: Unable to correct problems, you have held broken packages. 

我也尝试过无法在64位Ubuntu上安装Skype的所有建议,但它们都没有为我工作。

我的资料清单:

 $ cat /etc/apt/souces.list /etc/apt/sources.list.d/*.list cat: /etc/apt/souces.list: No such file or directory deb http://downloads.hipchat.com/linux/apt stable main deb https://private-ppa.launchpad.net/commercial-ppa-uploaders/screencloud/ubuntu raring main #Added by software-center; credentials stored in /etc/apt/auth.conf deb https://private-ppa.launchpad.net/commercial-ppa-uploaders/splashtop-streamer/ubuntu raring main #Added by software-center; credentials stored in /etc/apt/auth.conf deb https://private-ppa.launchpad.net/commercial-ppa-uploaders/vkaudiosaver/ubuntu raring main #Added by software-center; credentials stored in /etc/apt/auth.conf deb http://ppa.launchpad.net/upubuntu-com/chat/ubuntu quantal main # deb-src http://ppa.launchpad.net/upubuntu-com/chat/ubuntu raring main 

请帮忙。

更新:

我试图安装teamviewer并得到类似的错误:

在此处输入图像描述

更新:

我刚安装了新的Ubuntu 13.04并得到了同样的错误。

更新:

我安装了Skype:

sudo dpkg --force-depends -i skype-ubuntu-precise_4.2.0.11-1_i386.deb

但无法运行它:

 $ ll /usr/bin | grep skype -rwxr-xr-x 1 root root 30701056 мај 7 01:42 skype* $ /usr/bin/skype bash: /usr/bin/skype: No such file or directory 

更新:

我可以在不安装Ubuntu的情况下重现这一点。

从源安装

首先,按照以下post中列出的所有说明来摆脱未满足的依赖项:

  • 如何在添加PPA后解决未满足的依赖关系?

然后按照此处指定的方式安装Skype:

  • 无法在64位Ubuntu上安装Skype

换句话说,这是在Ubuntu 64位上安装Skype的正确方法:

 sudo dpkg --add-architecture i386 sudo add-apt-repository "deb http://archive.canonical.com/ $(lsb_release -sc) partner" sudo apt-get update sudo apt-get install skype 

从Ubuntu 12.04+中的.deb文件以32或64位安装

  1. 下载 Skype for Ubuntu 32位精确i386
  2. 下载完成后,从Nautilus正常打开下载的文件。
  3. 出现提示时,选择“ 使用Ubuntu软件中心打开” (默认)。
  4. 在打开的Ubuntu软件中心窗口的右侧,选择“ 安装”
  5. 如果第4步不起作用,请尝试终端:

     sudo dpkg --force-depends -i skype-ubuntu-precise_4.2.0.11-1_i386.deb 

    请注意,此步骤5并不理想,但我几乎可以肯定这将起作用。

来源 : Skype for Linux入门 。

老实说,我认为有一种解决方案比其他所有答案都容易。

如果我没记错的话,我通过访问skype.com的下载页面并选择Ubuntu 12.04,在13.04 64位上安装了skype。 然后你用软件中心打开它,它会为你处理事情。

我认为值得一试。 如果它不起作用,请留下评论,我将删除答案。

正如我从post,答案和评论(链接/要点)中可以理解的那样,你已经犯了错别字,并且有多个来源有重复的条目。

  1. 首先,当您在添加体系结构时输入拼写错误时,请使用以下sudo dpkg --remove-architecture i38更正: sudo dpkg --remove-architecture i38
  2. 要删除重复的条目,请检查以下答案: 如何删除此重复的sources.list条目?
  3. 现在,打开“软件和更新”,转到“其他软件”选项卡,取消选中您不想使用的所有内容。 接下来,运行sudo apt-get update
  4. 最后,使用Radu给出的答案 :

    首先,按照以下post中列出的所有说明来摆脱未满足的依赖项:

    • 如何在添加PPA后解决未满足的依赖关系? 对于没有64位版本的未满足的依赖项,通过在“Ubuntu软件中心”中搜索该软件包名称来安装i386(32位)。

    然后按照此处指定的方式安装Skype:

    • 无法在64位Ubuntu上安装Skype

    换句话说,这是在Ubuntu 64位上安装Skype的正确方法:

     sudo dpkg --add-architecture i386 sudo add-apt-repository "deb http://archive.canonical.com/ $(lsb_release -sc) partner" sudo apt-get update sudo apt-get install skype 

提示:复制粘贴命令。

要安装Skype,没有什么比这更容易了:

 sudo rename -n 's/\.list$/.list.disable/g' /etc/apt/sources.list.d/*.list sudo add-apt-repository "deb http://archive.canonical.com/ $(lsb_release -sc) partner" sudo apt-get update sudo apt-get install aptitude sudo aptitude full-upgrade sudo aptitude install skype 

您应该使用这些命令

 sudo dpkg --add-architecture i386 # only needed for 64-bit systems sudo add-apt-repository "deb http://archive.canonical.com/ $(lsb_release -sc) partner" sudo apt-get update sudo apt-get install ia32-libs sudo apt-get install skype skype-bin sni-qt:i386 

如果可行,您可以使用Skype,否则请尝试以下命令

 sudo apt-get -f install 

如果这些都不起作用,您可以尝试从官方.deb获取Skype并从中安装

 wget http://download.skype.com/linux/skype-ubuntu-precise_4.2.0.11-1_i386.deb sudo dpkg -i skype-ubuntu-precise_4.2.0.11-1_i386.deb 

更新:

试试这些命令:

 sudo apt-get clean sudo apt-get autoclean sudo apt-get -f install 

然后从sudo apt-get install ia32-libs开始重试上面的命令

请访问http://repogen.simplylinux.ch/并生成源列表。 编辑源列表。

 nano /etc/apt/sources.list 

在更新并升级您的系统之后。

 sudo apt-get clean && sudo apt-get update && sudo apt-get upgrade 

现在尝试安装Skype。

我去了skype.com并下载了ubuntu 12.04版本,然后它打开了软件商店,并要求我安装一个附加function,使其在我的电脑上工作,现在工作正常。 我会试试。

此方法将自动检测OS体系结构并安装最新的skype:

 sudo add-apt-repository "deb http://archive.canonical.com/ $(lsb_release -sc) partner" sudo apt-get update sudo apt-get install skype && sudo apt-get -f install 

注意:如果您需要安装libqt4-webkit,我使用了Synaptic

试试这个:

 sudo dpkg --add-architecture i386 sudo apt-get install ia32-libs sudo apt-get update wget -O skype.deb http://download.skype.com/linux/skype-ubuntu-precise_4.2.0.11-1_i386.deb sudo dpkg -i skype.deb sudo apt-get -f install 

编辑2:

试试这个。 只需按键盘上的Ctrl + Alt + T即可打开终端。 打开时,运行以下命令:

 sudo apt-get install lib32stdc++6 lib32asound2 ia32-libs libc6-i386 lib32gcc1 

然后下载 Skype for Ubuntu 32位精确i386。 选择打开Ubuntu软件中心,打开后单击“安装”。

来自Nooslab的部分信息

我只是在黑暗中拍摄,但是,从下面的屏幕截图:

http://ubuntu.miximages.com/apt/8366ca7d55ab0f215f4a614433eadfc1.png

尝试访问“Ubuntu软件中心”并输入搜索“libasound2:i386”。

我做了并得到了这个结果:

 Shared library for ALSA applications libasound2:i386 

链接到屏幕截图 – http://ubuntu.miximages.com/apt/removed.png

检查它们是否已安装。 如果没有,请先尝试安装,然后再安装Skype …

希望它有效,祝你好运!

@umpirsky正如你在屏幕截图中所说,libasound2:i386依赖于libc6文件,所以请到Ubuntu软件中心并输入libc6并尝试先安装它。 如果它不起作用,那么检查libc6是否依赖于某个文件并尝试安装那个然后从那里开始工作…

它在错误中指出: "Further more there could be a conflict between software packages which are not allowed to be installed at the same time" 。 这可能是您遇到的问题,因此您可能需要单独安装它们。

“编辑”

正如“Saurav Kumar”中提到的那样只需安装“ Synaptic ”并通过列表一次添加和安装一个列表……

希望这有帮助,祝你好运umpirsky ……

看起来最近的一些Ubuntu更新解决了这个问题。

我今天尝试安装它很顺利https://gist.github.com/umpirsky/2f465f067d7c7d050fa6 。

谢谢所有试图帮助的人!

您使用“主服务器”作为您的dist服务器吗?

我有同样的问题,我设法通过将我的dist服务器从本地服务器更改为“系统设置”>“软件和更新”中的“主服务器”来解决

遗憾的是,我找不到一个命令行来轻松更改dist服务器,但您可以随时编辑/etc/apt/sources.list并更改服务器。

希望有所帮助。

我遇到同样的问题,并努力通过apt-get或aptitude安装libqtwebkit,dkpg也不是gedi

这是我如何解决我的依赖问题:

 wget http://th.archive.ubuntu.com/ubuntu/pool/main/g/gst-plugins-base0.10/libgstreamer-plugins-base0.10-0_0.10.36-1_i386.deb dpkg -i libgstreamer0.10-0_0.10.36-1ubuntu1_i386.deb wget http://th.archive.ubuntu.com/ubuntu/pool/main/g/gst-plugins-base0.10/libgstreamer-plugins-base0.10-0_0.10.36-1_i386.deb dpkg -i libgstreamer-plugins-base0.10-0_0.10.36-1_i386.deb.1 wget http://th.archive.ubuntu.com/ubuntu/pool/main/q/qtwebkit-source/libqtwebkit4_2.2.1-1ubuntu4_i386.deb dkpg -i libqtwebkit4_2.2.1-1ubuntu4_i386.deb wget download.skype.com/linux/skype-ubuntu-precise_4.3.0.37-1_i386.deb dpkg -i skype-ubuntu-precise_4.3.0.37-1_i386.deb 
  1. 为了让Skype在Ubuntu 13.04 Raring Ringtail中使用专有的Nvidia / AMD驱动程序,首先我们将Skype可执行文件从“skype”重命名为“skype-bin”:

     sudo mv /usr/bin/skype /usr/bin/skype-bin 
  2. 现在让我们在/ usr / bin /下创建一个名为“skype”的文件 – 为此我们将以root身份启动文本编辑器(我将在下面的说明中使用Gedit):

     gksu gksu gedit /usr/bin/skype 

(我在上面的命令中使用了两次“gksu”,因此Gedit不会打开空白选项卡和/ usr / bin / skype)

在此文件中,粘贴以下内容:

 #!/bin/sh export LD_PRELOAD=/usr/lib/i386-linux-gnu/mesa/libGL.so.1 exec skype-bin "$@" 

然后保存文件。

最后,在终端中运行以下命令:

 sudo chmod 0755 /usr/bin/skype 

而已。 现在Skype应该在Ubuntu 13.04 Raring Ringtail中运行。

如果要还原使用上述说明所做的更改,请使用以下命令:

 sudo rm /usr/bin/skype sudo mv /usr/bin/skype-bin /usr/bin/skype 

来源

  • 修复Skype无法在Ubuntu 13.04 Raring Ringtail工作[对于拥有专有Nvidia或AMD驱动程序的用户] ~Web Upd8:Ubuntu / Linux blog