| 1 |
.TH SYNC\-AVAILABLE 8 2005-07-11 "Debian Project" "Debian administrator's manual" |
| 2 |
\" Copyright (C) 2004, 2005 Antti-Juhani Kaijanaho <[email protected]> |
| 3 |
\" This program is free software; you can redistribute it and/or modify |
| 4 |
\" it under the terms of the GNU General Public License as published by |
| 5 |
\" the Free Software Foundation; either version 2 of the License, or |
| 6 |
\" (at your option) any later version. |
| 7 |
\" |
| 8 |
\" This program is distributed in the hope that it will be useful, |
| 9 |
\" but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 10 |
\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 11 |
\" GNU General Public License for more details. |
| 12 |
\" |
| 13 |
\" You should have received a copy of the GNU General Public License |
| 14 |
\" along with this program; see the file COPYING. If not, write to |
| 15 |
\" the Free Software Foundation, Inc., 59 Temple Place - Suite 330, |
| 16 |
\" Boston, MA 02111-1307, USA. |
| 17 |
.SH NAME |
| 18 |
sync\-available \- sync dpkg's available database with apt's database |
| 19 |
.SH SYNOPSIS |
| 20 |
.B sync\-available |
| 21 |
.sp |
| 22 |
.B sync\-available --version |
| 23 |
.sp |
| 24 |
.B sync\-available --help |
| 25 |
.SH DESCRIPTION |
| 26 |
This program updates the |
| 27 |
.BR dpkg (8) |
| 28 |
.I available |
| 29 |
database with the data in the |
| 30 |
.BR apt (8) |
| 31 |
package database. This is required for |
| 32 |
.BR grep\-available (1) |
| 33 |
and other similar programs to give up-to-date results. |
| 34 |
.PP |
| 35 |
The same functionality is available through |
| 36 |
.BR dselect (8), |
| 37 |
when it is configured to use |
| 38 |
.BR apt (8) |
| 39 |
as its acquisition method. However, this program does not require that |
| 40 |
.BR dselect (8) |
| 41 |
is installed. |
| 42 |
.SH "EXIT STATUS" |
| 43 |
The program exits with status code |
| 44 |
.B 0 |
| 45 |
if all went well, and a non-zero |
| 46 |
status code otherwise. |
| 47 |
.SH OPTIONS |
| 48 |
.IP \fB--version |
| 49 |
Output the name and version of the program onto standard output stream. |
| 50 |
.IP \fB--help |
| 51 |
Give a brief usage statement on the standard output stream. |
| 52 |
.SH ENVIRONMENT |
| 53 |
.IP \fBTMPDIR |
| 54 |
The name of the directory where temporary files are created. Default is |
| 55 |
.IR /tmp . |
| 56 |
.SH AUTHOR |
| 57 |
The program and this manual page were written by Antti-Juhani |
| 58 |
Kaijanaho <[email protected]>. |
| 59 |
.SH SEE ALSO |
| 60 |
.BR grep\-available (1), |
| 61 |
.BR apt (8), |
| 62 |
.BR dpkg (8), |
| 63 |
.BR dselect (8) |