Debian System locales corrupt on jessie 8.6

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
0
down vote

favorite
1












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







share|improve this question





















  • It depends on what you mean by safe...
    – Stephen Kitt
    May 18 at 10:04










  • @StephenKitt safe means not to corrupt the system locales
    – zewOlF
    May 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 at 17:06














up vote
0
down vote

favorite
1












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







share|improve this question





















  • It depends on what you mean by safe...
    – Stephen Kitt
    May 18 at 10:04










  • @StephenKitt safe means not to corrupt the system locales
    – zewOlF
    May 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 at 17:06












up vote
0
down vote

favorite
1









up vote
0
down vote

favorite
1






1





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







share|improve this question













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









share|improve this question












share|improve this question




share|improve this question








edited May 18 at 11:19
























asked May 18 at 9:50









zewOlF

11




11











  • It depends on what you mean by safe...
    – Stephen Kitt
    May 18 at 10:04










  • @StephenKitt safe means not to corrupt the system locales
    – zewOlF
    May 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 at 17:06
















  • It depends on what you mean by safe...
    – Stephen Kitt
    May 18 at 10:04










  • @StephenKitt safe means not to corrupt the system locales
    – zewOlF
    May 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 at 17:06















It depends on what you mean by safe...
– Stephen Kitt
May 18 at 10:04




It depends on what you mean by safe...
– Stephen Kitt
May 18 at 10:04












@StephenKitt safe means not to corrupt the system locales
– zewOlF
May 18 at 10:08




@StephenKitt safe means not to corrupt the system locales
– zewOlF
May 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 at 17:06




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 at 17:06















active

oldest

votes











Your Answer







StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "106"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
convertImagesToLinks: false,
noModals: false,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);








 

draft saved


draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f444550%2fdebian-system-locales-corrupt-on-jessie-8-6%23new-answer', 'question_page');

);

Post as a guest



































active

oldest

votes













active

oldest

votes









active

oldest

votes






active

oldest

votes










 

draft saved


draft discarded


























 


draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f444550%2fdebian-system-locales-corrupt-on-jessie-8-6%23new-answer', 'question_page');

);

Post as a guest













































































Popular posts from this blog

How to check contact read email or not when send email to Individual?

Bahrain

Postfix configuration issue with fips on centos 7; mailgun relay