klibc-utils: libklibc(= 2.0.4-2) に依存しますが、インストールには 2.0.4-9 が必要です。

klibc-utils: libklibc(= 2.0.4-2) に依存しますが、インストールには 2.0.4-9 が必要です。

パッケージをインストールしようとした後の警告 sudo apt-get install -y libssl-dev libffi-dev

libffi-dev is already the newest version.
libssl-dev is already the newest version.
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
klibc-utils : Depends: libklibc (= 2.0.4-2) but 2.0.4-9 is to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).

入力後、apt-get -f install次のエラーが発生します。

dpkg-divert: error: rename involves overwriting '/usr/share/initramfs-tools/hooks/klibc^i-t' with
  different file '/usr/share/initramfs-tools/hooks/klibc', not allowed <br/>
dpkg: error processing archive /var/cache/apt/archives/klibc-utils_2.0.4-9_amd64.deb (--unpack):
 subprocess new pre-installation script returned error exit status 2
No diversion 'diversion of /usr/share/initramfs-tools/hooks/klibc to /usr/share/initramfs-tools/hooks/klibc^i-t by klibc-utils', none removed. 
Errors were encountered while processing:
 /var/cache/apt/archives/klibc-utils_2.0.4-9_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

どんなアイデアがありますか?

ベストアンサー1

おすすめ記事