Guest User

Untitled

a guest
Feb 22nd, 2018
338
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.97 KB | None | 0 0
  1. Setting up python-minimal (2.7.12-1~16.04) ...
  2. Traceback (most recent call last):
  3. File "/usr/local/lib/python2.7/runpy.py", line 174, in _run_module_as_main
  4. "__main__", fname, loader, pkg_name)
  5. File "/usr/local/lib/python2.7/runpy.py", line 72, in _run_code
  6. exec code in run_globals
  7. File "/usr/local/lib/python2.7/compileall.py", line 16, in <module>
  8. import struct
  9. File "/usr/local/lib/python2.7/struct.py", line 1, in <module>
  10. from _struct import *
  11. ImportError: No module named _struct
  12. dpkg: error processing package python-minimal (--configure):
  13. subprocess installed post-installation script returned error exit status 1
  14. Errors were encountered while processing:
  15. python-minimal
  16. E: Sub-process /usr/bin/dpkg returned an error code (1)
  17. A package failed to install. Trying to recover:
  18. dpkg: dependency problems prevent configuration of python-dev:
  19. python-dev depends on python (= 2.7.12-1~16.04); however:
  20. Version of python on system is 2.7.11-1.
  21.  
  22. dpkg: error processing package python-dev (--configure):
  23. dependency problems - leaving unconfigured
  24. Setting up python-minimal (2.7.12-1~16.04) ...
  25. Traceback (most recent call last):
  26. File "/usr/local/lib/python2.7/runpy.py", line 174, in _run_module_as_main
  27. "__main__", fname, loader, pkg_name)
  28. File "/usr/local/lib/python2.7/runpy.py", line 72, in _run_code
  29. exec code in run_globals
  30. File "/usr/local/lib/python2.7/compileall.py", line 16, in <module>
  31. import struct
  32. File "/usr/local/lib/python2.7/struct.py", line 1, in <module>
  33. from _struct import *
  34. ImportError: No module named _struct
  35. dpkg: error processing package python-minimal (--configure):
  36. subprocess installed post-installation script returned error exit status 1
  37. Errors were encountered while processing:
  38. python-dev
  39. python-minimal
  40.  
  41. 4.4.0-66-generic #87-Ubuntu SMP Fri Mar 3 15:29:05 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
  42.  
  43. egrep -v '^#|^ *$' /etc/apt/sources.list /etc/apt/sources.list.d/*
  44. /etc/apt/sources.list.d/cuda-8-0-local-ga2.list:deb file:///var/cuda-repo-8-0-local-ga2 /
  45. /etc/apt/sources.list.d/dolphin-emu-ppa-xenial.list:deb http://ppa.launchpad.net/dolphin-emu/ppa/ubuntu xenial main
  46. /etc/apt/sources.list.d/dolphin-emu-ppa-xenial.list:deb-src http://ppa.launchpad.net/dolphin-emu/ppa/ubuntu xenial main
  47. /etc/apt/sources.list.d/google-chrome.list:deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main
  48. /etc/apt/sources.list.d/official-package-repositories.list:deb http://mirror.zetup.net/linuxmint/packages sarah main upstream import backport
  49. /etc/apt/sources.list.d/official-package-repositories.list:deb http://archive.ubuntu.com/ubuntu xenial main restricted universe multiverse
  50. /etc/apt/sources.list.d/official-package-repositories.list:deb http://archive.ubuntu.com/ubuntu xenial-updates main restricted universe multiverse
  51. /etc/apt/sources.list.d/official-package-repositories.list:deb http://archive.ubuntu.com/ubuntu xenial-backports main restricted universe multiverse
  52. /etc/apt/sources.list.d/official-package-repositories.list:deb http://security.ubuntu.com/ubuntu/ xenial-security main restricted universe multiverse
  53. /etc/apt/sources.list.d/official-package-repositories.list:deb http://archive.canonical.com/ubuntu/ xenial partner
  54. /etc/apt/sources.list.d/postgresql.list:deb http://apt.postgresql.org/pub/repos/apt/ xenial-pgdg main
  55. /etc/apt/sources.list.d/steam.list:deb [arch=amd64,i386] http://repo.steampowered.com/steam/ precise steam
  56. /etc/apt/sources.list.d/steam.list:deb-src [arch=amd64,i386] http://repo.steampowered.com/steam/ precise steam
  57. /etc/apt/sources.list.d/ubuntu-toolchain-r-test-xenial.list:deb http://ppa.launchpad.net/ubuntu-toolchain-r/test/ubuntu xenial main
  58. /etc/apt/sources.list.d/ubuntu-toolchain-r-test-xenial.list:deb-src http://ppa.launchpad.net/ubuntu-toolchain-r/test/ubuntu xenial main
  59. /etc/apt/sources.list.d/yarn.list:deb https://dl.yarnpkg.com/debian/ stable main
Add Comment
Please, Sign In to add comment