[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: newbie package question



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

shot@desaxe:~$ aptitude search libc6 -F "%p %v %V"
libapt-inst-libc6.3-5-1.0    <none>     <none>
libapt-pkg-libc6.3-5-3.3     <none>     <none>
libapt-pkg-libc6.3-5-3.5     <none>     <none>
libc6                        2.3.2.ds1- 2.3.2.ds1-
libc6-bin                    <none>     <none>
libc6-dbg                    <none>     2.3.2.ds1-
libc6-dev                    <none>     2.3.2.ds1-
libc6-doc                    <none>     <none>
libc6-i686                   <none>     2.3.2.ds1-
libc6-pic                    <none>     2.3.2.ds1-
libc6-prof                   <none>     2.3.2.ds1-
libc6.1                      <none>     <none>
libc6.1-dbg                  <none>     <none>
libc6.1-dev                  <none>     <none>
libc6.1-pic                  <none>     <none>

...which is dirty, ugly and (in the case of glibc) doesn't work.

Cheers,
-- Shot
-- 
               But seriously, I've got root, so it's his problem.
                               ~~~ Nick Manka ~~~

                                                     http://shot.pl/hovercraft/



Reply to: