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

enter image description here

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[0]))' failed. Aborted

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

  • It depends on what you mean by safe... – Stephen Kitt May 18 '18 at 10:04
  • @StephenKitt safe means not to corrupt the system locales – zewOlF May 18 '18 at 10:08
  • for some simple packages, you "just" have to recompile the debian testing's or debian 9 sources on your Debian 8 to build "locally backported" packages. When packages are bigger, they tend to depend on other unavailable packages and it starts becoming a recursive burdensome task . also if you don't track yourself security updates, your backported package will begin getting newly discovered security holes over time. if still interested try there: Debian BuildingTutorial – A.B May 18 '18 at 17:06

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.