Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update-locale executable not available #193

Open
AntonioSun opened this issue May 16, 2022 · 4 comments
Open

update-locale executable not available #193

AntonioSun opened this issue May 16, 2022 · 4 comments

Comments

@AntonioSun
Copy link

I provided my /etc/debootstrap/locale.gen file but found it has no effect, then I found the following:

   Executing stage default_locales
Warning: update-locale executable not available (no locales package installed?)
Ignoring request to run update-locale for en_US therefore

This is related with #192 though, because if there is the update-locale executable, then the result would be #192.

@mika
Copy link
Member

mika commented May 17, 2022

The default /etc/debootstrap/packages file includes the locales package, so it looks like you also provided a custom package list/configuration? If you want to generate locales, you'd need to have the locales package available? :) Would you prefer grml-debootstrap to fail in that situation, or what would you be your expectation in that situation?

@AntonioSun
Copy link
Author

I provided my own /etc/debootstrap/packages file, in several different length, but they always triggered the error #192, i.e. the error in OP will persist. So I cleared it, in order to get by.

OK. This problem is due to my clearing it then. Hmm...

I didn't know that the /etc/debootstrap/packages file has some default packages there. Hmm...

Maybe install the locales package regardless in grml-debootstrap, just like its hard dependent, even when the locales package is not in the /etc/debootstrap/packages file?

@AntonioSun
Copy link
Author

Oh, a quick side question @mika,

for all packages I provided in my /etc/debootstrap/packages file, will their recommended packages get installed as well by grml-debootstrap?

@mika
Copy link
Member

mika commented May 17, 2022

Maybe install the locales package regardless in grml-debootstrap, just like its hard dependent,
even when the locales package is not in the /etc/debootstrap/packages file?

I'd tend to agree, but hard depending on packages might then annoy users who'd like to really control the package list.
So I'm not yet sure, what's the best metric to decide, that locales package should actually get installed automatically.
Any ideas welcome though :)

for all packages I provided in my /etc/debootstrap/packages file, will their recommended packages
get installed as well by grml-debootstrap?

We run $APTINSTALL which includes --no-install-recommends for apt-get or --without-recommends for aptitude, so no, recommended packages shouldn't get pulled in.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants