AttributeError: 'module' object has no attribute 'getLogger' on apt-get

Every time I run apt-get install this error occurs. I'm not sure what would have prompted it, except maybe that I installed a new version of python3. The full trace is:

Setting up apt-xapian-index (0.46ubuntu1) ...
Traceback (most recent call last): File "/usr/bin/pycompile", line 35, in <module> from debpython.version import SUPPORTED, debsorted, vrepr, \ File "/usr/share/python/debpython/version.py", line 36, in <module> log = logging.getLogger(__name__)
AttributeError: 'module' object has no attribute 'getLogger'
dpkg: error processing package apt-xapian-index (--configure):
5 Reset to default

Know someone who can answer? Share a link to this question via email, Twitter, or Facebook.

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like