Thomas Adam wrote:
On Sat, Aug 14, 2004 at 04:37:07PM -0400, Tong wrote:
I vaguely remember that apt-get has the ability to report version
numbers by reading its man page, but I can be quite wrong...
COLUMNS=200 dpkg -l | awk '/^ii/ {print $3}'
dpkg --status
If the package isn't installe
On Sat, Aug 14, 2004 at 04:37:07PM -0400, Tong wrote:
> I vaguely remember that apt-get has the ability to report version
> numbers by reading its man page, but I can be quite wrong...
COLUMNS=200 dpkg -l | awk '/^ii/ {print $3}'
Will give you the version. As for apt-get, well:
apt-get showpkg
Kevin Mark wrote:
> ...
>>>dpkg -l|grep libc
>>
>>This is a solution, but not perfect, 'cause sometimes the package name
>>gets truncated, e.g.:
>
> Hi Tong,
> here is the answer to the 'truncation'.
> doing:
> COLUMNS=139 dpkg -l
> this sets the env var COLUMNS temporarity to 139 for this command
On Sat, 14 Aug 2004 16:26:30 -0400, Seneca wrote:
> 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 | \
Tong wrote:
dpkg -l|grep libc
This is a solution, but not perfect, 'cause sometimes the package name
gets truncated, e.g.:
ii libcupsys2-gnu 1.1.20final+rc Common UNIX Printing System(tm) - libs
ii liblocale-gett 1.01-17Using libc functions for internationalizatio
[...]
COLUMNS=
On Sat, Aug 14, 2004 at 04:37:07PM -0400, Tong wrote:
> On Sat, 14 Aug 2004 21:44:27 +0200, Sven Hoexter wrote:
>
> > 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)?
>
> Yeah, I wante
Incoming from Tong:
> On Sat, 14 Aug 2004 21:44:27 +0200, Sven Hoexter wrote:
>
> > 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)?
>
> Yeah, I wanted to know that too.
>
> > dpkg -l
On Sat, 14 Aug 2004 21:44:27 +0200, Sven Hoexter wrote:
> 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)?
Yeah, I wanted to know that too.
> dpkg -l|grep libc
This is a solution, but no
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'
--
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)?
dpkg -l|grep libc
HTH
Sven
--
It ain't so bad bein' alone if you know it'll never last nothing lasts forever
'cept the certainly of change an
Hello.
Mark D. Hansen:
> How can I find out what version of a package
> I have currently installed (e.g., glibc)?
`apt-cache policy libc6`
This is the only thing I use on a daily basis and didn't
find out how to do with aptitude (in the commandline).
All I came up with is something like
[EMAIL
11 matches
Mail list logo