I know that /etc/profile is installed by base-files, but it doesn't look like this package installs /etc/environment:$ dpkg -S /etc/environmentdpkg-query: no path found matching pattern /etc/environmentWhich package installs it, and how would I revert it to the package's default?
Which Debian package does /etc/environment come from?
debian;environment variables;etc
On my system (Linux Mint Debian Edition) it seems to come from libpam-modules. To find this I first grep for /etc/environment in /var/lib/dpkg/info/:grep -C 5 /etc/environment /var/lib/dpkg/info/*This shows that the file /var/lib/dpkg/info/libpam-modules:amd64.postinst contains these lines:if dpkg --compare-versions $2 lt 0.99.9.0-1 && ! [ -f /etc/environment ]then    touch /etc/environmentfiThis will cause an empty (simple touch) /etc/environment file to be created if it doesn't exist and if the version of whatever is given to the script as its second argument ($2) is less than 0.99.9.0-1. 