/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 패키지를 직접 다운로드해 보세요.우분투 패키지 검색. Xenial 사용의 경우이 웹사이트.
Debian의 경우 해당 패키지 검색 페이지를 사용해야 합니다.