How to install mysql package from CD

Asked by ismail

Hi i have installed ubuntu 7.04 in my home PC,but later when i tried to run mysql-server it committed that "mysql package not found"..
ismail@ismail~$:sudo apt-get install mysql-server 5.0
E:mysql package not found.

Then i browsed through my bootable CD,i found "mysql-dfsg" folder available, but i don't know how to install it to my system and run it..

I am new to linux and i don have a net connection to my PC.. Help me to fix this problem...

Thanks...

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Ralph Janke (txwikinger) said :
#1

Thanks for the question.

You probably did not find the package, because it has been updated in the repository, but these have not been transferred to your computer.

Execute

sudo apt-get update

and try to install again with

sudo apt-get install mysql-server-5.0

If you want to use the CD you best use a package manager to add the CD to you sources. Then it will also look on your CD. However, the package on your CD are likely older and superseeded by packages in the repository archive available online.

Hope this helps.

Revision history for this message
ismail (ismailmohamme) said :
#2

hey when i followed your instructions it says,

ismail@ismail-desktop:~$ sudo apt-get update
Ign cdrom://Ubuntu 5.04 _Hoary Hedgehog_ - Release i386 (20050407) hoary/main Translation-en_US
Ign cdrom://Ubuntu 5.04 _Hoary Hedgehog_ - Release i386 (20050407) hoary/restricted Translation-en_US
Ign cdrom://Ubuntu 7.10 _Gutsy Gibbon_ - Release i386 (20071016) gutsy/main Translation-en_US
Ign cdrom://Ubuntu 7.10 _Gutsy Gibbon_ - Release i386 (20071016) gutsy/restricted Translation-en_US
Reading package lists... Done

ismail@ismail-desktop:~$ sudo apt-get install mysql-server-5.0
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Couldn't find package mysql-server-5.0

then i tried with this,

ismail@ismail-desktop:~$ sudo apt-get install mysql-client
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package mysql-client is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
libmysqlclient12 libmysqlclient10
E: Package mysql-client has no installation candidate

ismail@ismail-desktop:~$ sudo apt-get install mysql-server
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package mysql-server is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package mysql-server has no installation candidate

ismail@ismail-desktop:~$

wat to do??
I need to use mysql as soon as possible..
Can u give me a brief steps to solve my problem plz...

Thanks .................

Revision history for this message
Ralph Janke (txwikinger) said :
#3

You have no network repositories configured.

Here are instructions how to configure the repositories: https://help.ubuntu.com/community/Repositories/Ubuntu

Hope this helps.

Can you help with this problem?

Provide an answer of your own, or ask ismail for more information if necessary.

To post a message you must log in.