Unable to install mysql-server

Added by Gary Foreman over 2 years ago

I'm having a problem installing MySql-Server onto my nexentastor 3.0.4 system. The output is shown below....

root@server1:~# apt-get install mysql-client-5.0 mysql-server-5.0 Reading package lists... Done Building dependency tree
Reading state information... Done Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation:

The following packages have unmet dependencies: mysql-client-5.0: Depends: libdbd-mysql-perl (>= 1.2202) but it is not installable E: Broken packages

So far I haven't been able to find the missing libdbd-mysql-perl package, and don't seem to be able to proceed without it.

Any help would be much appreciated.

Thanks


Replies

RE: Unable to install mysql-server - Added by Roman Strashkin over 2 years ago

bad way (we will fix this bug), but... you need to add NCP repo to your /etc/apt/sources.list and install necessary pkg.

deb http://apt.nexenta.org hardy-stable main contrib non-free

RE: Unable to install mysql-server - Added by Gary Foreman over 2 years ago

I managed to get the application working using the solaris download from the MySql website in the end.

Thanks for your help though Roman.

RE: Unable to install mysql-server - Added by Brenn Oosterbaan about 1 year ago

I am having this exact same issue on NexentaStor 3.1:

*The following packages have unmet dependencies: mysql-server-5.0: Depends: mysql-client-5.0 (>= 5.0.51a-3nexenta7.4-build1) but it is not going to be installed E: Broken packages

The following packages have unmet dependencies: mysql-client-5.0: Depends: libdbd-mysql-perl (>= 1.2202) but it is not installable E: Broken packages

Package libdbd-mysql-perl 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 libdbd-mysql-perl has no installation candidate*

I tried the above solution but apt.nexenta.org does not seem to exist anymore. I did not find a solution on the MySql website, tried installing MySql 5.5 for solaris but this ran into other issues (stpcpy is required, but i was not able to install gnulib).

Is there a fix from nexenta to be able to install mysql 5? Or any hints/tips on how to install mysql 5.5 from the sql website?

regards, Brenn

RE: Unable to install mysql-server - Added by Brenn Oosterbaan about 1 year ago

Found the fix:

add "deb http://apt.nexentastor.org/ncp3 hardy-unstable main contrib non-free" to the /etc/apt/sources.list (found the correct url in the "where did nexenta CP go" thread)