Advertisement
Fatih19

AppCenter Error

Sep 16th, 2019
4,359
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.61 KB | None | 0 0
  1. Hit:1 http://download.mono-project.com/repo/debian wheezy InRelease
  2. Ign:2 http://dl.google.com/linux/chrome/deb stable InRelease
  3. Hit:3 http://dl.google.com/linux/chrome/deb stable Release
  4. Hit:5 http://packages.elementary.io/appcenter bionic InRelease
  5. Get:6 http://repo.radeon.com/rocm/apt/debian xenial InRelease [1.816 B]
  6. Hit:7 http://id.archive.ubuntu.com/ubuntu bionic InRelease
  7. Get:8 http://security.ubuntu.com/ubuntu bionic-security InRelease [88,7 kB]
  8. Hit:9 http://ppa.launchpad.net/alexlarsson/flatpak/ubuntu bionic InRelease
  9. Hit:10 http://repository.spotify.com stable InRelease
  10. Get:11 http://id.archive.ubuntu.com/ubuntu bionic-updates InRelease [88,7 kB]
  11. Hit:12 http://ppa.launchpad.net/elementary-os/stable/ubuntu bionic InRelease
  12. Hit:13 http://ppa.launchpad.net/olive-editor/olive-editor/ubuntu bionic InRelease
  13. Hit:14 http://ppa.launchpad.net/otto-kesselgulasch/gimp/ubuntu bionic InRelease
  14. Get:15 http://id.archive.ubuntu.com/ubuntu bionic-backports InRelease [74,6 kB]
  15. Hit:16 http://ppa.launchpad.net/elementary-os/os-patches/ubuntu bionic InRelease
  16. Hit:17 http://ppa.launchpad.net/philip.scott/elementary-tweaks/ubuntu bionic InRelease
  17. Hit:18 http://ppa.launchpad.net/ricotz/docky/ubuntu bionic InRelease
  18. Fetched 254 kB in 4s (65,6 kB/s)
  19. Traceback (most recent call last):
  20. File "/usr/lib/cnf-update-db", line 8, in <module>
  21. from CommandNotFound.db.creator import DbCreator
  22. File "/usr/lib/CommandNotFound/db/creator.py", line 11, in <module>
  23. import apt_pkg
  24. ModuleNotFoundError: No module named 'apt_pkg'
  25. Error in sys.excepthook:
  26. Traceback (most recent call last):
  27. File "/usr/lib/python3/dist-packages/apport_python_hook.py", line 63, in apport_excepthook
  28. from apport.fileutils import likely_packaged, get_recent_crashes
  29. File "/usr/lib/python3/dist-packages/apport/__init__.py", line 5, in <module>
  30. from apport.report import Report
  31. File "/usr/lib/python3/dist-packages/apport/report.py", line 30, in <module>
  32. import apport.fileutils
  33. File "/usr/lib/python3/dist-packages/apport/fileutils.py", line 23, in <module>
  34. from apport.packaging_impl import impl as packaging
  35. File "/usr/lib/python3/dist-packages/apport/packaging_impl.py", line 24, in <module>
  36. import apt
  37. File "/usr/lib/python3/dist-packages/apt/__init__.py", line 23, in <module>
  38. import apt_pkg
  39. ModuleNotFoundError: No module named 'apt_pkg'
  40.  
  41. Original exception was:
  42. Traceback (most recent call last):
  43. File "/usr/lib/cnf-update-db", line 8, in <module>
  44. from CommandNotFound.db.creator import DbCreator
  45. File "/usr/lib/CommandNotFound/db/creator.py", line 11, in <module>
  46. import apt_pkg
  47. ModuleNotFoundError: No module named 'apt_pkg'
  48. Reading package lists... Done
  49. E: Problem executing scripts APT::Update::Post-Invoke-Success 'if /usr/bin/test -w /var/lib/command-not-found/ -a -e /usr/lib/cnf-update-db; then /usr/lib/cnf-update-db > /dev/null; fi'
  50. E: Sub-process returned an error code
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement