当前位置:   article > 正文

解决 The following packages have unmet dependencies: 问题_the follow packages have unmet deendencies

the follow packages have unmet deendencies
  1. The following packages have unmet dependencies:
  2. libvtk5-dev : Depends: libfreetype6-dev but it is not going to be installed
  3. Depends: libnetcdf-dev but it is not going to be installed
  4. Depends: libtiff-dev
  5. Depends: libxft-dev but it is not going to be installed
  6. Depends: libxml2-dev but it is not going to be installed
  7. Depends: tk-dev but it is not going to be installed
  8. E: Unable to correct problems, you have held broken packages.
  9. ~$ sudo apt-get install libfreetype6-dev
  10. Reading package lists... Done
  11. Building dependency tree
  12. Reading state information... Done
  13. Some packages could not be installed. This may mean that you have
  14. requested an impossible situation or if you are using the unstable
  15. distribution that some required packages have not yet been created
  16. or been moved out of Incoming.
  17. The following information may help to resolve the situation:
  18. The following packages have unmet dependencies:
  19. libfreetype6-dev : Depends: libfreetype6 (= 2.6.1-0.1ubuntu2) but 2.6.1-0.1ubuntu2.3 is to be installed
  20. E: Unable to correct problems, you have held broken packages.
  21. $ sudo apt-get install libfreetype6=2.6.1-0.1ubuntu2
  22. Reading package lists... Done
  23. Building dependency tree
  24. Reading state information... Done
  25. The following packages will be DOWNGRADED:
  26. libfreetype6
  27. 0 upgraded, 0 newly installed, 1 downgraded, 0 to remove and 2 not upgraded.
  28. Need to get 316 kB of archives.
  29. After this operation, 0 B of additional disk space will be used.
  30. Do you want to continue? [Y/n] y
  31. Get:1 http://archive.ubuntu.com/ubuntu xenial/main amd64 libfreetype6 amd64 2.6.1-0.1ubuntu2 [316 kB]
  32. Fetched 316 kB in 2s (119 kB/s)
  33. dpkg: warning: downgrading libfreetype6:amd64 from 2.6.1-0.1ubuntu2.3 to 2.6.1-0.1ubuntu2
  34. (Reading database ... 311069 files and directories currently installed.)
  35. Preparing to unpack .../libfreetype6_2.6.1-0.1ubuntu2_amd64.deb ...
  36. Unpacking libfreetype6:amd64 (2.6.1-0.1ubuntu2) over (2.6.1-0.1ubuntu2.3) ...
  37. Processing triggers for libc-bin (2.23-0ubuntu11) ...
  38. Setting up libfreetype6:amd64 (2.6.1-0.1ubuntu2) ...
  39. Processing triggers for libc-bin (2.23-0ubuntu11) ...

 

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/爱喝兽奶帝天荒/article/detail/1000271
推荐阅读
相关标签
  

闽ICP备14008679号