/usr/bin/env
ファイルが削除され、接続/bin/env
が解除されました。回復のために様々なスキルを試してみましたが、役に立ちませんでした。 coreUtilsを再インストールしようとしましたが、このエラーが発生しました。
akash@akash:~$ sudo apt-get install --reinstall coreutils
Reading package lists... Done
Building dependency tree
Reading state information... Done
**Reinstallation of coreutils is not possible, it cannot be downloaded.**
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
手動で削除しようとしましたが、このエラーが発生します。
akash@akash:~$ sudo apt-get remove coreutils
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
colord : Depends: libsane (>= 1.0.24) but it is not going to be installed
fontconfig : Depends: fontconfig-config but it is not going to be installed
libfontconfig1 : Depends: fontconfig-config (= 2.11.94-0ubuntu1) but it is not going to be installed
libgtk2.0-0 : Depends: libcairo2 (>= 1.6.4-6.1) but it is not going to be installed
Depends: libpangocairo-1.0-0 (>= 1.28.3) but it is not going to be installed
Depends: libpangoft2-1.0-0 (>= 1.28.3) but it is not going to be installed
Recommends: libgtk2.0-bin but it is not going to be installed
libqt5feedback5 : Depends: libqt5multimedia5 (>= 5.0.2) but it is not going to be installed
libubuntugestures5 : Depends: libqt5quick5 (>= 5.0.2) but it is not going to be installed or
libqt5quick5-gles (>= 5.0.2) but it is not going to be installed
qml-module-qtquick-layouts : Depends: libqt5quick5 (>= 5.2.0) but it is not going to be installed or
libqt5quick5-gles (>= 5.2.0) but it is not going to be installed
qml-module-qtquick-window2 : Depends: libqt5quick5 (>= 5.0.2) but it is not going to be installed or
libqt5quick5-gles (>= 5.0.2) but it is not going to be installed
qml-module-ubuntu-layouts : Depends: libqt5quick5 (>= 5.0.2) but it is not going to be installed or
libqt5quick5-gles (>= 5.0.2) but it is not going to be installed
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
したがって、一部のプログラムとsh(スクリプト)を実行できません。
akash@akash:~$ scala
bash: /usr/local/bin/scala: /usr/bin/env: bad interpreter: No such file or directory
ベストアンサー1
coreutilsパッケージを直接ダウンロードしてみてください。Ubuntuパッケージを検索。 Xenialを使用する場合このウェブサイト。
Debian では、該当するパッケージ検索ページを使用する必要があります。