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

Re: Unable to get MySQL 3.23



Chrys wrote:

Hi boys and girls,

This one is probably an easy one, but I can't find the answer alone :-(

I just installed Debian and the MySQL pkg.
But it installed 3.22.  I need 3.23, so I looked and found 3.23 in the test
pkgs.  So I read how to use apt-get to install a test package, but the
answers I found don't work for me :-/

I tried to do apt-get install mysql-server/testing
like it says in this link http://www.debian.org/doc/manuals/apt-
howto/index.en.html
This is what I get
Reading Package Lists... Done
Building Dependency Tree... Done
E: Couldn't find package mysql-server/testing

and tried to create a preferences file in the /etc/apt/ folder, but either
way, I can't get MySQL 3.23 installed :-(

Any ideas ?

Chrys
chrys@chrys.ca





Checklist:
1 - does sources.list include an entry for both stable and testing?
2 - preferenced should have (to be really safe) entries for a=testing & a=stable
3 - apt-get -t testing install mysql...  may work better.

Another way to do it:
skip the preferences part - no file needed
"apt-get update && apt-get install mysql" will give you a testing installation of mysql and anything else it asks for (could be many testing modules...). When you are done, re-edit sources.list to remove the testing sources and re-run apt-get update to get a new Package List (with no testing stuff in it).

I've not tried the first method as I just heard about it.
I've tried the second one before and it works fine.
I have all my toys on -testing right now. It's stable enough for me to use daily.

However, if you are heavily invested in MySQL, it might be worthwhile to think about creating your own installation of MySQL. That practice will give you the experience necessary to upgrade to the latest MySQL release if it becomes necessary without waiting for the deb package development. Or, become a contributor to the MySQL deb development and help us all out! :)

I hope this helps.



Reply to: