dpkg -l postfix
Stephen R Laniel
steve at laniels.org
Fri Feb 23 12:45:22 UTC 2007
On Fri, Feb 23, 2007 at 06:18:41PM +0530, Kaushal Shriyan wrote:
> I am new to ubuntu and wanted to understand that Output (O/p means Output)
Hi Kaushal,
I believe what Matthew was asking was: why were you running
dpkg -l in the first place? What was your goal? Were you
trying to see whether Postfix is installed? If that was your
goal, I'd do something like
dpkg --get-selections postfix
instead. On my machine, that returns:
> postfix install
which says that Postfix is installed. If you want to see
which version is installed, there are (again) many ways to
do so, but I would do 'apt-cache policy postfix':
postfix:
Installed: 2.3.3-1
Candidate: 2.3.3-1
Version table:
*** 2.3.3-1 0
500 http://archive.ubuntu.com edgy/main Packages
100 /var/lib/dpkg/status
That output is much clearer than dpkg -l's, I think.
--
Stephen R. Laniel
steve at laniels.org
Cell: +(617) 308-5571
http://laniels.org/
PGP key: http://laniels.org/slaniel.key
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20070223/c148a80b/attachment.sig>
More information about the ubuntu-users
mailing list