giovedì 10 settembre 2009

Apt - informazioni e versione dei pacchetti

Un tips veloce veloce: per visualizzare la versione di un determinato pacchetto che ci apprestiamo ad installare via apt-get (per sistemi debian-based, tra cui ubuntu) basta un semplice:

apt-cache show nome-pacchetto

Ad esempio, per il pacchetto apache2 risulta:

$ apt-cache show apache2

Package: apache2

Priority: optional
Section: web
Installed-Size: 100
Maintainer: Ubuntu Core Developers

Original-Maintainer: Debian Apache Maintainers

Architecture: all
Version: 2.2.8-1ubuntu0.11
Depends: apache2-mpm-worker (>= 2.2.8-1ubuntu0.11) | apache2-mpm-prefork (>= 2.2.8-1ubuntu0.11) | apache2-mpm-event (>= 2.2.8-1ubuntu0.11)
Filename: pool/main/a/apache2/apache2_2.2.8-1ubuntu0.11_all.deb
Size: 45558
MD5sum: 987ba9930246a975044ff9424381808b
SHA1: 1a64fada82c96c165b0b5929a0bb1cf3d4b31c20
SHA256: 1e48402e87d17cea64dfba4ecaf40c31c22e98a40f44d1771157de534af70f3d
Description: Next generation, scalable, extendable web server
Apache v2 is the next generation of the omnipresent Apache web server. This
version - a total rewrite - introduces many new improvements, such as
threading, a new API, IPv6 support, request/response filtering, and more.
Homepage: http://httpd.apache.org/
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu
Task: lamp-server

Package: apache2
Priority: optional
Section: web
Installed-Size: 100
Maintainer: Ubuntu Core Developers

Original-Maintainer: Debian Apache Maintainers

Architecture: all
Version: 2.2.8-1
Depends: apache2-mpm-worker (>= 2.2.8-1) | apache2-mpm-prefork (>= 2.2.8-1) | apache2-mpm-event (>= 2.2.8-1)
Filename: pool/main/a/apache2/apache2_2.2.8-1_all.deb
Size: 43978
MD5sum: b844d8196f279fa7d46007b2e8e862a9
SHA1: d09cb634bec34627415098f3b79e7a7f186ed8f5
SHA256: 62d235c87f7be5006099f803261fb6f7a77778e4601004f963c5e66695321bd9
Description-it: Web server di prossima generazione, scalabile ed estendibile
Apache v2 è la nuova versione dell'onnipresente server web Apache. Questa versione, totalmente riscritta, introduce parecchi nuovi miglioramenti come il threading, una nuova API, supporto IPv6, filtro richiesta/risposta e molto altro.
Homepage: http://httpd.apache.org/
Bugs: mailto:ubuntu-users@lists.ubuntu.com
Origin: Ubuntu
Task: lamp-server