Cancelling an update does not cancel updates for Flatpak and Spices

Open
#994 0 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
45/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
python
Domain
desktop

Research direction

Start from the update cancellation flow associated with the “Install cancelled” log entry and trace how the selected deb, Flatpak, and Spices updates are processed afterward. Reproduce with a mixed update set, then verify that cancelling before installation prevents all three update types from running.

Written by the indexing model from the issue text.

Description

BUG

Describe the bug
During an update, when the confirmation screen offers the chance to cancel, choosing to cancel cancels updating system packages but then mintupdate continues to update Flatpaks and Spices.

Screenshots

To Reproduce
Steps to reproduce the behavior:

  1. An update is ready that includes a mix of debs, flatpaks, and spices
  2. Start the update but when a confirmation comes up, click on cancel
  3. Note that mintupdate continues the process of updating Flatpaks and Spices

Expected behavior
All updates should be canceled, including Flatpaks and Spices

Distribution:

  • Linux Mint
  • LMDE
  • Other (please specify)

Software version:
7.1.1

Logs:

2025.11.16@09:50 ++ Refreshing cache
2025.11.16@09:50 ++ Refreshing cache for Cinnamon updates
2025.11.16@09:50 ++ Refreshing cache for Flatpak updates
2025.11.16@09:50 ++ Checking for updates
2025.11.16@09:50 ++ Found 6 software updates
2025.11.16@09:50 ++ Refresh finished
2025.11.16@09:50 ++ Resumed power management
2025.11.16@11:12 ++ Will install libmalcontent-0-0
2025.11.16@11:12 ++ Will install filezilla-common
2025.11.16@11:12 ++ Will install filezilla
2025.11.16@11:12 ++ Will install libfilezilla-common
2025.11.16@11:12 ++ Will install flatpak org.gnome.Platform
2025.11.16@11:12 ++ Will install spice link-target-to-tab@mdpenguin
2025.11.16@11:12 ++ Will install spice search-path-to-tab@mdpenguin
2025.11.16@11:12 ++ Inhibited power management
2025.11.16@11:12 ++ Install requested by user
2025.11.16@11:12 ++ Ready to launch aptkit
2025.11.16@11:12 ++ Install cancelled
2025.11.16@11:12 ++ Resumed power management
2025.11.16@11:12 ++ Inhibited power management
2025.11.16@11:12 ++ Checking for updates
2025.11.16@11:12 ++ Found 3 software updates
2025.11.16@11:12 ++ Refresh finished
2025.11.16@11:12 ++ Could not uninhibit power management: GDBus.Error:org.gnome.SessionManager.GeneralError: Unable to uninhibit: Invalid cookie

Crash report:
N/A

Additional context
None

Locale:
N/A

Dominant language
Python
Stars
425
Forks
190
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from linuxmint/mintupdate

All issues in linuxmint/mintupdate

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.