Update Manager tray icon stays stuck spinning after a scheduled automatic-upgrade cache refresh fails

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

維護者通常 1 天內回覆

還沒有人認領這個 Issue。

評估

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

研究方向

Start by tracing the tray applet's refresh state alongside mintupdate-automation-upgrade.service, using /var/log/mintupdate.log and the reported DNS-failure path. Reproduce or inspect a failed scheduled cache refresh and verify that the tray process exits the spinning state after the background job finishes, whether it succeeds or fails.

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

描述

BUG

Description:

The Update Manager (mintupdate) tray applet gets stuck showing the "refreshing/checking" animated icon indefinitely, with no way to clear it except manually killing and relaunching the mintUpdate process. This happens repeatedly, correlating with failures in the scheduled mintupdate-automation-upgrade.service (visible in /var/log/mintupdate.log).

Steps observed:

mintupdate-automation-upgrade.service runs on its daily timer (often right after the machine wakes from suspend) and its cache refresh fails — in my case due to DNS not yet being resolvable at that moment (every configured repo failed with "Could not resolve").
After that failed run, the Update Manager tray icon is left in a permanently spinning state, even though the triggering process has long since exited.
ps aux | grep mintUpdate shows the tray process idle (state S, 0% CPU) — it is not actually doing any work, just visually stuck.
Only fix: kill ; mintupdate & to force a fresh instance, which immediately clears the icon.

Expected behavior: The tray icon should reflect actual applet state, not get stuck on a stale "in progress" animation after a triggering background job has already finished (successfully or not).

Environment:

Linux Mint 22.3 Cinnamon
Kernel: 7.0.0-34-generic
mintupdate version: 7.1.4
Desktop: Cinnamon 6.6.9

Additional notes: The underlying cache-refresh DNS-timing issue can be worked around at the systemd level (adding an ExecStartPre DNS-availability check to mintupdate-automation-upgrade.service), but the tray applet itself should not get stuck regardless of whether the triggering job succeeds or fails.

主要語言
Python
星號
428
分支
196
平均合併
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 摘要。