반응형
mariadb-client-core-10.5 : 종속: libreadline5(> = 5.2)이지만 설치할 수 없습니다.
mariadb-server를 설치할 수 없습니다.다음 명령을 실행합니다.
sudo apt 설치 mariadb-server mariadb-client -y
다음 메시지가 나타납니다.
Building dependency tree... Done
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies.
mariadb-client-core-10.5 : Depends: libreadline5 (>= 5.2) but it is not installable
E: Unable to correct problems, you have held broken packages.
이러한 의존성을 어떻게 해결할 수 있습니까?
미리 감사드립니다!!!
=========================================
sudo apt 설치 mariadb-client-core-10.5-y
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies.
mariadb-client-core-10.5 : Depends: libreadline5 (>= 5.2) but it is not installable
E: Unable to correct problems, you have held broken packages.
저는 적성에 맞게 노력했습니다.
** sudo 적성 설치 mariadb-server **
The following NEW packages will be installed:
gawk{a} libsigsegv2{a} mariadb-server{b}
0 packages upgraded, 3 newly installed, 0 to remove and 19 not upgraded.
Need to get 434 kB of archives. After unpacking 1.772 kB will be used.
The following packages have unmet dependencies:
mariadb-server : Depends: mariadb-server-10.5 (>= 1:10.5.15+maria~focal) but it is not installable
The following actions will resolve these dependencies:
Keep the following packages at their current version:
1) mariadb-server [Not Installed]
Accept this solution? [Y/n/q/?] Y
The following NEW packages will be installed:
gawk{a} libsigsegv2{a}
0 packages upgraded, 2 newly installed, 0 to remove and 19 not upgraded.
Need to get 430 kB of archives. After unpacking 1.761 kB will be used.
Do you want to continue? [Y/n/?] Y
Get: 1 http://es.archive.ubuntu.com/ubuntu impish/main amd64 libsigsegv2 amd64 2.13-1ubuntu2 [14,6 kB]
Get: 2 http://es.archive.ubuntu.com/ubuntu impish/main amd64 gawk amd64 1:5.1.0-1build1 [416 kB]
Fetched 430 kB in 1s (718 kB/s)
Selecting previously unselected package libsigsegv2:amd64.
(Reading database ... 209196 files and directories currently installed.)
Preparing to unpack .../libsigsegv2_2.13-1ubuntu2_amd64.deb ...
Unpacking libsigsegv2:amd64 (2.13-1ubuntu2) ...
Setting up libsigsegv2:amd64 (2.13-1ubuntu2) ...
Selecting previously unselected package gawk.
(Reading database ... 209203 files and directories currently installed.)
Preparing to unpack .../gawk_1%3a5.1.0-1build1_amd64.deb ...
Unpacking gawk (1:5.1.0-1build1) ...
Setting up gawk (1:5.1.0-1build1) ...
Processing triggers for man-db (2.9.4-2) ...
Processing triggers for libc-bin (2.34-0ubuntu3.2) ...
고객을 적합하게 설치했습니다.
** sudo 적성 설치 mariadb-client **
The following NEW packages will be installed:
mariadb-client{b}
0 packages upgraded, 1 newly installed, 0 to remove and 19 not upgraded.
Need to get 3.096 B of archives. After unpacking 10,2 kB will be used.
The following packages have unmet dependencies:
mariadb-client : Depends: mariadb-client-10.5 (>= 1:10.5.15+maria~focal) but it is not installable
The following actions will resolve these dependencies:
Keep the following packages at their current version:
1) mariadb-client [Not Installed]
Accept this solution? [Y/n/q/?]
No packages will be installed, upgraded, or removed.
0 packages upgraded, 0 newly installed, 0 to remove and 19 not upgraded.
Need to get 0 B of archives. After unpacking 0 B will be used.
클라이언트가 여전히 연결되지 않음...
Command 'mysql' not found, but can be installed with:
sudo apt install mysql-client-core-8.0 # version 8.0.28-0ubuntu0.21.10.3, or
sudo apt install mariadb-client-core-10.5 # version 1:10.5.15-0ubuntu0.21.10.1
juanma@juanma-HP-Laptop-17-ca1xxx:~$ mariadb
Command 'mariadb' not found, but can be installed with:
sudo apt install mariadb-client-core-10.5
juanma@juanma-HP-Laptop-17-ca1xxx:~$ sudo apt install mariadb-client-core-10.5 -y
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies.
mariadb-client-core-10.5 : Depends: libreadline5 (>= 5.2) but it is not installable
E: Unable to correct problems, you have held broken packages.
감사해요.
============================================================
결국 저는 도커와 대본으로 해보았는데 완벽하게 작동했습니다.모두 감사합니다.
#!/bin/bash
docker run --name mariadbtest -e MYSQL_ROOT_PASSWORD=mypass -p 3306:3306 -d docker.io/library/mariadb:10.3
sudo apt install mysql-client-core-8.0
mysql -h 172.17.0.2 -u root -p
결국 저는 도커와 대본으로 해보았는데 완벽하게 작동했습니다.모두 감사합니다.
#!/bin/bash
docker run --name mariadbtest -e MYSQL_ROOT_PASSWORD=mypass -p 3306:3306 -d docker.io/library/mariadb:10.3
sudo apt install mysql-client-core-8.0
mysql -h 172.17.0.2 -u root -p
언급URL : https://stackoverflow.com/questions/71409165/mariadb-client-core-10-5-depends-libreadline5-5-2-but-it-is-not-installa
반응형
'programing' 카테고리의 다른 글
레이어 코너 Radius를 하단 왼쪽, 하단 오른쪽 및 상단 왼쪽 코너에만 설정하는 방법은 무엇입니까? (0) | 2023.09.23 |
---|---|
카트 및 체크아웃 페이지 우커머스에서 주문 합계를 제거하는 방법 (0) | 2023.09.23 |
두 개의 어레이를 동시에 반복 (0) | 2023.09.23 |
우커머스는 이름을 사용하여 상품 속성 ID를 가져옵니다. (0) | 2023.09.23 |
워드프레스/우커머스 훅이 불이 붙지 않습니까? (0) | 2023.09.23 |