ziishaned / opus

Open source knowledge base application for Teams
Other
1.23k stars 158 forks source link

docker-compose -up error step #127

Open SorianoTech opened 5 years ago

SorianoTech commented 5 years ago

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
daniellivingston commented 4 years ago

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

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