How to check what version of a package is available in the current ubuntu?
glgxg at sbcglobal.net
Fri Feb 12 17:21:55 UTC 2010
On 02/12/2010 09:02 AM, Hakan Koseoglu wrote:
> On Fri, Feb 12, 2010 at 4:52 PM, Peng Yu <pengyu.ut at gmail.com> wrote:
>> My bash is of the following version. I'm wondering if I want to update
>> bash what version I will get.
>> I searched on the ubuntu website. There are too many related packages.
>> Could somebody let me know which one will be used when bash is
> What's the problem with this link? It correctly shows that the bash
> package version is 4.0.5.
It can be confusing...
$ bash --version
GNU bash, version 4.0.33(1)-release (i486-pc-linux-gnu)
Copyright (C) 2009 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later
This is free software; you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
$ apt-cache policy bash
*** 4.0-5ubuntu2 0
500 http://archive.ubuntu.com karmic/main Packages
As you can see, it's _not_ 4.0.5, it's actually 4.0.33 (in Ubuntu
@Peng Yu: for your search, use:
and you'll see 'Package bash' and the versions for all from dapper to lucid.
More information about the ubuntu-users