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

docker-compose -up error step #127

Open
SorianoTech opened this issue Sep 13, 2019 · 1 comment
Open

docker-compose -up error step #127

SorianoTech opened this issue Sep 13, 2019 · 1 comment

Comments

@SorianoTech
Copy link
Contributor

An error occurred after the command: docker-compose up

The file affected is app.docker

E: Package 'mysql-client' has no installation candidate
ERROR:

All code:

Building dependency tree...
Reading state information...
Package mysql-client is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'mysql-client' has no installation candidate
ERROR: Service 'app' failed to build: The command '/bin/sh -c apt-get update   && apt-get install -y git zip libmcrypt-dev libfreetype6-dev libjpeg62-turbo-dev libpng-dev mysql-client libmagickwand-dev   && apt-get clean   && pecl install mcrypt imagick   && docker-php-ext-enable imagick   && docker-php-ext-install pdo_mysql   && curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer' returned a non-zero code: 100

SorianoTech added a commit to SorianoTech/opus that referenced this issue Sep 13, 2019
Issue ziishaned#127

update mysql-client to default-mysql-client
@daniellivingston
Copy link

To solve, edit app.docker to apt-get install default-mysql-client instead of mysql-client.

For more information: https://askubuntu.com/a/1160648

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants