# apt install libcurl3
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
virtualbox-6.0: Depends:libfontconfig1(>=2.11.94) but it is not going to be installed
Depends: libgl1-mesa-glx but it is not going to be installed or
libgl1
Depends:libice6(>=1:1.0.0) but it is not going to be installed
Depends:libopus0(>=1.1) but it is not going to be installed
Depends: libsdl1.2debian(>=1.2.11) but it is not going to be installed
Depends: libsm6 but it is not going to be installed
Depends:libvpx3(>=1.5.0) but it is not going to be installed
Depends: libx11-xcb1 but it is not going to be installed
Depends:libxcursor1(>1.1.2) but it is not going to be installed
Depends: libxmu6 but it is not going to be installed
Depends: libxrender1 but it is not going to be installed
Depends: libxt6 but it is not going to be installed
Recommends: libasound2
Recommends: libpulse0 but it is not going to be installed
Recommends: libsdl-ttf2.0-0 but it is not going to be installed
Recommends: gcc but it is not going to be installed
Recommends: make or
build-essential but it is not going to be installed or
dpkg-dev but it is not going to be installed
Recommends: binutils but it is not going to be installed
Recommends: pdf-viewer
Recommends: libgl1
E: Unmet dependencies. Try 'apt-get -f install'with no packages(or specify a solution).
この問題の理由は、たとえばUbuntuでは、Ubuntu 14.04または16.04は通常、依存関係が壊れていたり、依存関係が満たされていないようには見えないためですが、dpkgを使用して特定のdebパッケージを強制的にインストールする場合、またはbuild-depにあるかどうか一部のパッケージのファイルとバージョンを手動で変更する場合、apt-get installまたはbuild-depを使用してパッケージを再インストールすると、上記の問題が発生する可能性があります。
プロンプトに従ってコマンドを実行できます。問題が変わらない場合は、コマンドを実行しようとします。
first step
sudo apt-get-f install
sudo apt-get update
sudo apt-get upgrade
second step
sudo apt-get update
sudo apt-get clean
sudo apt-get autoremove
third step
sudo apt --fix-broken install
sudo apt-get update && sudo apt-get upgrade
sudo dpkg --configure -a
sudo apt-get install -f
上記の手順を実行すると、基本的に問題は解決できます
Recommended Posts