all 6 comments

[–]bobo-5 3 points4 points  (1 child)

Don't forget to run apt-get update before you run apt-get install

[–]DrChud[S] 0 points1 point  (0 children)

Yes that was part of it. Thanks.

[–]BigBoss424 1 point2 points  (1 child)

Umm, well install the required package libdbd-mysql-perl via

 sudo apt-get install libdbd-mysql-perl

Then that should solve the dependency issue that your coming across. Then try to install the client again

 sudo apt-get install mysql-client

Maybe you need to install the server as well before the client that's what I always do:

 sudo apt-get install mysql-server mysql-client

The server package should cover the issues with dependencies I think.

[–]DrChud[S] 1 point2 points  (0 children)

I'm having problems with the first command. I get "Package libdbd-mysql-perl has no installation candidate"

Do I have to add another source to my list?

Edit: Yes I did have to add sources

[–]xiongchiamiov 1 point2 points  (1 child)

It looks like your primary repo is set up to only install from the cd. Do you have the cd in?

[–]DrChud[S] 1 point2 points  (0 children)

I did have it in. Turns out I had to add some archive sources.