Skip to content

Commit 48b3002

Browse files
committed
Erase MySQL packages
The pre-installed package conflicts with what is installed by devstack later creating this error: ``` The following packages have unmet dependencies: mysql-server : Depends: mysql-server-8.0 but it is not going to be installed ``` To workaround this, just purge the package here and devstack will re-install it later anyway.
1 parent 9a9ac66 commit 48b3002

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

action.yaml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,8 @@ runs:
1919
- name: Install python pip
2020
run: python -m pip install --upgrade pip
2121
shell: bash
22-
# https://github.com/actions/virtual-environments/blob/main/images/linux/Ubuntu2004-README.md#mysql
23-
- name: Start MySQL
24-
run: sudo systemctl start mysql.service
22+
- name: Erase MySQL package
23+
run: sudo apt-get purge mysql-* || true
2524
shell: bash
2625
# This is to avoid RabbitMQ to fail at startup because a wrong version of erlang was installed
2726
- name: Workaround for RabbitMQ

0 commit comments

Comments
 (0)