Update process freezes indefinitely waiting for invisible pk-debconf-helper process

未關閉
#1,101 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

還沒有人認領這個 Issue。

評估

難度
4/5
預估耗時
3-5 天
新手友好度
45/100
Issue 類型
缺陷
描述清晰度
基本清楚
活躍度
活躍
技術堆疊
linux, python
領域
desktop

研究方向

Start by tracing Mint Update's update flow where it launches /usr/libexec/pk-debconf-helper, then reproduce with an update that triggers a debconf prompt. Check why the helper does not display a graphical prompt in a Linux Mint Cinnamon session. Done means the prompt appears and the update queue continues without manually killing the helper.

由索引模型根據 Issue 內容生成。

描述

BUG

When performing system updates through Mint Update (Update Manager) involving packages that require debconf configuration prompts (such as daemon or service packages), the update process hangs right after reading the changes. It spawns the /usr/libexec/pk-debconf-helper process, but no graphical configuration window or prompt is ever rendered on screen. As a result, the update remains stalled indefinitely until the background helper process is manually terminated via terminal (kill). Once killed, Mint Update unblocks and successfully completes the remaining tasks.

Steps to reproduce
Steps to reproduce the behavior:

  1. Open Mint Update (Update Manager) on Linux Mint Cinnamon.
  2. Select available updates containing packages that trigger debconf prompts (e.g., packages requiring user configuration or license acceptance via debconf).
  3. Click on "Install Updates".
  4. Observe the process hanging after reading changes; the pk-debconf-helper process spawns in the background but fails to display any interactive GUI window.
  5. Manually kill the pk-debconf-helper process from the terminal to let Mint Update resume and complete.

Expected behavior
Mint Update should correctly spawn and display the graphical debconf configuration dialog windows to the user without freezing the update queue, allowing proper configuration input without requiring manual intervention via terminal.

Distribution:

  • Linux Mint
  • LMDE
  • Other (please specify)

Software version:
version: 7.1.4

Crash report:

#No fatal application crash. The update manager hangs indefinitely waiting for input, as the helper process fails to spawn its GUI window:
/usr/libexec/pk-debconf-helper

Additional context
The issue forces a manual kill of the background process to bypass the lock. The problem specifically affects the graphical interaction layer of PackageKit / debconf helper during the Cinnamon desktop session.

Locale:

LANG=it_IT.UTF-8
LC_CTYPE="it_IT.UTF-8"
LC_NUMERIC="it_IT.UTF-8"
LC_TIME="it_IT.UTF-8"
LC_COLLATE="it_IT.UTF-8"
LC_MONETARY="it_IT.UTF-8"
LC_MESSAGES="it_IT.UTF-8"
LC_PAPER="it_IT.UTF-8"
LC_NAME="it_IT.UTF-8"
LC_ADDRESS="it_IT.UTF-8"
LC_TELEPHONE="it_IT.UTF-8"
LC_MEASUREMENT="it_IT.UTF-8"
LC_IDENTIFICATION="it_IT.UTF-8"
LC_ALL=

主要語言
Python
星號
431
分支
197
平均合併
16 小時 9 分鐘
30 天內合併 PR
1

環境準備

這個專案沒有提供開發容器、Dockerfile 或貢獻指南,環境需要你自己搭建:先看它的 README,通用步驟見我們的新手貢獻指南。

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

linuxmint/mintupdate 的其他 Issue

查看 linuxmint/mintupdate 的全部 Issue

相似的 Issue

更多 Python Issue

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。