在 Ubuntu 16.04 中安装 Eclipse IDE 时出现 installArchives() 错误

在 Ubuntu 16.04 中安装 Eclipse IDE 时出现 installArchives() 错误

我通过 Crouton 在 Chromebook 上安装了 Ubuntu,这样我就可以在上面编写代码了。在我尝试运行之前,一切都运行良好: umake ide eclipse 我安装了 Ubuntu Make 来帮助安装 Eclipse,但当我运行上述命令时,我收到 installArchives() 错误:

  Choose installation path: /home/user/.local/share/umake/ide/eclipse
  Downloading and installing requirements
  ERROR: installArchives() failed
  Subprocess output: dkpg: warning: 'ldconfig' not found in PATH or not executable
  dpkp: warning: 'start-stop-daemon' not found in PATH or not executable
  dpkp: error: 2 expected programs not found in PATH or not executable
  Note: root's PATH should usually contain /usr/local/sbin, /usr/sbin and /sbin
  E:Sub-process /usr/bin/dpkg returned an error code (2)

 100% |##########################################################################|
 Error: Package requirements can't be met: installArchives() failed
 Subprocess output: dpkg: warning: 'ldconfig' not found in PATH or not executable
 dpkg: warning: 'start-stop-daemon' not found in PATH or not executable
 dpkg: error: 2 expected programs not found in PATH or not executable
 Note: root's PATH should usually contain /usr/loca/sbin, /usr/sbin and /sbin
 E:Sub-process /usr/bin/dpkg returned an error code (2)

如果其中大部分都是不必要的代码,请原谅,我没有使用终端的经验,而且还不太了解大多数内容。感谢您的帮助!

相关内容