我在惠普 Compaq 笔记本电脑上使用 64 位 Ubuntu 14.04 LTS,当我尝试使用 Ubuntu 软件中心进行安装时,出现以下错误
sudo apt-get install skype
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
skype : Depends: skype-bin but it is not installable
Conflicts: skype:i386 but 4.3.0.37-1 is to be installed
skype:i386 : Depends: libc6:i386 (>= 2.3.6-6~) 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.2.1) 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: libpulse0:i386 but it is not going to be installed
Depends: libasound2-plugins:i386 but it is not going to be installed
Recommends: sni-qt:i386 but it is not going to be installed
Conflicts: skype but 4.3.0.37-0ubuntu0.12.04.1 is to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
答案1
运行以下命令:
$ sudo apt-get install -f
$ 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