LMSouq
general-dev Open

Non-interactive method for dpkg-reconfigure tzdata

KE
kenny
1 month ago
3 views
Problem Description
When I first setup an Ubuntu server, I make sure I `aptitude install tzdata`, then `dpkg-reconfigure tzdata` so that I set my timezone properly. I am trying to automate my server setup with a script, and noticed this piece sort of throws a wrench into it being automatic, as it requires an interactive session with user intervention. Is there a way to use dpkg-reconfigure without it being interactive?

AI-Generated Solution

Powered by LMSouq AI · GPT-4.1-mini

✓ Solution Ready
Analyzing problem and generating solution…
Was this solution helpful?
Back to Knowledge Base