Comment 0 for bug 1760608

Revision history for this message
dino99 (9d9) wrote : [Tweak] Needs an indexing fix

Actual indexing is not complete and the partial python3 port let an unknown path.

***********

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

Finding location
- ConfigParser.py found into /usr/lib/python2.7
- configparser.py found into /usr/lib/python3.6

As the axi-cache script request ConfigParser.py, then give it satisfaction:

oem@lapubu:~$ sudo cp /usr/lib/python3.6/configparser.py /usr/lib/python3.6/ConfigParser.py
[sudo] Mot de passe de oem :

oem@lapubu:~$ axi-cache info
Main data directory: /var/lib/apt-xapian-index
Update timestamp: /var/lib/apt-xapian-index/update-timestamp (last updated: Sat Mar 31 22:10:30 2018)
Index location: /var/lib/apt-xapian-index/index (pointing to /var/cache/apt-xapian-index/index.2)
Documentation of index contents: /var/lib/apt-xapian-index/README
Documentation of available prefixes: /var/lib/apt-xapian-index/prefixes
Documentation of available values: /var/lib/apt-xapian-index/values
Plugin directory: /usr/share/apt-xapian-index/plugins
Plugin status:
  aliases enabled, up to date (353 days, 4:00:08.159429 older than index)
  app-install enabled, up to date (933 days, 12:36:03.159429 older than index)
  apttags enabled, needs indexing (0:07:27.093989 newer than index)
  cataloged_time enabled, needs indexing (0:07:27.093989 newer than index)
  debtags disabled
  descriptions enabled, needs indexing (0:07:27.093989 newer than index)
  relations enabled, needs indexing (0:07:27.093989 newer than index)
  sections enabled, needs indexing (0:07:27.093989 newer than index)
  sizes enabled, needs indexing (0:07:27.093989 newer than index)
  template enabled, up to date
  translated-desc enabled, up to date (1:19:32.159429 older than index)
  ....
*******
So the error is gone now, but seeing some 'needs indexing'; let checking it:

oem@lapubu:~$ sudo /usr/sbin/update-apt-xapian-index --update --quiet

oem@lapubu:~$ axi-cache info
Main data directory: /var/lib/apt-xapian-index
Update timestamp: /var/lib/apt-xapian-index/update-timestamp (last updated: Sat Mar 31 22:17:57 2018)
Index location: /var/lib/apt-xapian-index/index (pointing to /var/cache/apt-xapian-index/index.2)
Documentation of index contents: /var/lib/apt-xapian-index/README
Documentation of available prefixes: /var/lib/apt-xapian-index/prefixes
Documentation of available values: /var/lib/apt-xapian-index/values
Plugin directory: /usr/share/apt-xapian-index/plugins
Plugin status:
  aliases enabled, up to date (353 days, 4:07:35.253417 older than index)
  app-install enabled, up to date (933 days, 12:43:30.253417 older than index)
  apttags enabled, up to date (0:00:00 older than index)
  cataloged_time enabled, up to date (0:00:00 older than index)
  debtags disabled
  descriptions enabled, up to date (0:00:00 older than index)
  relations enabled, up to date (0:00:00 older than index)
  sections enabled, up to date (0:00:00 older than index)
  sizes enabled, up to date (0:00:00 older than index)
  template enabled, up to date
  translated-desc enabled, up to date (1:26:59.253417 older than index)
  ....

Well all are now working as expected.

The 18.10 cycle will hopefully get the complete python3 porting done; but until this dirty hack will do the trick.

ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: apt-xapian-index 0.47ubuntu13
ProcVersionSignature: Ubuntu 4.15.0-13.14-generic 4.15.10
Uname: Linux 4.15.0-13-generic i686
ApportVersion: 2.20.9-0ubuntu2
Architecture: i386
CurrentDesktop: LXDE
Date: Mon Apr 2 14:39:39 2018
InstallationDate: Installed on 2013-10-21 (1624 days ago)
InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release i386 (20091028.5)
PackageArchitecture: all
SourcePackage: apt-xapian-index
UpgradeStatus: No upgrade log present (probably fresh install)