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

Ouverte
#1,097 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub

Les mainteneurs répondent en général sous 1 jour

Personne n'a encore pris cette issue.

Évaluation

Difficulté
3/5
Temps estimé
1-2 jours
Accessibilité débutants
55/100
Type d'issue
Bug
Clarté
Plutôt claire
Activité
Active
Stack technique
python
Domaine
desktop

Piste de recherche

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.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Description

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.

Langage dominant
Python
Étoiles
428
Forks
196
Merge moyen
16 h 9 min
PR mergées (30 j)
1

Préparer son environnement

Ce projet ne fournit ni conteneur de développement, ni Dockerfile, ni guide de contribution : l'installation est à votre charge. Commencez par son README, et consultez notre guide de la première contribution pour les étapes générales.

Par où commencer

  1. Lisez l'issue en entier, puis le guide de contribution du projet.
  2. Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
  3. Forkez le dépôt et travaillez sur une branche.
  4. Ouvrez une pull request qui référence le numéro de l'issue.

Autres issues de linuxmint/mintupdate

Toutes les issues de linuxmint/mintupdate

Issues similaires

Plus d'issues Python

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.