I am Using debian 8.6 and for some reasons i cannot upgrade it, the issue is i want to install some packages for example apache 2.4.29, i used testing repos and to do that and it worked, so now i have a new machine with the same debian distro, and i want to install the same apache version but unfortunately i see it has been updated to 2.4.29-2 on the testing repo and that requires to install the latest locales-all version which is
locales-all (2.27-3) and that completely destroyed the system locales as showing below
the system got corrupt and all the commands not working with error
ls: loadlocale.c:129: _nl_intern_locale_data: Assertion cnt < (sizeof (_nl_value_type_LC_TIME) / sizeof (_nl_value_type_LC_TIME))' failed.
so my question is, is there is a safe way to install the latest packages on jessie with apt and not corrupt the system ? i tried to hold the locales package but this did not help in installing the packages i need due to dependency problem, any idea please