update-dlocatedb(8)

update-dlocatedb8

Generate text database of installed files for dlocate

Usage

update-dlocatedb [option ...]

Overview

update-dlocatedb generates a plain text package contents listing from the files /var/lib/dpkg/info/*.list.

This program is usually called from cron.daily.

Options

-p

Update the packages list only.

-j

Update the files list only.

-b

Update both (default).

-h

This help message.

Files

/etc/default/dlocate

Configuration file with default options. Currently the only option is to enable/disable gzip compression of the dlocatedb file.

/var/lib/dpkg/info

Directory containing dpkg file lists.

/var/lib/dlocate/dlocatedb

Plain text listing of all files belonging to all packages (optionally compressed).

/var/lib/dlocate/dpkg-list

Listing of all packages known to dpkg.

This contains the reformatted output output of "dpkg -l". The file format is four fields separated by tabs:

  status<TAB>package-name<TAB>installed-version<TAB>synopsis

The "installed-version" field may contain an architecture, e.g. ":arch".

Releases

12 releases since Debian 3.0 (Woody); the text changed 6 times.

  1. 3.0–3.1
  2. 4.0
  3. 5.0
  4. 6.0–7
  5. 8
  6. 9–12
  7. 13

-b since Debian 9 (Stretch); -h since Debian 9 (Stretch); -j since Debian 9 (Stretch); -p since Debian 9 (Stretch).

From dlocate 1.17 in Debian 13 (Trixie). Parsed by carta from the page's man source.