raspberrypi/raspbian

056. Raspberry Pi 라즈베리파이 - E: Package 'mysql-client' has no installation candidate

ZelKun 2022. 2. 10. 00:28
반응형

이번에 raspberry pi 4 8g 를 구입해서

이전에 사용하던 파이를 대체하기위해

bullseye 커널로 다시 세팅중인데

mysql을 설치하려니 해당 오류가 나온다

 

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

 

pi@rasp-dev:~ $ sudo apt-get install mysql-client mysql-server -y
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Package mysql-server 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

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
E: Package 'mysql-server' has no installation candidate

뭐지 싶어서 mysql로 찾아보니 해당패키지가 없... 다

pi@rasp-dev:~ $ sudo apt install mysql
mysql-common   mysql-sandbox  mysqltcl       mysqltuner

mysql-common 은 보이긴한다

 

결국 내려갔구나.. 싶으니

mariadb 로 설치해주자

pi@rasp-dev:~ $ sudo apt install mariadb-client mariadb-server -y
mariadb-backup                          mariadb-plugin-oqgraph
mariadb-client                          mariadb-plugin-rocksdb
mariadb-client-10.5                     mariadb-plugin-s3
mariadb-client-core-10.5                mariadb-plugin-spider
mariadb-common                          mariadb-server
mariadb-plugin-connect                  mariadb-server-10.5
mariadb-plugin-cracklib-password-check  mariadb-server-core-10.5
mariadb-plugin-gssapi-client            mariadb-test
mariadb-plugin-gssapi-server            mariadb-test-data
mariadb-plugin-mroonga

mariadb 는 잘만나온다

반응형