It seems that env-update recently ignores variables in the config files of /etc/env.d example: content of /etc/env.d/20sun-java: DIRNAME="jdk" JAVA_HOME=/opt/java/${DIRNAME} JRE_HOME=/opt/java/${DIRNAME}/jre PATH="${JAVA_HOME}/bin" after running env-update, the /etc/profile.env has following entries: export JAVA_HOME='/opt/java/${DIRNAME}' export JRE_HOME='/opt/java/${DIRNAME}/jre' ... export PATH='/opt/bin:/usr/lib/ccache/bin:/usr/i686-pc-linux-gnu/gcc-bin/4.1.1:${JAVA_HOME}/bin:/usr/qt/3/bin:/opt/enlightenment/bin:/usr/games/bin'
Those files are broken; env-update is not supposed to expand variables.
*** This bug has been marked as a duplicate of bug 151622 ***