Advertisement
Guest User

Untitled

a guest
Oct 6th, 2020
56
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.45 KB | None | 0 0
  1. $ sudo apt reinstall python3-setuptools
  2. Reading package lists... Done
  3. Building dependency tree
  4. Reading state information... Done
  5. The following package was automatically installed and is no longer required:
  6. pve-kernel-5.4.44-2-pve
  7. Use 'sudo apt autoremove' to remove it.
  8. 0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 2 not upgraded.
  9. 11 not fully installed or removed.
  10. Need to get 0 B/593 kB of archives.
  11. After this operation, 0 B of additional disk space will be used.
  12. dpkg: warning: files list file for package 'python3-setuptools' missing; assuming package has no files currently installed
  13. dpkg: warning: files list file for package 'libcpg4:amd64' missing; assuming package has no files currently installed
  14. dpkg: warning: files list file for package 'python3-zope.event' missing; assuming package has no files currently installed
  15. dpkg: warning: files list file for package 'python3-pbr' missing; assuming package has no files currently installed
  16. dpkg: warning: files list file for package 'libquorum5:amd64' missing; assuming package has no files currently installed
  17. dpkg: warning: files list file for package 'python3-zope.component' missing; assuming package has no files currently installed
  18. dpkg: warning: files list file for package 'libnl-route-3-200:amd64' missing; assuming package has no files currently installed
  19. dpkg: warning: files list file for package 'libpve-apiclient-perl' missing; assuming package has no files currently installed
  20. dpkg: warning: files list file for package 'libknet1:amd64' missing; assuming package has no files currently installed
  21. dpkg: warning: files list file for package 'libsndfile1:amd64' missing; assuming package has no files currently installed
  22. dpkg: warning: files list file for package 'libvorbisenc2:amd64' missing; assuming package has no files currently installed
  23. (Reading database ... 106482 files and directories currently installed.)
  24. Preparing to unpack .../python3-setuptools_40.8.0-1_all.deb ...
  25. /var/lib/dpkg/info/python3-setuptools.prerm: 6: /var/lib/dpkg/info/python3-setuptools.prerm: py3clean: Exec format error
  26. dpkg: warning: old python3-setuptools package pre-removal script subprocess returned error exit status 2
  27. dpkg: trying script from the new package instead ...
  28. /var/lib/dpkg/tmp.ci/prerm: 6: /var/lib/dpkg/tmp.ci/prerm: py3clean: Exec format error
  29. dpkg: error processing archive /var/cache/apt/archives/python3-setuptools_40.8.0-1_all.deb (--unpack):
  30. new python3-setuptools package pre-removal script subprocess returned error exit status 2
  31. Traceback (most recent call last):
  32. File "/usr/bin/py3compile", line 34, in <module>
  33. from debpython.version import SUPPORTED, debsorted, vrepr, \
  34. File "/usr/share/python3/debpython/version.py", line 46, in <module>
  35. _config.read('/usr/share/python3/debian_defaults')
  36. File "/usr/lib/python3.7/configparser.py", line 696, in read
  37. self._read(fp, filename)
  38. File "/usr/lib/python3.7/configparser.py", line 1014, in _read
  39. for lineno, line in enumerate(fp, start=1):
  40. File "/usr/lib/python3.7/codecs.py", line 322, in decode
  41. (result, consumed) = self._buffer_decode(data, self.errors, final)
  42. UnicodeDecodeError: 'utf-8' codec can't decode byte 0x95 in position 1: invalid start byte
  43. dpkg: error while cleaning up:
  44. installed python3-setuptools package post-installation script subprocess returned error exit status 1
  45. Errors were encountered while processing:
  46. /var/cache/apt/archives/python3-setuptools_40.8.0-1_all.deb
  47. E: Sub-process /usr/bin/dpkg returned an error code (1)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement