half-lib-cのインストールにより起動とインストールが破損する

half-lib-cのインストールにより起動とインストールが破損する

私はwavemonをインストールしようとしましたが、最終的にapt-getでいくつかのlibc関連パッケージをインストールしました。システムはログイン画面から起動しなくなりました。

root@pc:~# apt-get check
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:
 libc-bin : Depends: libc6 (< 2.28) but 2.28-8 is installed
 libc-dev-bin : Depends: libc6 (< 2.28) but 2.28-8 is installed
 libc6 : Breaks: locales (< 2.28) but 2.27-3ubuntu1 is installed
         Breaks: nscd (< 2.28)
         Recommends: libidn2-0 (>= 2.0.5~) but 2.0.4-1.1build2 is installed
 libc6-dbg : Depends: libc6 (= 2.27-3ubuntu1) but 2.28-8 is installed
 libc6-dev : Depends: libc6 (= 2.27-3ubuntu1) but 2.28-8 is installed
 libcogl20 : Depends: libgbm1 (>= 8.1~0) but it is not installed
 libegl-mesa0 : Depends: libgbm1 (= 18.2.2-0ubuntu1~18.04.2) but it is not installed
 libgstreamer-gl1.0-0 : Depends: libgbm1 (>= 8.1~0) but it is not installed
 libmutter-2-0 : Depends: libgbm1 (>= 17.1.0~rc2) but it is not installed
 libnl-genl-3-200 : Depends: libnl-3-200 (= 3.4.0-1) but 3.2.29-0ubuntu3 is installed
 libqt5gui5 : Depends: libgbm1 (>= 8.1~0) but it is not installed
 nscd : Depends: libc6 (< 2.28) but 2.28-8 is installed
 xserver-xorg-core : Depends: libgbm1 (>= 10.2~0) but it is not installed
 xserver-xorg-video-amdgpu : Depends: libgbm1 (>= 8.1~0) but it is not installed
 xwayland : Depends: libgbm1 (>= 10.2~0) but it is not installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
root@pc:~#

編集1:

スタート画面: 起動ログ

ベストアンサー1

libc6ディストリビューションに適したバージョンにダウングレードする必要があります。

sudo apt install libc6=2.27-3ubuntu1

他の破損した依存関係が失敗する可能性があり、それらを削除またはダウングレードする必要があります。

WavemonはUbuntu 18.04で利用可能で、このバージョン(0.8.1)をインストールできます。

sudo apt install wavemon/bionic

libc6これにより、システムに不適切なバージョンが導入されるのを防ぎます。

おすすめ記事