a guest Jul 19th, 2019 57 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Traceback (most recent call last):
  2.   File "/usr/lib/cnf-update-db", line 8, in <module>
  3.     from CommandNotFound.db.creator import DbCreator
  4.   File "/usr/lib/CommandNotFound/db/", line 11, in <module>
  5.     import apt_pkg
  6. ImportError: No module named apt_pkg
  7. Reading package lists... Done
  8. 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'
  9. E: Sub-process returned an error code
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand