lamiastella

libopencv-highgui2.4v5 : Depends: libpng12-0 (>= 1.2.13-4) but it is not going to be installed

Jan 26th, 2021 (edited)
151
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.74 KB | None | 0 0
  1. (vision) mona@goku:~/research/code/vision/integration$ sudo apt-get install libopencv-dev python-opencv
  2. Reading package lists... Done
  3. Building dependency tree
  4. Reading state information... Done
  5. libopencv-dev is already the newest version (4.2.0+dfsg-5).
  6. python-opencv is already the newest version (2.4.9.1+dfsg-1.5ubuntu1).
  7. You might want to run 'apt --fix-broken install' to correct these.
  8. The following packages have unmet dependencies:
  9. libopencv-highgui2.4v5 : Depends: libpng12-0 (>= 1.2.13-4) but it is not going to be installed
  10. E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
  11. (vision) mona@goku:~/research/code/vision/integration$ sudo apt-get --fix-broken install libopencv-dev python-opencv
  12. Reading package lists... Done
  13. Building dependency tree
  14. Reading state information... Done
  15. libopencv-dev is already the newest version (4.2.0+dfsg-5).
  16. python-opencv is already the newest version (2.4.9.1+dfsg-1.5ubuntu1).
  17. You might want to run 'apt --fix-broken install' to correct these.
  18. The following packages have unmet dependencies:
  19. libopencv-highgui2.4v5 : Depends: libpng12-0 (>= 1.2.13-4) but it is not going to be installed
  20. E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
  21. (vision) mona@goku:~/research/code/vision/integration$ sudo apt-get --fix-broken install libpng12-0
  22. Reading package lists... Done
  23. Building dependency tree
  24. Reading state information... Done
  25. The following packages were automatically installed and are no longer required:
  26. cpp-7 libpython-dev libpython2.7-dev libpython3-dev python2.7-dev python3-decorator python3-ipython-genutils
  27. python3-jupyter-core python3-traitlets python3.8-dev
  28. Use 'sudo apt autoremove' to remove them.
  29. The following NEW packages will be installed:
  30. libpng12-0
  31. 0 upgraded, 1 newly installed, 0 to remove and 92 not upgraded.
  32. 31 not fully installed or removed.
  33. Need to get 0 B/116 kB of archives.
  34. After this operation, 285 kB of additional disk space will be used.
  35. (Reading database ... 408548 files and directories currently installed.)
  36. Preparing to unpack .../libpng12-0_1.2.54-1ubuntu1_amd64.deb ...
  37. Unpacking libpng12-0:amd64 (1.2.54-1ubuntu1) ...
  38. dpkg: error processing archive /var/cache/apt/archives/libpng12-0_1.2.54-1ubuntu1_amd64.deb (--unpack):
  39. unable to install new version of '/lib/x86_64-linux-gnu/libpng12.so.0': No such file or directory
  40. No apport report written because the error message indicates an issue on the local system
  41. Errors were encountered while processing:
  42. /var/cache/apt/archives/libpng12-0_1.2.54-1ubuntu1_amd64.deb
  43. E: Sub-process /usr/bin/dpkg returned an error code (1)
  44.  
Add Comment
Please, Sign In to add comment