Mysql package issues

I am trying to switch over to flywheel local and its giving me strife trying to set up a few custom things.

First of all, the major issue is every new site i create seems to have some sort of version clashes seen here:

mysql-community-server : Depends: mysql-client (= 5.6.37-1debian8)
mysql-server : Depends: mysql-community-server (= 5.6.39-1debian8)

This happens when i try to install anything. Like, if I go apt-get install git, I get that.

I have tried just about anything to make it work and the only thing that worked was sudo apt-get --purge autoremove <packages>

Then I had to manually reinstall all the mysql stuff and get that going again. I had to create a new database and link it up manually to wp-config.

Once this was finally working I could move onto getting wordmove working, which had a whole new set of issues.

I just want to be able to set up sites locally and have wordmove ready and working. Everytime I set up a whole new workflow, it breaks when theres updates and i try something else. First VVV, then scotchbox. Im hoping flywheel local will work for me. Does anyone have any clues?

Okay so to make it clearer, I seem to get the mysql issues after running this script: https://gist.github.com/phillcoxon/27d27a4a64e82a2dbb7edf942628cbdc

Hey @ryanfurto,

Can you provide a screenshot of your terminal when this happens? Or, copy and paste whatever is visible in Terminal.

Thanks Clay, here is an example of trying to install from apt-get

root@2a49f043695c:/# apt-get install dialog
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
mysql-community-server : Depends: mysql-client (= 5.6.37-1debian8)
mysql-server : Depends: mysql-community-server (= 5.6.39-1debian8) but 5.6.37-1debian8 is to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).

Here is another example of trying to get it to work:

root@0e2fd92f39d4:/# apt-get update && apt-get upgrade && apt-get -f install
Hit http://repo.mysql.com jessie InRelease
Hit http://security.debian.org jessie/updates InRelease
Get:1 http://repo.mysql.com jessie/mysql-5.6 amd64 Packages [2924 B]
Ign http://deb.debian.org jessie InRelease
Hit http://httpredir.debian.org jessie-backports InRelease
Get:2 http://security.debian.org jessie/updates/main amd64 Packages [629 kB]
Hit http://deb.debian.org jessie-updates InRelease
Hit http://deb.debian.org jessie Release.gpg
Get:3 http://httpredir.debian.org jessie-backports/main Sources [1061 kB]
Get:4 http://httpredir.debian.org jessie-backports/contrib Sources [7150 B]
Hit http://deb.debian.org jessie Release
Get:5 http://httpredir.debian.org jessie-backports/non-free Sources [10.2 kB]
Get:6 http://deb.debian.org jessie-updates/main amd64 Packages [23.1 kB]
Get:7 http://httpredir.debian.org jessie-backports/main amd64 Packages [1172 kB]
Get:8 http://httpredir.debian.org jessie-backports/contrib amd64 Packages [10.7 kB]
Get:9 http://httpredir.debian.org jessie-backports/non-free amd64 Packages [32.1 kB]
Get:10 http://deb.debian.org jessie/main amd64 Packages [9064 kB]
Fetched 12.0 MB in 14s (844 kB/s)
Reading package lists... Done
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these.
The following packages have unmet dependencies:
mysql-community-server : Depends: mysql-client (= 5.6.37-1debian8)
mysql-server : Depends: mysql-community-server (= 5.6.39-1debian8) but 5.6.37-1debian8 is installed
E: Unmet dependencies. Try using -f.

https://www.paste.org/flat/91105

This is when I run this code

apt-get update && apt-get install -y curl && curl -Lk https://goo.gl/HAxii5 | sh

Hi @ryanfurto,

Thanks for the details!

It looks like there might be an issue with the repository/.deb file that Local uses for MySQL 5.6.

We’re working on updating the Custom environment so I’ll make a note to look into why this is happening.