Advertisement
Guest User

Untitled

a guest
Nov 8th, 2017
122
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.11 KB | None | 0 0
  1.  
  2. ubuntu@ip-172-31-16-20:~$ sudo apt-get install bind9
  3. Reading package lists... Done
  4. Building dependency tree
  5. Reading state information... Done
  6. bind9 is already the newest version (1:9.10.3.dfsg.P4-8ubuntu1.8).
  7. The following packages were automatically installed and are no longer required:
  8. linux-headers-4.4.0-71 linux-headers-4.4.0-71-generic linux-headers-4.4.0-72 linux-headers-4.4.0-72-generic
  9. linux-image-4.4.0-71-generic linux-image-4.4.0-72-generic
  10. Use 'sudo apt autoremove' to remove them.
  11. The following packages will be upgraded:
  12. python-samba
  13. 1 upgraded, 0 newly installed, 0 to remove and 146 not upgraded.
  14. 47 not fully installed or removed.
  15. Need to get 0 B/1,059 kB of archives.
  16. After this operation, 0 B of additional disk space will be used.
  17. (Reading database ... 174338 files and directories currently installed.)
  18. Preparing to unpack .../python-samba_2%3a4.3.11+dfsg-0ubuntu0.16.04.11_amd64.deb ...
  19. File "/usr/bin/pyclean", line 63
  20. except (IOError, OSError), e:
  21. ^
  22. SyntaxError: invalid syntax
  23. dpkg: warning: subprocess old pre-removal script returned error exit status 1
  24. dpkg: trying script from the new package instead ...
  25. File "/usr/bin/pyclean", line 63
  26. except (IOError, OSError), e:
  27. ^
  28. SyntaxError: invalid syntax
  29. dpkg: error processing archive /var/cache/apt/archives/python-samba_2%3a4.3.11+dfsg-0ubuntu0.16.04.11_amd64.deb (--unpack):
  30. subprocess new pre-removal script returned error exit status 1
  31. Traceback (most recent call last):
  32. File "/usr/bin/pycompile", line 35, in <module>
  33. from debpython.version import SUPPORTED, debsorted, vrepr, \
  34. File "/usr/share/python/debpython/version.py", line 24, in <module>
  35. from ConfigParser import SafeConfigParser
  36. ImportError: No module named 'ConfigParser'
  37. dpkg: error while cleaning up:
  38. subprocess installed post-installation script returned error exit status 1
  39. Errors were encountered while processing:
  40. /var/cache/apt/archives/python-samba_2%3a4.3.11+dfsg-0ubuntu0.16.04.11_amd64.deb
  41. E: Sub-process /usr/bin/dpkg returned an error code (1)
  42. ubuntu@ip-172-31-16-20:~$
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement