New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Errors while installing on Debian 8 #69
Comments
I suspect this has nothing to do with this Ansible role, more likely someone screwed the MySQL package at Debian... |
Switching to MariaDB is my current workaround ... |
Yeah, definitely looks like a package issue with apt :( I'll leave this open in case anyone else has any ideas or sees a different solution besides temporarily (or permanently!) switching to MariaDB on any systems getting this error. |
@hrstoyanov can you share your playbook, vars, roles and all other files. I can try to solve this problem. |
@mightydok @geerlingguy Here is how to reproduce it with Docker container: a. Create a docker image "test" based on this Dockerfile:
b. Create container devbox.
c. Start the container
and make sure you can SSH to it as root/root:
d. Run playbook that takes the default
e. After the test, you can clean up with: |
@hrstoyanov, oh i see:
Ansible will not use this var without inventory file, so i think you run playbook on host server, NOT docker container. So this line:
I think apt raise an error when u try downgrade ur HOST mariadb 10 server to mysql 5.5. You must use inventory file for ansible-playbook, just run:
And try to rerun role, all will install successfully. |
@mightydok
|
@hrstoyanov i create inventory file and successfully use role for mysql install in just created container of debian stable. I recheck and sure that mysql install in container, so i cant reproduce your error. |
I think I am experiencing a similar issue.
This is the first thing I do an a fresh ubuntu/trusty64 box and I get these errors. I am not that familiar with these types of issues. Does this mean that mysql-server can't be installed on ubuntu systems? Is there a way for me to change the package being installed? New to ansible ... would really like to be able to use this ansible role :) |
Typically you'd use this role to do the complete installation; does this role fail, or does the failure only occur if you ssh in and run |
As an aside, I've been using this role with Raspbian 8/Jessie for Raspberry Pi work and haven't encountered any issues. I wonder if the AMD64 packages for MySQL in Debian's repos are at fault? |
Originally I thought it was this package causing the problem (sorry), but then I managed to recreate the issue on a fresh install of ubuntu/trusty64 (no other changes) and executing I think you are correct, it looks like Debian's repos are the problem. I will see if I can get a response from them on their forums. Cheers. |
I'm going to close out this issue as I can't reproduce on Ubuntu 14.04, Ubuntu 16.04, or Debian 8 currently. Probably a temporary packaging issue. |
The text was updated successfully, but these errors were encountered: