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

Offen
#1,097 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Maintainer antworten meist innerhalb von 1 Tag

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
3/5
Geschätzter Aufwand
1-2 Tage
Anfängerfreundlichkeit
55/100
Issue-Typ
Bug
Klarheit
Größtenteils klar
Aktivitätsstatus
Aktiv
Tech-Stack
python
Bereich
desktop

Rechercherichtung

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.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

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.

Vorherrschende Sprache
Python
Sterne
428
Forks
196
Ø Merge
16 Std. 9 Min.
Gemergte PRs (30 T.)
1

Entwicklungsumgebung

Dieses Projekt bietet weder Dev-Container noch Dockerfile noch Beitragsleitfaden – die Einrichtung liegt bei Ihnen. Beginnen Sie mit der README; die allgemeinen Schritte stehen in unserem Leitfaden für den ersten Beitrag.

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus linuxmint/mintupdate

Alle Issues in linuxmint/mintupdate

Ähnliche Issues

Weitere Issues zu Python

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.