LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   apt-get question (https://www.linuxquestions.org/questions/linux-newbie-8/apt-get-question-224736/)

tommytomato 08-31-2004 06:28 AM

apt-get question
 
Hi all

I loaded in apt ok seems to work ok

when i try to upgrade MySQL is says i have the latest version

then again on my nuke platform which is our site it says i have MySQL: 3.23.58

I tried using apt-get install mysql

and thats when it said i have the latest

is there a way to find out the version i have for sure, i have lost the command.

OS is Fedora Core 2
TT

scissors 08-31-2004 01:32 PM

apt-cache show mysql-server
will show what the latest version available is using apt, so if it says you are up to date, then this is what you have.

To look using mysql:
mysql --version

detpenguin 08-31-2004 03:04 PM

after you installed apt...did you run apt-get -update? this will update all the available packages to choose from.

sketelsen 08-31-2004 04:10 PM

Also, depending on the repositories apt is using, you may not have the latest and greatest version of mysql installed/available on your system. debian has three main repositories: /stable, which is their current version, soon to be replaced by /testing. Finally, /unstable is full of packages that are still under development to integrate into future versions of debian.

Besides the repositories that are available from official debian mirrors, there are many, many repositories out there for backports to popular new applications, and other nifty stuff. Check out http://apt-get.org for a very complete listing.

tommytomato 09-01-2004 05:01 AM

Thanks guys i've a few probs, killed the system today

so i'm back into it

never did work out upgrade mysql

so i'm trying apt-get upgrade

see if that does the trick

Question does that upgrade all packages that need upgrading ?

TT

halo14 09-01-2004 09:11 AM

Dude.. your problem is that whatever repository apt is pointing to, only has up to that specified version of MySQL... If you want a newer version... go to www.mysql.com and download the newer version.. it's not so hard...

detpenguin 09-01-2004 11:48 AM

Quote:

Dude.. your problem is that whatever repository apt is pointing to, only has up to that specified version of MySQL... If you want a newer version... go to www.mysql.com and download the newer version.. it's not so hard...
sometimes we work so hard at figuring out a problem, and forget the simplicity of just actually going to the site and downloading the latest... *sigh*

halo14 09-01-2004 12:19 PM

lol..

sketelsen 09-02-2004 05:25 PM

another thing: search your apt-cache for higher major version numbers. i think mysql4 is designated as mysql4 in debian unstable. if you apt-get install mysql, it defaults to the latest 3.x version.

2 cents.


All times are GMT -5. The time now is 02:31 PM.