Ubuntu 16.04: How to resolve libqt5x11extras5 (>= 5.1.0) but it is not going to be installed

前端之家收集整理的这篇文章主要介绍了Ubuntu 16.04: How to resolve libqt5x11extras5 (>= 5.1.0) but it is not going to be installed前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。

Issue:

When you install VirtualBox 5.1 on Ubuntu 16.04,you may encounter following error:

  1. root@XIAYE-NA1:~/Downloads# apt install virtualBox-5.1
  2. Reading package lists... Done
  3. Building dependency tree
  4. Reading state information... Done
  5. virtualBox-5.1 is already the newest version (5.1.14-112924~Ubuntu~xenial).
  6. You might want to run 'apt-get -f install' to correct these:
  7. The following packages have unmet dependencies:
  8. libmagickcore-6.q16-2 : Depends: imagemagick-common (= 8:6.8.9.9-7ubuntu5.1) but 8:6.8.9.9-7ubuntu5 is to be installed
  9. libmagickwand-6.q16-2 : Depends: imagemagick-common (= 8:6.8.9.9-7ubuntu5.1) but 8:6.8.9.9-7ubuntu5 is to be installed
  10. virtualBox-5.1 : Depends: libqt5x11extras5 (>= 5.1.0) but it is not going to be installed
  11. Depends: libsdl1.2debian (>= 1.2.11) but it is not going to be installed
  12. Recommends: libsdl-ttf2.0-0 but it is not going to be installed
  13. E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution)

Solution:
  1. wget http://mirrors.kernel.org/ubuntu/pool/universe/q/qtx11extras-opensource-src/libqt5x11extras5_5.5.1-3build1_amd64.deb
  2. dpkg -i libqt5x11extras5_5.5.1-3build1_amd64.deb
  3. wget http://mirrors.kernel.org/ubuntu/pool/main/libs/libsdl1.2/libsdl1.2debian_1.2.15+dfsg1-3_amd64.deb
  4. dpkg -i libsdl1.2debian_1.2.15+dfsg1-3_amd64.deb
  5. dpkg -i virtualBox-5.1_5.1.14-112924~Ubuntu~xenial_amd64.deb

猜你在找的Ubuntu相关文章