我正在尝试使用以下方式安装 Skype本手册。我使用以下命令成功下载了包:
wget -O skype-install.deb http://www.skype.com/go/getskype-linux-deb-64
但是当我尝试安装该包时,我收到一些有关依赖项的错误:
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
我怎样才能解决这个问题?
答案1
当一个包失败时配置,您可以在使用后安装缺少的依赖项apt-get install -f
。以下是-f
文档中的描述:
-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.
如果在对依赖项执行配置步骤之前软件包安装失败,则需要手动安装这些软件包。这是因为包声明Pre-depends
而不是Depends
在那些包上。
答案2
依赖项是您的包需要运行的包(例如库等)。如果您通过 aptitude / apt / synaptic 安装软件包,这将检查依赖项并下载它们。
如果您下载 .deb 文件并尝试手动安装,情况可能并非如此。正如之前发布的,您需要在再次安装 Skype 之前安装所需的软件包:
铁:
aptitude install lib32stdc++6 lib32asound2 ia32-libs libc6-i386 lib32gcc1 ia32-libs-gtk
我不是 100% 确定上面的命令会起作用。如果 aptitude / apt 抱怨找不到包,您可以在存储库中搜索正确的名称:
aptitude search ia32-libs
然后,一旦安装了所有这些软件包,您就可以再次安装 Skype:
dpkg -i skype-install.deb
答案3
较旧的信息:Debian Jessie x64 KDE(当它仍处于“测试”状态时)
这些命令对我有用:
$ wget -O skype-install.deb http://www.skype.com/go/getskype-linux-deb
# dpkg --add-architecture i386
# aptitude update
# dpkg -i skype-install.deb
# aptitude install -f libc6:i386 libc6:i386 libgcc1:i386 libqt4-dbus:i386\
libqt4-network:i386 libqt4-xml:i386 libqtcore4:i386 libqtgui4:i386\
libqtwebkit4:i386 libstdc++6:i386 libx11-6:i386 libxext6:i386 libxss1:i386\
libxv1:i386 libssl1.0.0:i386 libpulse0:i386 libasound2-plugins:i386
上面的一些包是相互依赖的,所以这有点多余,但无论如何,这些都是skype-install.deb
我的系统中缺少依赖项的状态。
更新信息:Debian Jessie x64(这是“稳定的”atm)
一组更简单、更通用的命令,肯定适用于 KDE,但也适用于任何环境:
$ wget -O skype-install.deb http://www.skype.com/go/getskype-linux-deb
# dpkg --add-architecture i386
# aptitude update
# gdebi skype-install.deb
更多信息也可以在Debian 维基页面。
答案4
你不需要安装这个包,Skype是用Qt静态编译的,只需Dynamic Static
从skype的官方网站下载该包,它就会为你工作。