Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

Stretch installs everything except MySQL

Ask for help with issues regarding the Installations of the Debian O/S.
Post Reply
Message
Author
hatchmo
Posts: 4
Joined: 2017-07-23 17:51

Stretch installs everything except MySQL

#1 Post by hatchmo »

Our upgrade from Jessie to Stretch installs everything except MySQL (MariaDB). This returns nothing:

Code: Select all

locate mariadb

Any mysql command returns this:

Code: Select all

mysql
bash: mysql: command not found
This fails with a dependencies error:

Code: Select all

sudo apt-get install php7.0-mysql
The following packages have unmet dependencies: libapache2-mod-php7.0 : 
Depends: apache2-api-20120211
Depends: apache2-bin (>= 2.4.16) but it is not installed
The problem is not solved by

Code: Select all

apt-get -f install
Here’s a puzzler: The sources.list is identical to the one on our other server, which upgraded to Stretch just fine.
The same error also stops

Code: Select all

apt-get install apache2
I just need a suggestion where to go next. Thanks.

bigrigdriver
Posts: 145
Joined: 2014-09-01 17:04
Location: East Central Illinois, USA

Re: Stretch installs everything except MySQL

#2 Post by bigrigdriver »

Code: Select all

locate mariadb
Did you run updatedb to build the locate database before running the locate command?

This is from the Debian 9 changelog:
2.2.3. MariaDB replaces MySQL

MariaDB is now the default MySQL variant in Debian, at version 10.1. The stretch release introduces a new mechanism for switching the default variant, using metapackages created from the mysql-defaults source package. For example, installing the metapackage default-mysql-server will install mariadb-server-10.1. Users who had mysql-server-5.5 or mysql-server-5.6 will have it removed and replaced by the MariaDB equivalent. Similarly, installing default-mysql-client will install mariadb-client-10.1.
[Important] Important

Note that the database binary data file formats are not backwards compatible, so once you have upgraded to MariaDB 10.1 you will not be able to switch back to any previous version of MariaDB or MySQL unless you have a proper database dump. Therefore, before upgrading, please make backups of all important databases with an appropriate tool such as mysqldump.

The virtual-mysql-* and default-mysql-* packages will continue to exist. MySQL continues to be maintained in Debian, in the unstable release. See the Debian MySQL Team wiki page for current information about the mysql-related software available in Debian.
Registered GNU/Linux user #170078

Go ask google before you ask on these boards.

It it isn't broken, Tweak It !!!

hatchmo
Posts: 4
Joined: 2017-07-23 17:51

Re: Stretch installs everything except MySQL

#3 Post by hatchmo »

Yes, I did. I am just unable to install MySQL.

Bulkley
Posts: 6386
Joined: 2006-02-11 18:35
Has thanked: 2 times
Been thanked: 39 times

Re: Stretch installs everything except MySQL

#4 Post by Bulkley »

hatchmo wrote:The sources.list is identical to the one on our other server . . .
Which is ?

Post Reply