[GRLUG] Debian
zdennis
zdennis at mktec.com
Wed Dec 7 14:04:01 EST 2005
David Pembrook wrote:
> How do you know what version of a given package is in what state
> (stable,testing...) I've always left machines stock in that regard but I
> want to try say... the newest MySQL.. Whenever I've use apt on redhat,
> I'm just getting the latest in the current major release but never a
> jump from say 3.x to 4.x which makes sence as they've made substantial
> changes and you need to be carefull doing that kind of jump. Is Debian
> going to let me specify using apt what version of MySQL I get for instance?
>
You can use:
> apt-cache search libmysql | cut -d" " -f1 | xargs apt-cache show | grep -E "Package|Version"
To output:
Package: libmysqlclient10
Version: 3.23.56-3
Package: libmysqlclient10-dev
Version: 3.23.56-3
Package: libmysqlclient12
Version: 4.0.24-10sarge1
Package: libmysqlclient12
Version: 4.0.24-10
Package: libmysqlclient12-dev
Version: 4.0.24-10sarge1
Package: libmysqlclient12-dev
Version: 4.0.24-10
Package: libmysqlclient14
Version: 4.1.11a-4sarge2
Package: libmysqlclient14
Version: 4.1.11a-4
Package: libmysqlclient14-dev
Version: 4.1.11a-4sarge2
Package: libmysqlclient14-dev
Version: 4.1.11a-4
Where the version goes to the above package, this way you can pick the package to install which
matches the version you want...
Zach
More information about the grlug
mailing list