Skip to content

Instantly share code, notes, and snippets.

@roxma
Created January 20, 2018 04:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save roxma/2fe058440070be05f2523c3e3362b82c to your computer and use it in GitHub Desktop.
Save roxma/2fe058440070be05f2523c3e3362b82c to your computer and use it in GitHub Desktop.
$ docker run -it --rm debian:stretch /bin/bash
root@d5a6b8753165:/# echo 'tzdata tzdata/Areas select Asia' | debconf-set-selections
root@d5a6b8753165:/# echo 'tzdata tzdata/Zones/Asia select Hong_Kong' | debconf-set-selections
root@d5a6b8753165:/# dpkg-reconfigure -u tzdata
debconf: unable to initialize frontend: Dialog
debconf: (No usable dialog-like program is installed, so the dialog based frontend cannot be used. at /usr/share/perl5/Debconf/FrontEnd/Dialog.pm line 76.)
debconf: falling back to frontend: Readline
debconf: unable to initialize frontend: Readline
debconf: (Can't locate Term/ReadLine.pm in @INC (you may need to install the Term::ReadLine module) (@INC contains: /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.24.1 /usr/local/share/perl/5.24.1 /usr/lib/x86_64-linux-gnu/perl5/5.24 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.24 /usr/share/perl/5.24 /usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base .) at /usr/share/perl5/Debconf/FrontEnd/Readline.pm line 7.)
debconf: falling back to frontend: Teletype
Current default time zone: 'Etc/UTC'
Local time is now: Sat Jan 20 04:16:59 UTC 2018.
Universal Time is now: Sat Jan 20 04:16:59 UTC 2018.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment