This program updates the dpkg(8) available database with the data in the apt(8) package database. This is required for grep-available(1) and other similar programs to give up-to-date results.
The same functionality is available through dselect(8), when it is configured to use apt(8) as its acquisition method. However, this program does not require that dselect(8) is installed.
The program exits with status code 0 if all went well, and a non-zero status code otherwise.
The program and this manual page were written by Antti-Juhani Kaijanaho <email@example.com>.
grep-available(1), apt(8), dpkg(8), dselect(8)