반응형
우분투에서 갑자기 의존성이 깨져서 api-get upgrade를 했더니 오류가 발생
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
mariadb-server : Depends: mariadb-server-10.3 (>= 1:10.3.29-0ubuntu0.20.04.1) but 1:10.3.28+maria~focal is installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
apt --fix-broken install를 수행함
또 에러 발생
dpkg: error processing archive /var/cache/apt/archives/mariadb-server-core-10.3_1%3a10.3.32-0ubuntu0.20.04.1_amd64.deb (--unpack):
trying to overwrite '/usr/bin/my_print_defaults', which is also in package mariadb-server-10.3 1:10.3.28+maria~focal
dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
dpkg: regarding .../mariadb-server-10.3_1%3a10.3.32-0ubuntu0.20.04.1_amd64.deb containing mariadb-server-10.3:
mariadb-server-10.3 conflicts with mysql-server-core-5.5
mariadb-server-core-10.3 provides mysql-server-core-5.5 and is present and installed.
해결
sudo dpkg -i --force-overwrite /var/cache/apt/archives/mariadb-server-core-10.3_1%3a10.3.32-0ubuntu0.20.04.1_amd64.deb
sudo apt --fix-broken install
반응형
'개발' 카테고리의 다른 글
HTTP/1.x와 HTTP/2 알아보기 (0) | 2022.02.24 |
---|---|
자바스크립트 키 동시 입력 이벤트 (0) | 2022.02.20 |
웹팩 정리 (0) | 2022.01.31 |
자바스크립트 웹 화면 캡쳐를 해보자 (0) | 2022.01.27 |
자바스크립트 반복문에서 비동기 처리를 동기적으로 처리하기 (0) | 2021.12.05 |