*After this operation, 44.1 MB of additional disk space will be used.
Do you want to continue [Y/n]? y
Extracting templates from packages: 100%
Setting up install-info (4.13a.dfsg.1-10ubuntu4) ...
/etc/environment: line 5: JAVA_HOME: command not found
dpkg: error processing install-info (--configure):
subprocess installed post-installation script returned error exit status 127
Errors were encountered while processing:
install-info
E: Sub-process /usr/bin/dpkg returned an error code (1)*
这是我在尝试修改任何软件包时遇到的错误,在这种情况下,我试图安装 LXDE。我的环境文件如下所示:
*PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games"
JAVA_HOME=/usr/lib/jvm/jdk1.7.0_25/
为了提供更多背景信息,这个 DKPG 错误是在我经历了一个漫长而艰巨的过程来设置 Android Studio 之后开始发生的。我觉得解决方案很简单,但是我已经搜索了一段时间,但无法解决我的问题。任何帮助将不胜感激,在此先感谢您