Comment 20 for bug 1612948

Revision history for this message
dino99 (9d9) wrote :

On bionic, getting rid of that error (dirty tweak until proper fix):

oem@ubuntu:~$ axi-cache
" No module named 'ConfigParser': only help functions are implemented, for the sake of help2man "

***********
First find location:
- ConfigParser.py from /usr/lib/python2.7
- configparser.py from /usr/lib/python3.6

As the axi-cache script request ConfigParser.py, then give it satisfaction:
" sudo cp /usr/lib/python3.6/configparser.py /usr/lib/python3.6/ConfigParser.py "

Then tested with "axi-cache info" & "axi-cache show gdm3" : no more complaint !!!

***********
Voila, simple dirty tweak, but works at least about the error; still need to know if apt-xapian-index works better or not.
The python3 port is still not complete, and python2.7 is still not completely removed. Will probably done with the 18.10 cycle.

If you want the same dirty tweak working on xenial, ..., then check the pathes first.