How to check what version of a package is available in the current ubuntu?
NoOp
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.
> <clipped>
>> 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
>> updated?
>>
>> http://packages.ubuntu.com/search?keywords=bash&searchon=names&suite=karmic§ion=all
>
> 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
<http://gnu.org/licenses/gpl.html>
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
bash:
Installed: 4.0-5ubuntu2
Candidate: 4.0-5ubuntu2
Version table:
*** 4.0-5ubuntu2 0
500 http://archive.ubuntu.com karmic/main Packages
100 /var/lib/dpkg/status
As you can see, it's _not_ 4.0.5, it's actually 4.0.33 (in Ubuntu
language: 4.0-5ubuntu2).
@Peng Yu: for your search, use:
http://packages.ubuntu.com/search?suite=all&searchon=names&keywords=bash
and you'll see 'Package bash' and the versions for all from dapper to lucid.
More information about the ubuntu-users
mailing list