This is my first time on this site so I hope this question is okay. Anyway, I'm relatively new to linux. I did look around for resources and tried to find anything that I could manage myself, however, there's not much information about this specifically.
About 3 hours ago I ran sudo apt-get install localepurge, I was tired and was just interested in cleaning/security. I made the mistake of selecting 'ok' at the screen where you choose your locales. I've seen a video and apparently 1 type gets saved as a default or something. I don't know how to reverse this so I was hoping I could get a little bit of advice.
Information I've saved just incase is my locale output, locale -a output, locale -a -v output. Etc/locale/default contains a text file saying #File generated by update-locale LANG="en_US.UTF-8". /var/cache/localepurge/localelist contains quite a lot of locales, including en_US.UTF-8 (I'm not sure how it all works so sorry if this is just random information). In /var/lib/locales/supported.d I have and 'en' text file that contains about 15 different locales (I'm not sure why).
I've left the terminal open and it's at the screen after choosing locales to keep, giving an option for 'Use dpkg --path-exclude?' yes/no. I haven't tried interfering with it with interrupts or kill because I've read that doesn't have a great outcome. I've noticed at that time is when some locale.c and locale perl files were modified/accessed/created. As of now in terms of decreasing last modification time, (searched locale from /) it's localepurge/localelist, var/cache/localpurge, some locale.config file and there's also a locale.gen (x-application-genesis-rom) file.
I really am not sure what to do. I'd think I could avoid potential harm by possibly adding extra entries to some of the locale textfiles but I don't think that's a good idea. And I don't know what to do with the installation since I can't cancel it and I don't know what my selections truly imply when I only have the default en_US.UTF-8.
I do know that after the installation completes I could (possibly) do dpkg-reconfigure localepurge, there's a reinstall_debs.sh file that will appear, and 1 more file that seemed important after the installation.
If anyone has some advice it'd be appreciated, I know it's a little specific but I've honestly looked around for resources and couldn't find anything to assure me safety. Thank you