lamiastella

sudo apt --fix-broken install

Jan 29th, 2021 (edited)
126
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.81 KB | None | 0 0
  1. mona@goku:~/research/code/PyTorch-Encoding$ sudo apt-get install python3.6
  2. Reading package lists... Done
  3. Building dependency tree
  4. Reading state information... Done
  5. Note, selecting 'python3.6-2to3' for regex 'python3.6'
  6. Note, selecting 'libpython3.6-stdlib' for regex 'python3.6'
  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. open3d-viewer : Depends: libc++1 but it is not going to be installed
  11. Depends: libglfw3 but it is not going to be installed
  12. E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
  13. mona@goku:~/research/code/PyTorch-Encoding$ sudo apt --fix-broken install
  14. Reading package lists... Done
  15. Building dependency tree
  16. Reading state information... Done
  17. Correcting dependencies... Done
  18. The following packages were automatically installed and are no longer required:
  19. cpp-7 libpython-dev libpython2.7-dev libpython3-dev python2.7-dev python3-decorator python3-ipython-genutils
  20. python3-jupyter-core python3-traitlets python3.8-dev
  21. Use 'sudo apt autoremove' to remove them.
  22. The following additional packages will be installed:
  23. libc++1 libc++1-10 libc++abi1-10 libglfw3 libpng12-0
  24. Suggested packages:
  25. libosmesa6
  26. The following NEW packages will be installed:
  27. libc++1 libc++1-10 libc++abi1-10 libglfw3 libpng12-0
  28. 0 upgraded, 5 newly installed, 0 to remove and 92 not upgraded.
  29. 32 not fully installed or removed.
  30. Need to get 329 kB/445 kB of archives.
  31. After this operation, 1,744 kB of additional disk space will be used.
  32. Do you want to continue? [Y/n] y
  33. Get:1 http://us.archive.ubuntu.com/ubuntu focal/universe amd64 libc++abi1-10 amd64 1:10.0.0-4ubuntu1 [59.4 kB]
  34. Get:2 http://us.archive.ubuntu.com/ubuntu focal/universe amd64 libc++1-10 amd64 1:10.0.0-4ubuntu1 [193 kB]
  35. Get:3 http://us.archive.ubuntu.com/ubuntu focal/universe amd64 libc++1 amd64 1:10.0-50~exp1 [2,904 B]
  36. Get:4 http://us.archive.ubuntu.com/ubuntu focal/universe amd64 libglfw3 amd64 3.3.2-1 [73.6 kB]
  37. Fetched 329 kB in 0s (1,153 kB/s)
  38. (Reading database ... 408600 files and directories currently installed.)
  39. Preparing to unpack .../libpng12-0_1.2.54-1ubuntu1_amd64.deb ...
  40. Unpacking libpng12-0:amd64 (1.2.54-1ubuntu1) ...
  41. dpkg: error processing archive /var/cache/apt/archives/libpng12-0_1.2.54-1ubuntu1_amd64.deb (--unpack):
  42. unable to install new version of '/lib/x86_64-linux-gnu/libpng12.so.0': No such file or directory
  43. No apport report written because the error message indicates an issue on the local system
  44. Selecting previously unselected
  45. package libc++abi1-10:amd64.
  46. Preparing to unpack .../libc++abi1-10_1%3a10.0.0-4ubuntu1_amd64.deb ...
  47. Unpacking libc++abi1-10:amd64 (1:10.0.0-4ubuntu1) ...
  48. Selecting previously unselected package libc++1-10:amd64.
  49. Preparing to unpack .../libc++1-10_1%3a10.0.0-4ubuntu1_amd64.deb ...
  50. Unpacking libc++1-10:amd64 (1:10.0.0-4ubuntu1) ...
  51. Selecting previously unselected package libc++1:amd64.
  52. Preparing to unpack .../libc++1_1%3a10.0-50~exp1_amd64.deb ...
  53. Unpacking libc++1:amd64 (1:10.0-50~exp1) ...
  54. Selecting previously unselected package libglfw3:amd64.
  55. Preparing to unpack .../libglfw3_3.3.2-1_amd64.deb ...
  56. Unpacking libglfw3:amd64 (3.3.2-1) ...
  57. Errors were encountered while processing:
  58. /var/cache/apt/archives/libpng12-0_1.2.54-1ubuntu1_amd64.deb
  59. E: Sub-process /usr/bin/dpkg returned an error code (1)
  60. mona@goku:~/research/code/PyTorch-Encoding$
  61.  
  62.  
  63. $ sudo dpkg --configure -a
  64. Setting up libopenjpeg5:amd64 (1:1.5.2-3.1) ...
  65. Setting up libglfw3:amd64 (3.3.2-1) ...
  66. Setting up libvpx3:amd64 (1.5.0-2ubuntu1) ...
  67. Setting up libopencv-core2.4v5:amd64 (2.4.9.1+dfsg-1.5ubuntu1) ...
  68. Setting up libilmbase12:amd64 (2.2.0-11ubuntu2) ...
  69. Setting up libopencv-imgproc2.4v5:amd64 (2.4.9.1+dfsg-1.5ubuntu1) ...
  70. Setting up libva1:amd64 (1.7.0-1) ...
  71. Setting up libcrystalhd3:amd64 (1:0.0~git20110715.fdd2f19-13build1) ...
  72. Setting up libopencv-video2.4v5:amd64 (2.4.9.1+dfsg-1.5ubuntu1) ...
  73. Setting up libopenexr22:amd64 (2.2.0-10ubuntu2) ...
  74. Setting up libx264-148:amd64 (2:0.148.2643+git5c65704-1) ...
  75. Setting up libavutil-ffmpeg54:amd64 (7:2.8.6-1ubuntu2) ...
  76. Setting up libopencv-photo2.4v5:amd64 (2.4.9.1+dfsg-1.5ubuntu1) ...
  77. Setting up libswresample-ffmpeg1:amd64 (7:2.8.6-1ubuntu2) ...
  78. dpkg: dependency problems prevent configuration of libopencv-highgui2.4v5:amd64:
  79. libopencv-highgui2.4v5:amd64 depends on libpng12-0 (>= 1.2.13-4); however:
  80. Package libpng12-0:amd64 is not installed.
  81.  
  82. dpkg: error processing package libopencv-highgui2.4v5:amd64 (--configure):
  83. dependency problems - leaving unconfigured
  84. Setting up libschroedinger-1.0-0:amd64 (1.0.11-2.1build1) ...
  85. Setting up libjasper1:amd64 (1.900.1-debian1-2.4ubuntu1) ...
  86. Setting up libx265-79:amd64 (1.9-3) ...
  87. Setting up libopencv-ml2.4v5:amd64 (2.4.9.1+dfsg-1.5ubuntu1) ...
  88. Setting up libc++abi1-10:amd64 (1:10.0.0-4ubuntu1) ...
  89. Setting up libwebp5:amd64 (0.4.4-1) ...
  90. Setting up libopencv-flann2.4v5:amd64 (2.4.9.1+dfsg-1.5ubuntu1) ...
  91. dpkg: dependency problems prevent configuration of libopencv-objdetect2.4v5:amd64:
  92. libopencv-objdetect2.4v5:amd64 depends on libopencv-highgui2.4v5 (= 2.4.9.1+dfsg-1.5ubuntu1); however:
  93. Package libopencv-highgui2.4v5:amd64 is not configured yet.
  94.  
  95. dpkg: error processing package libopencv-objdetect2.4v5:amd64 (--configure):
  96. dependency problems - leaving unconfigured
  97. Setting up libbluray1:amd64 (1:0.9.2-2) ...
  98. Setting up libswscale-ffmpeg3:amd64 (7:2.8.6-1ubuntu2) ...
  99. Setting up libopencv-features2d2.4v5:amd64 (2.4.9.1+dfsg-1.5ubuntu1) ...
  100. Setting up python-is-python2 (2.7.17-4) ...
  101. dpkg: dependency problems prevent configuration of libopencv-contrib2.4v5:amd64:
  102. libopencv-contrib2.4v5:amd64 depends on libopencv-highgui2.4v5 (= 2.4.9.1+dfsg-1.5ubuntu1); however:
  103. Package libopencv-highgui2.4v5:amd64 is not configured yet.
  104. libopencv-contrib2.4v5:amd64 depends on libopencv-objdetect2.4v5 (= 2.4.9.1+dfsg-1.5ubuntu1); however:
  105. Package libopencv-objdetect2.4v5:amd64 is not configured yet.
  106.  
  107. dpkg: error processing package libopencv-contrib2.4v5:amd64 (--configure):
  108. dependency problems - leaving unconfigured
  109. dpkg: dependency problems prevent configuration of libopencv-legacy2.4v5:amd64:
  110. libopencv-legacy2.4v5:amd64 depends on libopencv-highgui2.4v5 (= 2.4.9.1+dfsg-1.5ubuntu1); however:
  111. Package libopencv-highgui2.4v5:amd64 is not configured yet.
  112.  
  113. dpkg: error processing package libopencv-legacy2.4v5:amd64 (--configure):
  114. dependency problems - leaving unconfigured
  115. Setting up libc++1-10:amd64 (1:10.0.0-4ubuntu1) ...
  116. Setting up libopencv-calib3d2.4v5:amd64 (2.4.9.1+dfsg-1.5ubuntu1) ...
  117. Setting up libavcodec-ffmpeg56:amd64 (7:2.8.6-1ubuntu2) ...
  118. Setting up libavformat-ffmpeg56:amd64 (7:2.8.6-1ubuntu2) ...
  119. dpkg: dependency problems prevent configuration of python-opencv:
  120. python-opencv depends on libopencv-contrib2.4v5; however:
  121. Package libopencv-contrib2.4v5:amd64 is not configured yet.
  122. python-opencv depends on libopencv-highgui2.4v5; however:
  123. Package libopencv-highgui2.4v5:amd64 is not configured yet.
  124. python-opencv depends on libopencv-legacy2.4v5; however:
  125. Package libopencv-legacy2.4v5:amd64 is not configured yet.
  126. python-opencv depends on libopencv-objdetect2.4v5; however:
  127. Package libopencv-objdetect2.4v5:amd64 is not configured yet.
  128.  
  129. dpkg: error processing package python-opencv (--configure):
  130. dependency problems - leaving unconfigured
  131. Setting up libc++1:amd64 (1:10.0-50~exp1) ...
  132. Setting up open3d-viewer (0.12.0) ...
  133. Processing triggers for libc-bin (2.31-0ubuntu9.1) ...
  134. Errors were encountered while processing:
  135. libopencv-highgui2.4v5:amd64
  136. libopencv-objdetect2.4v5:amd64
  137. libopencv-contrib2.4v5:amd64
  138. libopencv-legacy2.4v5:amd64
  139. python-opencv
  140.  
  141.  
Add Comment
Please, Sign In to add comment