4.27 apt-show-versions

Dieses Kommando zeigt die aktuell installierten Pakete, die Version und das Release an. Mit der Option -p kann nur ein bestimmtes Paket angegeben werden, -r erlaubt die Filterung mittels Wildcard. Die Option -u zeigt alle Pakete, die aktualisiert werden können.

fr@surimi:~$ apt-show-versions -h
Apt-Show-Versions v.0.02 (c) Christoph Martin

Usage:
 apt-show-versions	   shows available versions of installed packages.
 
Options:
 -stf|--status-file=<file>  Use <file> as the dpkg status file 
                                  instead of /var/lib/dpkg/status
 -ld|list-dir=<directory>   Use <directory> as path to apt's 
                                  list files instead of /var/state/apt/lists/ 
				  or /var/lib/apt/lists/
 -p|--package=<package>     Print versions for <package>.
 -r|--regex                 Read package with -p as regex
 -u|--upgradeable           Print only upgradeable packages
 -a|--allversions           Print all available versions.
 -b|--brief                 Short output.
 -v|--verbose               Verbose messages.
 -h|--help                  Print this help.

fr@surimi:~$ apt-show-versions -r -p -u image*|grep -v not
linux-image-2.6.15-1-486 2.6.15-8 installed: No available version in archive
linux-image-486/testing upgradeable from 2.6.15-8 to 2.6.18+6
linux-image-2.6-486/testing upgradeable from 2.6.15-8 to 2.6.18+6

 Impressum