This could also be due to this apt.conf bit included by default:
DPkg::Pre-Install-Pkgs {"/usr/sbin/dpkg-preconfigure --apt || true";};
Either that, or I noticed that the new locales package that causes the problem is not configured and set up before everything else is. I don't know much about the deb packaging system, but if that can be configured to configure and set up itself before configuring and setting up everything else, I think the problem should be solved.
This could also be due to this apt.conf bit included by default: Install- Pkgs {"/usr/ sbin/dpkg- preconfigure --apt || true";};
DPkg::Pre-
Either that, or I noticed that the new locales package that causes the problem is not configured and set up before everything else is. I don't know much about the deb packaging system, but if that can be configured to configure and set up itself before configuring and setting up everything else, I think the problem should be solved.