Public bug reported:

During "do-release-upgrade --frontend=DistUpgradeViewGtk3" (25.10 → 26.04.1 
LTS),
the upgrade hung for 30+ minutes while configuring samba-common.

The embedded "Терминал" (VTE) pane displayed the ucf prompt
"Что нужно сделать с изменённым файлом настройки smb.conf?"
but keystrokes typed into that pane never reached the processes
(dpkg/postinst/ucf were reading from /dev/pts/2 — the pty owned by the 
upgrader).
Typing "N" and pressing Enter repeatedly had no effect; the prompt just 
redisplayed.

Diagnosis (via strace and root diagnostics):
- the samba-common postinst chain was:
  dpkg → samba-common.postinst → debconf frontend (perl) → ucf --three-way 
--debconf-ok
- the perl debconf frontend was blocked reading /dev/tty; ucf re-printed
  the same prompt after every input
- typed characters were echoed by the kernel line discipline but the readers
  only ever received "\n" — i.e. the VTE pane does not forward keystrokes
  to the pty master
- injecting input directly into the pty input queue with TIOCSTI (as root)
  DID reach the readers, confirming the pty itself works fine
- the ucf question is actually a debconf "select" question expecting the exact
  choice text (not letters like N); answering with the exact text via TIOCSTI
  made the frontend exit abnormally; the postinst failed with exit status 128
  and the upgrade was aborted by the upgrader
- recovered manually: DEBIAN_FRONTEND=noninteractive dpkg --configure 
samba-common
  (UCF_FORCE_CONFFOLD=1), then dpkg --configure -a completed the upgrade.

Expected: conffile prompts should either be shown as a GTK dialog (like the
SubagentsShellTerminalsescshow inactive ctrl+atabs ←/→… Switch agent… One-shot 
answer from the session's context without adding to the conversation… Change 
working directory… Clear session… Compact session… Connect an integration… 
Switch session… Copy last assistant message… View debug info… Open diff viewer… 
Open editor… Switch model variant… Exit the app… Export session transcript… 
Fork session… keep working until an objective is met [pause|resume|clear]… 
Help… Show release highlights… guided AGENTS.md setup… MCP servers… Switch 
model… New session… Open session or project… Pair device… Plugins… Open session 
or project… Open session or project… Exit the app… Exit the app… Reload 
configuration… Rename session… Restart service… Switch session… review changes 
[commit|branch|pr], defaults to uncommitted… Switch session… Open settings… 
Skills… Usage statistics… View status… New terminal… Switch theme… Switch model 
variant… Jump to message… Undo previous message… Update OpenCode… View usage… 
Switch model variant… Pair device… Manage workspacesdebconf question about 
/etc/systemd/journald.conf, which worked fine), or the
embedded terminal pane must forward keyboard input to the pty.

ProblemType: Bug
DistroRelease: Ubuntu 26.04
Package: ubuntu-release-upgrader-gtk 1:26.04.27
ProcVersionSignature: Ubuntu 7.0.0-44.44-generic 7.0.14
Uname: Linux 7.0.0-44-generic x86_64
ApportVersion: 2.34.1-0ubuntu0.1
Architecture: amd64
CasperMD5CheckResult: unknown
CrashDB: ubuntu
CrashReports:
 640:1000:109:6984075:2026-12-04 09:15:32.639770746 +0300:2026-12-04 
09:15:33.639770746 +0300:/var/crash/_opt_sublime_text_sublime_text.1000.crash
 644:0:109:0:2026-12-04 10:18:59.451947973 +0300:2026-12-04 10:18:59.410999880 
+0300:/var/crash/kdump_lock
 640:1000:109:24811062:2026-12-04 09:37:06.020708322 +0300:2026-12-04 
09:37:07.020708322 +0300:/var/crash/_usr_share_apport_apport-gtk.1000.crash
 640:1000:109:637102:2026-12-04 08:42:13.839544057 +0300:2026-12-04 
08:42:14.839544057 +0300:/var/crash/_usr_bin_pipewire.1000.crash
 640:0:109:2071591:2026-12-04 09:32:26.506389920 +0300:2026-12-04 
09:32:26.493086298 +0300:/var/crash/samba-common.0.crash
CurrentDesktop: ubuntu:GNOME
Date: Fri Dec  4 10:38:27 2026
InstallationDate: Installed on 2025-05-29 (554 days ago)
InstallationMedia: Ubuntu 24.04.1 LTS "Noble Numbat" - Release amd64 
(20240827.1)
PackageArchitecture: all
ProcEnviron:
 LANG=ru_RU.UTF-8
 PATH=(custom, no user)
 SHELL=/bin/bash
 TERM=xterm-256color
 XDG_RUNTIME_DIR=<set>
SourcePackage: ubuntu-release-upgrader
UpgradeStatus: Upgraded to resolute on 2026-12-04 (0 days ago)
VarLogDistupgradeTermlog:

** Affects: ubuntu-release-upgrader (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug dist-upgrade resolute wayland-session

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2190807

Title:
  Release upgrade 25.10→26.04 hangs: conffile prompt in embedded
  terminal does not receive keyboard input

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/2190807/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to