업그레이드하려고 할 때마다 이 메시지가 나타납니다.
sudo apt-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:
libreoffice-avmedia-backend-gstreamer : Depends: libreoffice-core (= 1:6.0.7-0ubuntu0.18.04.9) but 1:6.0.6-0ubuntu0.18.04.1 is installed
libreoffice-base : Depends: libreoffice-core (= 1:6.0.7-0ubuntu0.18.04.9) but 1:6.0.6-0ubuntu0.18.04.1 is installed
libreoffice-base-core : Depends: libreoffice-core (= 1:6.0.7-0ubuntu0.18.04.9) but 1:6.0.6-0ubuntu0.18.04.1 is installed
libreoffice-base-drivers : Depends: libreoffice-core (= 1:6.0.7-0ubuntu0.18.04.9) but 1:6.0.6-0ubuntu0.18.04.1 is installed
libreoffice-calc : Depends: libreoffice-core (= 1:6.0.7-0ubuntu0.18.04.9) but 1:6.0.6-0ubuntu0.18.04.1 is installed
libreoffice-draw : Depends: libreoffice-core (= 1:6.0.7-0ubuntu0.18.04.9) but 1:6.0.6-0ubuntu0.18.04.1 is installed
libreoffice-gnome : Depends: libreoffice-core (= 1:6.0.7-0ubuntu0.18.04.9) but 1:6.0.6-0ubuntu0.18.04.1 is installed
libreoffice-gtk3 : Depends: libreoffice-core (= 1:6.0.7-0ubuntu0.18.04.9) but 1:6.0.6-0ubuntu0.18.04.1 is installed
libreoffice-impress : Depends: libreoffice-core (= 1:6.0.7-0ubuntu0.18.04.9) but 1:6.0.6-0ubuntu0.18.04.1 is installed
libreoffice-math : Depends: libreoffice-core (= 1:6.0.7-0ubuntu0.18.04.9) but 1:6.0.6-0ubuntu0.18.04.1 is installed
libreoffice-ogltrans : Depends: libreoffice-core (= 1:6.0.7-0ubuntu0.18.04.9) but 1:6.0.6-0ubuntu0.18.04.1 is installed
libreoffice-sdbc-hsqldb : Depends: libreoffice-core (= 1:6.0.7-0ubuntu0.18.04.9) but 1:6.0.6-0ubuntu0.18.04.1 is installed
libreoffice-writer : Depends: libreoffice-core (= 1:6.0.7-0ubuntu0.18.04.9) but 1:6.0.6-0ubuntu0.18.04.1 is installed
openjdk-11-jre : Depends: openjdk-11-jre-headless (= 11.0.4+11-1ubuntu2~18.04.3) but 10.0.2+13-1ubuntu0.18.04.4 is installed
python3-uno : Depends: libreoffice-core (= 1:6.0.7-0ubuntu0.18.04.9) but 1:6.0.6-0ubuntu0.18.04.1 is installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
답변1
어떤 경우에는 강제로 재정의할 수도 있습니다.
sudo dpkg --configure --force-overwrite -a
또는:
sudo apt -o Dpkg::Options::="--force-overwrite" --fix-broken install
답변2
sudo apt --fix-broken install
apt v.1.6.12에 유효한 명령이 아닙니다. 도움이 될 것은 다음과 같습니다.
sudo apt install --fix-broken
또는
sudo apt reinstall
답변3
다음을 시도해보세요:
sudo apt --fix-broken install
sudo apt-get update
sudo apt-get upgrade