Debian
在 Debian x64 上安裝 Skype:pkg:依賴問題阻止了 Skype 的配置
我正在嘗試使用本手冊安裝 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
我怎樣才能解決這個問題?
當一個包配置失敗時,你可以在事後使用
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
那些包。