$ axi-cache --help
Usage: axi-cache [options] command [args]
Query the Apt Xapian index.
Commands:
...
axi-cache info print information about the apt-xapian-index environment
...
$ axi-cache info
Main data directory: /var/lib/apt-xapian-index
Update timestamp: /var/lib/apt-xapian-index/update-timestamp (last updated: Fri Jun 15 01:33:15 2018)
Index location: /var/lib/apt-xapian-index/index (pointing to /var/cache/apt-xapian-index/index.1)
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 (105 days, 3:48:59 older than index)
app-install enabled, up to date (1008 days, 14:58:48 older than index)
apttags enabled, needs indexing (9 days, 10:54:14.379738 newer than index)
cataloged_time enabled, needs indexing (9 days, 10:54:14.379738 newer than index)
debtags disabled
descriptions enabled, needs indexing (9 days, 10:54:14.379738 newer than index)
relations enabled, needs indexing (9 days, 10:54:14.379738 newer than index)
sections enabled, needs indexing (9 days, 10:54:14.379738 newer than index)
sizes enabled, needs indexing (9 days, 10:54:14.379738 newer than index)
template enabled, up to date
translated-desc enabled, up to date (0:00:00 older than index)
Values:
Value Code Provided by
app-popcon 3 app-install
catalogedtime 4 cataloged_time
installedsize 1 sizes
packagesize 2 sizes
version 0 update-apt-xapian-index
Data sources:
Source Description Used by
/usr/share/apt-xapian-index/aliases/popular-apps Aliases expanding names of popular applications aliases
/usr/share/app-install/desktop/ .desktop files provided by app-install-data app-install
/var/cache/apt/pkgcache.bin APT index apttags, descriptions, relations, sections, sizes
/var/lib/apt-xapian-index/cataloged_times.p first-seen information for every package cataloged_time
您需要的命令是
axi-cache info
. 您可以查阅其手册页或内置帮助。但主要问题是由于错误 1612948 ,它在 16.04 LTS、18.04 LTS 和更新版本上被拆箱。它返回错误消息,而不是所需的输出:
从对错误 1760608的评论中引用 Brian Murray
所以我们可以使用我对错误 1612948 的评论中的原始建议
手动修补后它将起作用(从 16.04 LTS 输出):
因此,我们需要 Ubuntu 开发人员的回复和/或操作来应用这些修复程序。