On Sat, Aug 14, 2004 at 01:28:11PM -0400, Mark D. Hansen wrote:
> How can I find out what version of a package I have currently
> installed (e.g., glibc)?

apt-cache policy foo
dpkg -l foo
zcat /usr/share/doc/foo/changelog.Debian.gz | \
  sed -n  -e 's/^[^\x28]*[\x28]//' -e 's/\x29.*//' -e '1p'

-- 
Seneca
[EMAIL PROTECTED]


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to