以下是我尝试过的:
$ 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,就可以从 Live CD 重现此问题。
答案1
从源代码安装
首先,按照以下文章中列出的所有说明来摆脱未满足的依赖关系:
然后按照此处指定的方式安装 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
在 32 位或 64 位的 Ubuntu 12.04+ 中从 .deb 文件安装
- 下载Skype 的Ubuntu 32 位 Precise i386。
- 下载完成后,从 Nautilus 正常打开下载的文件。
- 出现提示时,选择使用 Ubuntu 软件中心打开(默认)。
- 在打开的 Ubuntu 软件中心窗口右侧,选择安装。
如果第 4 步不起作用,请从终端尝试:
sudo dpkg --force-depends -i skype-ubuntu-precise_4.2.0.11-1_i386.deb
请注意,第 5 步并不理想,但我几乎确信它会起作用。
来源:Linux 版 Skype 入门。
答案2
老实说,我认为有一个比所有其他答案都更简单的解决方案。
如果我没记错的话,我是在 13.04 64 位上安装 skype 的,方法是转到下载页面skype.com,并选择 Ubuntu 12.04。然后你用软件中心打开它,它会帮你处理一切。
我认为这值得一试。如果不行,请发表评论,我会删除答案。
答案3
据我从帖子、答案和评论(还有链接/要点)中了解到,您犯了拼写错误,并且有多个来源有重复的条目。
- 首先,由于您在添加架构时输入了错误,请使用以下命令进行更正:
sudo dpkg --remove-architecture i38
- 要删除重复的条目,请检查以下答案:我如何删除这个重复的 sources.list 条目?
- 现在,打开“软件和更新”,转到“其他软件”选项卡,取消选中所有您不想使用的软件。接下来,运行
sudo apt-get update
-
首先,按照以下文章中列出的所有说明来摆脱未满足的依赖关系:
- 添加 PPA 后如何解决未满足的依赖关系? 对于没有 64 位版本的未满足的依赖项,请通过在“Ubuntu 软件中心”中搜索该软件包名称来安装 i386(32 位)。
然后按照此处指定的方式安装 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
提示:复制粘贴命令。
答案4
您应该使用这些命令
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
如果这些都不起作用,你可以尝试从官方获取 Skype.deb
并从那里安装
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