Se você quiser verificar a versão do pacote e não a versão do servidor, execute um dos seguintes comandos:
dpkg -s <packagename>
dpkg -p <packagename>
para imprimir os detalhes do pacote. Por exemplo, ficará assim:
$ dpkg -s zip
Package: zip
Status: install ok installed
Priority: optional
Section: utils
Installed-Size: 644
Maintainer: Ubuntu Core Developers <[email protected]>
Architecture: amd64
Version: 3.0-1ubuntu1
Replaces: zip-crypt (<= 2.30-2)
Depends: libc6 (>= 2.7)
Recommends: unzip
Conflicts: zip-crypt (<= 2.30-2)
Description: Archiver for .zip files
This is InfoZIP's zip program. It produces files that are fully
compatible with the popular PKZIP program; however, the command line
options are not identical. In other words, the end result is the same,
but the methods differ. :-)
.
This version supports encryption.
Original-Maintainer: Santiago Vila <[email protected]>