请仔细阅读,然后再将其标记为重复,我花了很多时间寻找此问题的解决方案,在这里和谷歌搜索,也在 XUbuntu irc 频道上,但我找不到修复程序。
我在 XUbuntu 13.10 64 位上(现在升级到 14.04),这是我的 /etc/apt/sources.list(sources.list.d 为空):
## See sources.list(5) for more information, especialy
# Remember that you can only use http, ftp or file URIs
deb http://archive.ubuntu.com/ubuntu saucy universe main restricted multiverse
deb http://archive.canonical.com/ubuntu/ saucy partner
# deb-src http://archive.canonical.com/ubuntu/ saucy partner
# CDROMs are managed through the apt-cdrom tool.
我当然是这么做的:
sudo dpkg --add-architecture i386
sudo apt-get update
sudo apt-get update
我跑完之后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 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: 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: 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
E: Unable to correct problems, you have held broken packages.
我不仅想安装Skype但我在其他程序中也遇到过同样的问题,例如团队查看器我想确切地知道发生了什么以及如何解决它。
编辑:我找到了 apt-get 的 Debug 参数,希望这能对问题有所帮助
sudo apt-get -o Debug::pkgProblemResolver=yes install skype-bin
Reading package lists... Done
Building dependency tree
Reading state information... Done
Starting pkgProblemResolver with broken count: 18
Starting 2 pkgProblemResolver with broken count: 18
Investigating (0) libgdk-pixbuf2.0-0 [ amd64 ] < 2.30.7-0ubuntu1 > ( libs )
Broken libgdk-pixbuf2.0-0:amd64 Depends on libtiff5 [ amd64 ] < 4.0.3-8 > ( libs ) (>= 4.0.3)
Considering libtiff5:amd64 0 as a solution to libgdk-pixbuf2.0-0:amd64 133
Added libtiff5:amd64 to the remove list
Fixing libgdk-pixbuf2.0-0:amd64 via keep of libtiff5:amd64
Investigating (0) libtiff5 [ amd64 ] < 4.0.3-8 > ( libs )
Broken libtiff5:amd64 Breaks on libtiff5 [ i386 ] < none -> 4.0.3-7ubuntu0.1 > ( libs ) (!= 4.0.3-8)
Considering libtiff5:i386 -1 as a solution to libtiff5:amd64 0
Added libtiff5:i386 to the remove list
Conflicts//Breaks against version 4.0.3-7 for libtiff5 but that is not InstVer, ignoring
Fixing libtiff5:amd64 via keep of libtiff5:i386
Investigating (0) libqtwebkit4 [ i386 ] < none -> 2.3.2-0ubuntu7 > ( libs )
Broken libqtwebkit4:i386 Depends on libfontconfig1 [ i386 ] < none -> 2.11.0-0ubuntu4 > ( libs ) (>= 2.9.0)
Considering libfontconfig1:i386 0 as a solution to libqtwebkit4:i386 -1
Holding Back libqtwebkit4:i386 rather than change libfontconfig1:i386
Investigating (0) libqtgui4 [ i386 ] < none -> 4:4.8.5+git192-g085f851+dfsg-2ubuntu4 > ( libs )
Broken libqtgui4:i386 Depends on libfontconfig1 [ i386 ] < none -> 2.11.0-0ubuntu4 > ( libs ) (>= 2.9.0)
Considering libfontconfig1:i386 0 as a solution to libqtgui4:i386 -1
Holding Back libqtgui4:i386 rather than change libfontconfig1:i386
Investigating (0) libqt4-declarative [ i386 ] < none -> 4:4.8.5+git192-g085f851+dfsg-2ubuntu4 > ( libs )
Broken libqt4-declarative:i386 Depends on libqtgui4 [ i386 ] < none -> 4:4.8.5+git192-g085f851+dfsg-2ubuntu4 > ( libs ) (= 4:4.8.5+git192-g085f851+dfsg-2ubuntu4)
Considering libqtgui4:i386 -1 as a solution to libqt4-declarative:i386 -1
Holding Back libqt4-declarative:i386 rather than change libqtgui4:i386
Investigating (1) skype-bin [ i386 ] < none -> 4.2.0.11-0ubuntu0.12.04.2 > ( net )
Broken skype-bin:i386 Depends on libqtgui4 [ i386 ] < none -> 4:4.8.5+git192-g085f851+dfsg-2ubuntu4 > ( libs ) (>= 4:4.8.0)
Considering libqtgui4:i386 -1 as a solution to skype-bin:i386 9998
Reinst Failed early because of fontconfig-config:i386
Reinst Failed because of libfontconfig1:i386
Broken skype-bin:i386 Depends on libqtwebkit4 [ i386 ] < none -> 2.3.2-0ubuntu7 > ( libs ) (>= 2.2~2011week36)
Considering libqtwebkit4:i386 -1 as a solution to skype-bin:i386 9998
Reinst Failed because of libfontconfig1:i386
Considering libqtwebkit4:i386 -1 as a solution to skype-bin:i386 9998
Investigating (1) sni-qt [ i386 ] < none -> 0.2.6-0ubuntu1 > ( x11 )
Broken sni-qt:i386 Depends on libqtgui4 [ i386 ] < none -> 4:4.8.5+git192-g085f851+dfsg-2ubuntu4 > ( libs ) (>= 4:4.7.3)
Considering libqtgui4:i386 -1 as a solution to sni-qt:i386 0
Holding Back sni-qt:i386 rather than change libqtgui4:i386
Investigating (1) libqt4-opengl [ i386 ] < none -> 4:4.8.5+git192-g085f851+dfsg-2ubuntu4 > ( libs )
Broken libqt4-opengl:i386 Depends on libqtgui4 [ i386 ] < none -> 4:4.8.5+git192-g085f851+dfsg-2ubuntu4 > ( libs ) (= 4:4.8.5+git192-g085f851+dfsg-2ubuntu4)
Considering libqtgui4:i386 -1 as a solution to libqt4-opengl:i386 -1
Holding Back libqt4-opengl:i386 rather than change libqtgui4:i386
Investigating (1) libdbusmenu-qt2 [ i386 ] < none -> 0.9.3+14.04.20140314-0ubuntu1 > ( libs )
Broken libdbusmenu-qt2:i386 Depends on libqtgui4 [ i386 ] < none -> 4:4.8.5+git192-g085f851+dfsg-2ubuntu4 > ( libs ) (>= 4:4.7.0~beta2)
Considering libqtgui4:i386 -1 as a solution to libdbusmenu-qt2:i386 -1
Holding Back libdbusmenu-qt2:i386 rather than change libqtgui4:i386
Investigating (2) skype-bin [ i386 ] < none -> 4.2.0.11-0ubuntu0.12.04.2 > ( net )
Broken skype-bin:i386 Depends on libqtgui4 [ i386 ] < none -> 4:4.8.5+git192-g085f851+dfsg-2ubuntu4 > ( libs ) (>= 4:4.8.0)
Considering libqtgui4:i386 -1 as a solution to skype-bin:i386 9998
Broken skype-bin:i386 Depends on libqtwebkit4 [ i386 ] < none -> 2.3.2-0ubuntu7 > ( libs ) (>= 2.2~2011week36)
Considering libqtwebkit4:i386 -1 as a solution to skype-bin:i386 9998
Considering libqtwebkit4:i386 -1 as a solution to skype-bin:i386 9998
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: 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.
答案1
答案就在这个页面中,我测试过并且有效: http://www.sysads.co.uk/2014/04/install-latest-skype-ubuntu/