私はUbuntu 20.04を持っていてコマンドを実行しようとすると、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.
libc6 : Breaks: libc6:i386 (!= 2.27-3ubuntu1.6.ubuntu.bionic.custom) but 2.27-3ubuntu1.6 is installed
libc6:i386 : Breaks: libc6 (!= 2.27-3ubuntu1.6) but 2.27-3ubuntu1.6.ubuntu.bionic.custom is installed
libc6-dbg : Depends: libc6 (= 2.27-3ubuntu1.6) but 2.27-3ubuntu1.6.ubuntu.bionic.custom is installed
libc6-dev : Depends: libc6 (= 2.27-3ubuntu1.6) but 2.27-3ubuntu1.6.ubuntu.bionic.custom is installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
コマンドを実行しようとすると、sudo apt --fix-broken install
次の結果が表示されます。
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... failed.
The following packages have unmet dependencies.
libc6 : Breaks: libc6:i386 (!= 2.27-3ubuntu1.6.ubuntu.bionic.custom) but 2.27-3ubuntu1.6 is installed
libc6:i386 : Breaks: libc6 (!= 2.27-3ubuntu1.6) but 2.27-3ubuntu1.6.ubuntu.bionic.custom is installed
libc6-dbg : Depends: libc6 (= 2.27-3ubuntu1.6) but 2.27-3ubuntu1.6.ubuntu.bionic.custom is installed
libc6-dev : Depends: libc6 (= 2.27-3ubuntu1.6) but 2.27-3ubuntu1.6.ubuntu.bionic.custom is installed
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
E: Unable to correct dependencies
パッケージをインストールできません!