--- apt-installed-status/trunk/apt-installed-status.1 2014/06/17 09:54:05 333 +++ apt-installed-status/trunk/apt-installed-status.1 2014/07/04 15:50:28 337 @@ -1,6 +1,6 @@ .\" Manpage for apt-installed-status. .\" Contact frodo@frodo.looijaard.name to correct errors or typos. -.TH man 1 "17 June 2014" "1.0" "apt-installed-status man page" +.TH man 1 "4 July 2014" "1.1" "apt-installed-status man page" .SH NAME apt-installed-status \- get the repository an installed package comes from .SH SYNOPSIS @@ -58,8 +58,38 @@ Used with the \fB-a\fR, \fB-A\fR, \fB-x\fR or \fB\-X\fR arguments: display the archives in which this package is found too. .RE .PP +.B -L +.RS 4 +Used without other arguments or with the \fB-a\fR, \fB-A\fR, \fB-x\fR or \fB\-X\fR arguments: display the (selected) archives, instead of packages. +.RE .SH OUTPUT FORMAT Depending on the options chosen, output will be three or four tab-separated fields. The first column is the package name, the second column the architecture, the third column the version number and the optional fourth column a list of apt archives this package was found in, separated by commas. +.SH EXAMPLES +.PP +\fBapt-installed-status\fR +.RS 4 +List all installed packages and the archives the package is found in. +.RE +.PP +\fBapt-installed-status \-o\fR +.RS 4 +List all installed packages which are not found in any archive, or whose current version is not found. +.RE +.PP +\fBapt-installed-status \-X wheezy\fR +.RS 4 +List all packages whose current installed version is not found in Wheezy. +.RE +.PP +\fBapt-installed-status \-l \-A non-free\fR +.RS 4 +List all packages which are non-free, including the repository they are installed from. +.RE +.PP +\fBapt-installed-status \-L \-A non-free\fR +.RS 4 +Do not list the packages which are non-free, but the repositories that are selected (contain the string \fBnon-free\fR). +.RE .SH SEE ALSO apt-get(8) .SH BUGS