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

Đang mở
#1,097 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
55/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
python
Lĩnh vực
desktop

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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.

Ngôn ngữ chính
Python
Star
428
Fork
196
Merge trung bình
16 giờ 9 phút
Pull request đã merge (30 ngày)
1

Chuẩn bị môi trường

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của linuxmint/mintupdate

Tất cả issue của linuxmint/mintupdate

Issue tương tự

Thêm issue về Python

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.