Having installed TeX Live on my system (by downloading and running the script from TUG's website: http://www.tug.org/texlive/acquire-netinstall.html), I tried editing the MANPATH variable by adding the following line in my /etc/environment:
MANPATH=$MANPATH:/usr/local/texlive/2012/texmf/doc/man
(There was no MANPATH entry previously)
However, setting the MANPATH here seems to be overriding the /etc/manpath.config file, and thus the system manual pages are no longer found. Whereas, if I use export in my .bashrc, mandb prepends the content of manpath.config to the exported value.
What is wrong with this syntax? After all, https://help.ubuntu.com/community/EnvironmentVariables does say that /etc/environment is the place for setting system-wide environment variables
The same issue for INFOPATH