[orbit] prevent deb package installs from hanging (#31269)

This commit is contained in:
Dan Fuhry
2025-07-29 12:41:39 -06:00
committed by GitHub
parent 314bbb0e8e
commit 20519adb0b
2 changed files with 9 additions and 1 deletions
@@ -0,0 +1,2 @@
- Orbit now sets `DEBIAN_FRONTEND=noninteractive` by default when installing Debian packages. This prevents package installation from hanging for debconf questions. Administrators may override this in install scripts if desired.
- Note that installs can still hang when a configuration file differs from the version originally installed by the package. You'll need to include `--force-confdef` (or `confnew` or `confold`) in the `dpkg` command (wrap with `-o Dpkg::Options='...'` if installing using `apt`) to prevent dpkg from hanging in these cases.