Debian 7 locales not found












-2















I need to install en_US and it_IT locales. I work with Docker containers but I think is indipendent between Debian and container based on Debian.



I execute these commands:



root@debian:/# locale
LANG=
LANGUAGE=
LC_CTYPE="POSIX"
LC_NUMERIC="POSIX"
LC_TIME="POSIX"
LC_COLLATE="POSIX"
LC_MONETARY="POSIX"
LC_MESSAGES="POSIX"
LC_PAPER="POSIX"
LC_NAME="POSIX"
LC_ADDRESS="POSIX"
LC_TELEPHONE="POSIX"
LC_MEASUREMENT="POSIX"
LC_IDENTIFICATION="POSIX"
LC_ALL=

root@debian:/# locale -a
C
C.UTF-8
POSIX


I tried this command:



root@debian:/# dpkg-reconfigure locales
dpkg-query: package 'locales' is not installed and no information is available
Use dpkg --info (= dpkg-deb --info) to examine archive files,
and dpkg --contents (= dpkg-deb --contents) to list their contents.
/usr/sbin/dpkg-reconfigure: locales is not installed.









share|improve this question

























  • Note that debian 7 is old oldstable. You may want to update. Soon.

    – Shadur
    Jan 23 at 22:18











  • consider dist-upgrade

    – Kushagra Karira
    Jan 24 at 16:39
















-2















I need to install en_US and it_IT locales. I work with Docker containers but I think is indipendent between Debian and container based on Debian.



I execute these commands:



root@debian:/# locale
LANG=
LANGUAGE=
LC_CTYPE="POSIX"
LC_NUMERIC="POSIX"
LC_TIME="POSIX"
LC_COLLATE="POSIX"
LC_MONETARY="POSIX"
LC_MESSAGES="POSIX"
LC_PAPER="POSIX"
LC_NAME="POSIX"
LC_ADDRESS="POSIX"
LC_TELEPHONE="POSIX"
LC_MEASUREMENT="POSIX"
LC_IDENTIFICATION="POSIX"
LC_ALL=

root@debian:/# locale -a
C
C.UTF-8
POSIX


I tried this command:



root@debian:/# dpkg-reconfigure locales
dpkg-query: package 'locales' is not installed and no information is available
Use dpkg --info (= dpkg-deb --info) to examine archive files,
and dpkg --contents (= dpkg-deb --contents) to list their contents.
/usr/sbin/dpkg-reconfigure: locales is not installed.









share|improve this question

























  • Note that debian 7 is old oldstable. You may want to update. Soon.

    – Shadur
    Jan 23 at 22:18











  • consider dist-upgrade

    – Kushagra Karira
    Jan 24 at 16:39














-2












-2








-2








I need to install en_US and it_IT locales. I work with Docker containers but I think is indipendent between Debian and container based on Debian.



I execute these commands:



root@debian:/# locale
LANG=
LANGUAGE=
LC_CTYPE="POSIX"
LC_NUMERIC="POSIX"
LC_TIME="POSIX"
LC_COLLATE="POSIX"
LC_MONETARY="POSIX"
LC_MESSAGES="POSIX"
LC_PAPER="POSIX"
LC_NAME="POSIX"
LC_ADDRESS="POSIX"
LC_TELEPHONE="POSIX"
LC_MEASUREMENT="POSIX"
LC_IDENTIFICATION="POSIX"
LC_ALL=

root@debian:/# locale -a
C
C.UTF-8
POSIX


I tried this command:



root@debian:/# dpkg-reconfigure locales
dpkg-query: package 'locales' is not installed and no information is available
Use dpkg --info (= dpkg-deb --info) to examine archive files,
and dpkg --contents (= dpkg-deb --contents) to list their contents.
/usr/sbin/dpkg-reconfigure: locales is not installed.









share|improve this question
















I need to install en_US and it_IT locales. I work with Docker containers but I think is indipendent between Debian and container based on Debian.



I execute these commands:



root@debian:/# locale
LANG=
LANGUAGE=
LC_CTYPE="POSIX"
LC_NUMERIC="POSIX"
LC_TIME="POSIX"
LC_COLLATE="POSIX"
LC_MONETARY="POSIX"
LC_MESSAGES="POSIX"
LC_PAPER="POSIX"
LC_NAME="POSIX"
LC_ADDRESS="POSIX"
LC_TELEPHONE="POSIX"
LC_MEASUREMENT="POSIX"
LC_IDENTIFICATION="POSIX"
LC_ALL=

root@debian:/# locale -a
C
C.UTF-8
POSIX


I tried this command:



root@debian:/# dpkg-reconfigure locales
dpkg-query: package 'locales' is not installed and no information is available
Use dpkg --info (= dpkg-deb --info) to examine archive files,
and dpkg --contents (= dpkg-deb --contents) to list their contents.
/usr/sbin/dpkg-reconfigure: locales is not installed.






debian docker locale






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Jan 27 at 15:32









Jeff Schaller

40.8k1056129




40.8k1056129










asked Jan 23 at 20:45









RegalArticRegalArtic

1




1













  • Note that debian 7 is old oldstable. You may want to update. Soon.

    – Shadur
    Jan 23 at 22:18











  • consider dist-upgrade

    – Kushagra Karira
    Jan 24 at 16:39



















  • Note that debian 7 is old oldstable. You may want to update. Soon.

    – Shadur
    Jan 23 at 22:18











  • consider dist-upgrade

    – Kushagra Karira
    Jan 24 at 16:39

















Note that debian 7 is old oldstable. You may want to update. Soon.

– Shadur
Jan 23 at 22:18





Note that debian 7 is old oldstable. You may want to update. Soon.

– Shadur
Jan 23 at 22:18













consider dist-upgrade

– Kushagra Karira
Jan 24 at 16:39





consider dist-upgrade

– Kushagra Karira
Jan 24 at 16:39










1 Answer
1






active

oldest

votes


















0














You’re on the right track, however you need to install the locales package before you can configure it:



apt-get install locales


If you want to have all locales without needing any configuration, use locales-all instead:



apt-get install locales-all





share|improve this answer


























  • Ok thank you. And then?

    – RegalArtic
    Jan 24 at 12:12











  • dpkg-reconfigure locales, as you were trying to do.

    – Stephen Kitt
    Jan 24 at 12:21











  • How can I take all locales without interact with shell? I need to make a Dockerfile.

    – RegalArtic
    Jan 24 at 13:54











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',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
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%2f496324%2fdebian-7-locales-not-found%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes









0














You’re on the right track, however you need to install the locales package before you can configure it:



apt-get install locales


If you want to have all locales without needing any configuration, use locales-all instead:



apt-get install locales-all





share|improve this answer


























  • Ok thank you. And then?

    – RegalArtic
    Jan 24 at 12:12











  • dpkg-reconfigure locales, as you were trying to do.

    – Stephen Kitt
    Jan 24 at 12:21











  • How can I take all locales without interact with shell? I need to make a Dockerfile.

    – RegalArtic
    Jan 24 at 13:54
















0














You’re on the right track, however you need to install the locales package before you can configure it:



apt-get install locales


If you want to have all locales without needing any configuration, use locales-all instead:



apt-get install locales-all





share|improve this answer


























  • Ok thank you. And then?

    – RegalArtic
    Jan 24 at 12:12











  • dpkg-reconfigure locales, as you were trying to do.

    – Stephen Kitt
    Jan 24 at 12:21











  • How can I take all locales without interact with shell? I need to make a Dockerfile.

    – RegalArtic
    Jan 24 at 13:54














0












0








0







You’re on the right track, however you need to install the locales package before you can configure it:



apt-get install locales


If you want to have all locales without needing any configuration, use locales-all instead:



apt-get install locales-all





share|improve this answer















You’re on the right track, however you need to install the locales package before you can configure it:



apt-get install locales


If you want to have all locales without needing any configuration, use locales-all instead:



apt-get install locales-all






share|improve this answer














share|improve this answer



share|improve this answer








edited Jan 24 at 13:55

























answered Jan 23 at 22:02









Stephen KittStephen Kitt

169k24382458




169k24382458













  • Ok thank you. And then?

    – RegalArtic
    Jan 24 at 12:12











  • dpkg-reconfigure locales, as you were trying to do.

    – Stephen Kitt
    Jan 24 at 12:21











  • How can I take all locales without interact with shell? I need to make a Dockerfile.

    – RegalArtic
    Jan 24 at 13:54



















  • Ok thank you. And then?

    – RegalArtic
    Jan 24 at 12:12











  • dpkg-reconfigure locales, as you were trying to do.

    – Stephen Kitt
    Jan 24 at 12:21











  • How can I take all locales without interact with shell? I need to make a Dockerfile.

    – RegalArtic
    Jan 24 at 13:54

















Ok thank you. And then?

– RegalArtic
Jan 24 at 12:12





Ok thank you. And then?

– RegalArtic
Jan 24 at 12:12













dpkg-reconfigure locales, as you were trying to do.

– Stephen Kitt
Jan 24 at 12:21





dpkg-reconfigure locales, as you were trying to do.

– Stephen Kitt
Jan 24 at 12:21













How can I take all locales without interact with shell? I need to make a Dockerfile.

– RegalArtic
Jan 24 at 13:54





How can I take all locales without interact with shell? I need to make a Dockerfile.

– RegalArtic
Jan 24 at 13:54


















draft saved

draft discarded




















































Thanks for contributing an answer to Unix & Linux Stack Exchange!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f496324%2fdebian-7-locales-not-found%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

How to make a Squid Proxy server?

Is this a new Fibonacci Identity?

Touch on Surface Book