Skip to content

Set debconf frontend to Readline before apt upgrades - #46

Merged
mapitman merged 1 commit into
mainfrom
fix-debconf-frontend-readline
Aug 8, 2026
Merged

Set debconf frontend to Readline before apt upgrades#46
mapitman merged 1 commit into
mainfrom
fix-debconf-frontend-readline

Conversation

@mapitman

@mapitman mapitman commented Aug 8, 2026

Copy link
Copy Markdown
Owner

Summary

  • The whiptail/dialog debconf frontend used by apt upgrade can render prompts (e.g. "Which services should be restarted?") with a low-contrast color scheme that's unreadable in some terminals.
  • Sets the debconf frontend to Readline before apt-get upgrade in debian/install-packages, ubuntu/install-essential-packages, and pop_os/install-packages, so these prompts fall back to plain text and always render correctly.

Test plan

  • Run just test (or the relevant test-debian/test-all recipe) to confirm the affected scripts still complete successfully
  • Manually trigger an apt upgrade with a pending debconf prompt (e.g. via needrestart/service-restart prompts) and confirm it now appears as plain text instead of the dialog

The default whiptail/dialog frontend renders debconf prompts (e.g.
"Which services should be restarted?") with a low-contrast color
scheme that's unreadable in some terminals. Readline falls back to
plain-text prompts, which always render correctly.
@mapitman
mapitman merged commit 3979cbd into main Aug 8, 2026
7 checks passed
@mapitman
mapitman deleted the fix-debconf-frontend-readline branch August 8, 2026 00:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant