/usr/share/language-tools/save-to-pam-env is the script that writes to ~/.pam_environment with an incorrect syntax.
/usr/share/ language- tools/save- to-pam- env is the script that writes to ~/.pam_environment with an incorrect syntax.