Skip to content
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

Travis build error during mysql-server install #14260

Closed
zsilbi opened this issue Jul 24, 2019 · 4 comments
Closed

Travis build error during mysql-server install #14260

zsilbi opened this issue Jul 24, 2019 · 4 comments
Labels
bug A bug report status: low Low

Comments

@zsilbi
Copy link
Member

zsilbi commented Jul 24, 2019

It fails to install mysql-server, so all the new CI builds fail.
See: #14259

The following packages have unmet dependencies:
 mysql-server : Depends: mysql-server-5.5 but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
Looking for 'mysql' as: mysql
Looking for 'mysqlcheck' as: mysqlcheck
This installation of MySQL is already upgraded to 5.6.33, use --force if you still need to run mysql_upgrade
The command ".ci/install-mysql-5.7.sh" failed and exited with 1 during .

https://travis-ci.org/phalcon/cphalcon/builds/563215912

@sergeyklay
Copy link
Contributor

It is weird that file called install-mysql-5.7.sh tries to install mysql 5.5. @SidRoberts Any idea?

@ruudboon ruudboon mentioned this issue Jul 25, 2019
5 tasks
@SidRoberts
Copy link
Contributor

I have no idea but I had a similar problem a while back though. The official builds would run fine on Travis but mine would fail - interestingly because of this MySQL script. The problem was because Travis was using different Ubuntu versions. I fixed this in #14189 by specifying trusty.

It's interesting to note that on this commit, the Phalcon build passed but my build failed:

I'll take a look and see what I can remember.

@SidRoberts
Copy link
Contributor

Just to provide an update to this, I'm currently working on changing the Ubuntu version used in Travis to 18.04 (bionic). We're currently using 14.04 (trusty) which is woefully outdated and I suspect might be causing some of these problems. It's not complete yet but should be finished today.

@sergeyklay
Copy link
Contributor

Fixed in the 4.0.x branch. Feel free to open a new issue if the problem appears again. Thank you for contributing.

@niden niden added 4.0 labels Aug 9, 2019
@niden niden added bug A bug report status: low Low and removed Bug - Low labels Dec 23, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug A bug report status: low Low
Projects
None yet
Development

No branches or pull requests

4 participants