在Ubuntu 12.04 LTS 64位上安装Skype


18

自几周前以来,我一直试图在计算机上安装Skype。我以为这将是一个直截了当的任务,但它正成为一场噩梦。

到目前为止我尝试过的是:

使用apt从命令行安装

最简单且最有可能尝试的人: 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 intall skype-bin得到:

 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: 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
    Recommends: sni-qt:i386 but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

那之后,我试图用类似的命令sudo apt-get cleansudo apt-get updatesudo apt-get autoclean并且sudo apt-get -f install,除其他外,为了解决与包依赖任何问题,但它是完全失败的。

我已经按照此处说明的说明进行操作(如何安装Skype?),但是它也不起作用。


从软件中心安装

如果我尝试从Software Center安装,则会收到与sudo apt-get install skype从终端运行完全相同的错误。


使用Ubuntu Tweak安装

也失败,我得到以下错误:

skype:取决于:skype-bin,但这是一个虚拟软件包。


使用Synaptic安装

我也遵循此处描述的说明:

community.skype.com/t5/Linux/无法安装到未满足的依赖关系-Skype-bin / mp / 1339650 / highlight / true#M3329

大部分相同,也不起作用。


安装官方Skype .deb

http://www.skype.com/zh-cn/download-skype/skype-for-linux/downloading/?type=ubuntu64下载skype-ubuntu-precise_4.1.0.20-1_i386.deb之后,我尝试安装它软件中心,但显示以下错误:

无法安装'lbqt4-dbus:i386'


试图修复apt

我已尝试通过遵循这篇文章(添加PPA后如何解决未满足的依赖关系?)来解决软件包的任何可能问题,但是没有用。


遵循Ubuntu帮助说明

如果我尝试按照https://help.ubuntu.com/community/Skype中说明的说明运行sudo dpkg --add-architecture i386,则在运行时会遇到问题:

dpkg:错误:未知选项--add-architecture


我还通过遵循我发现的其他帖子和解决方案尝试了其他方法,但这些方法对我没有用。在这一点上我已经完全迷失了,我不知道还能做什么。我希望有人能提出任何解决方案。

这是我的sources.list的内容,以防万一:

# deb cdrom:[Ubuntu 12.04.2 LTS _Precise Pangolin_ - Release amd64 (20130213)]/ dists/precise/main/binary-i386/

# deb cdrom:[Ubuntu 12.04.2 LTS _Precise Pangolin_ - Release amd64 (20130213)]/ dists/precise/restricted/binary-i386/
# deb cdrom:[Ubuntu 12.04.2 LTS _Precise Pangolin_ - Release amd64 (20130213)]/ precise main restricted

# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://archive.ubuntu.com/ubuntu precise main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://archive.ubuntu.com/ubuntu precise-updates main restricted

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb http://archive.ubuntu.com/ubuntu precise universe
deb http://archive.ubuntu.com/ubuntu precise-updates universe

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu 
## team, and may not be under a free licence. Please satisfy yourself as to 
## your rights to use the software. Also, please note that software in 
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://archive.ubuntu.com/ubuntu precise multiverse
deb http://archive.ubuntu.com/ubuntu precise-updates multiverse

## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.

deb http://archive.ubuntu.com/ubuntu precise-security main restricted
deb http://archive.ubuntu.com/ubuntu precise-security universe
deb http://archive.ubuntu.com/ubuntu precise-security multiverse

## Uncomment the following two lines to add software from Canonical's
## 'partner' repository.
## This software is not part of Ubuntu, but is offered by Canonical and the
## respective vendors as a service to Ubuntu users.
deb http://archive.canonical.com/ubuntu precise partner
deb-src http://archive.canonical.com/ubuntu precise partner

## This software is not part of Ubuntu, but is offered by third-party
## developers who want to ship their latest software.
# deb http://extras.ubuntu.com/ubuntu precise main
# deb-src http://extras.ubuntu.com/ubuntu precise main
deb http://archive.canonical.com/ precise partner
deb-src http://archive.canonical.com/ precise partner

当执行第三步时,它报告错误:$ sudo apt-get install skype读取软件包列表...完成构建依赖关系树读取状态信息...完成某些软件包无法安装。这可能意味着您请求了一种不可能的情况,或者如果您使用的不稳定发行版中尚未创建某些必需的软件包或将其从“传入”中移出。以下信息可能有助于解决这种情况:下列软件包的依赖关系未满足:skype:依赖:skype-bin E:无法纠正问题,您拿着损坏的软件包。

安装Ubuntu 12.04之后,如果尝试立即安装Skype,则可能由于依赖Skype-bin而失败。简单的方法是通过“更新管理器”更新系统,然后可以通过“软件中心”成功安装Skype。祝好运。


它不是重复的,尽管两个问题的标题都相似,但所描述的问题无关。此外,我的问题表明需要进行大量研究,而其他方面则没有。
亚历杭德罗·加西亚·塞科

Answers:


13

Gx1sptDTDa和AlejandroGarcíaSeco的组合非常适合我。

  1. 打开终端(Ctrl+ Alt+ T)。
  2. 复制并粘贴到终端:

    sudo apt-get install libqt4-dbus:i386 libqt4-network:i386 libqt4-xml:i386 libqtcore4:i386 libqtgui4:i386 libqtwebkit4:i386 sni-qt:i386
    

    Enter

  3. 然后通过粘贴以下内容来安装Skype:

    sudo apt-get install skype
    

Skype 4.2在新的Ubuntu 12.04 LTE 64位上运行。


4
在Ubuntu 13.10中找不到Skype软件包
slier 2013年

在第2步之后,下载Debian版本并将其作为任何其他软件包安装。
Elijah Goforth 2014年

7

>>对于32Bit

终端命令:

wget  http://download.skype.com/linux/skype-ubuntu-lucid_4.2.0.11-1_i386.deb
sudo dpkg -i skype-ubuntu-lucid_4.2.0.11-1_i386.deb
sudo apt-get -f install;rm skype-ubuntu-lucid_4.2.0.11-1_i386.deb

>>对于64Bit

终端命令:

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

一切都在终端上进行了sudo apt-get install sni-qt:i386; 这将恢复Skype联系人窗口

仅此而已,最多只需5分钟即可完成工作。我在64位上使用Ubuntu,并且这种安装Skype的方法始终运行完美。


+1给予好评-我发现这工作(64位12.04 Ubuntu的-我想ROBI的回答第一个(也是apt-get install skype无我套餐发现,所以我那么做了来自Dave这个答案),所以我的步骤是在实际工作ROBI的和戴夫的回答的组合。
therobyouknow

我应该补充一点,我无法执行Dave步骤的第1步sudo dpkg --add-architecture i386-我得到了:dpkg: error: unknown option --add-architecture但是我可以继续进行Dave的所有其他步骤(除了最后一步(sudo apt-get install skype-Robi的答案中没有打包Skype包),Dave已经完成了所有其他步骤)。尽管我不一定认为Robi的答案是Dave的前提条件-但这并不是我要通过提供专门针对我的确切步骤来提供帮助的目的。
therobyouknow

3

好的,我已经找到解决问题的方法。我已按照此处描述的步骤操作:http : //rumytaulu.wordpress.com/2012/10/26/cant-install-ia32-libs-and-ia32-libs-multiarch-how-to-fix-it/

在那之后,我干脆就跑了sudo apt-get install skype……瞧,它起作用了!

我必须说我有负面后果。sudo apt-get dist-upgrade按照第三步所述运行后,如果运行,将得到以下信息sudo apt-get autoremove

Reading package lists... Done
Building dependency tree       
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
2 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up grub-efi-amd64 (1.99-21ubuntu3.9) ...
/var/lib/dpkg/info/grub-efi-amd64.postinst: line 684: grub-install: command not found
dpkg: error processing grub-efi-amd64 (--configure):
 subprocess installed post-installation script returned error exit status 127
dpkg: dependency problems prevent configuration of grub-efi-amd64-signed:
 grub-efi-amd64-signed depends on grub-efi-amd64 (>= 1.99-21ubuntu3.5); however:
  Package grub-efi-amd64 is not configured yet.
dpkg: error processing grub-efi-amd64-signed (--configure):
 dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.
                          Errors were encountered while processing:
 grub-efi-amd64
 grub-efi-amd64-signed
E: Sub-process /usr/bin/dpkg returned an error code (1)

幸运的是,一切正常,但是现在我想用Grub软件包解决该问题,特别是因为它与Grub有关,这非常重要。我只是想知道我是否还能在启动计算机时发现其他意外问题...

好吧,如果我设法解决这种不良后果,我将更新此答案。如果有人知道该怎么做,请告诉我。

更新:

我设法通过GRUB软件包解决了该问题,在此描述了该问题和解决方案:无法修复损坏的软件包系统


2

对于我来说,在32位Ubuntu 12.04 LTS上安装Skype实在让我感到非常痛苦。我尝试了这里列出的大多数操作,但是只能通过Ubuntu Tweak的Apps部分正确安装。


好的,我还没有尝试过。我会尝试的,让您知道。谢谢。
AlejandroGarcíaSeco

我本来建议使用Ubuntu Tweak,但MorganSBailey击败了我。非常值得一试,再加上它的软件一块神奇该做各种各样比如让你安装的应用程序,去除多余的内容,如旧内核条目等
scouser73

我已经安装了Ubuntu Tweak,并且通过它进行的Skype安装也失败了:S感谢您的建议,无论如何,它看起来是一款很棒的实用应用程序。
AlejandroGarcíaSeco

我已经更新了有关我使用Ubuntu Tweaks的经验的问题。
AlejandroGarcíaSeco

0

我发现了一种非常简单的方法。只需在终端中运行以下命令:

sudo apt-get install libqt4-dbus:i386 libqt4-network:i386 libqt4-xml:i386 libqtcore4:i386 libqtgui4:i386 libqtwebkit4:i386 sni-qt:i386

wget http://download.skype.com/linux/skype-debian_4.2.0.13-1_i386.deb

sudo dpkg -i skype-debian_4.2.0.13-1_i386.deb

第一个下载依赖项,第二个下载.deb包,然后最后一个安装。简单!

By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.