Skip to content

Partial failure of Cancel button #1084

Open

Description

@DonEdwards

Describe the bug
Clicking Cancel button on the password form, or while apt packages are downloading, does not cancel flatpak updates.

Steps to reproduce
Steps to reproduce the behavior:

  1. Run mintUpdate and get a list that includes flatpaks with available updates.
  2. Click the button to begin the update process.
    3a. On the password form, click Cancel.
    4a. Watch the flatpaks get updated anyway.
    --- or --
    3b. Enter password.
    4b. While apt packages are downloading, click Cancel.
    5b. Watch the flatpaks get updated anyway.

Expected behavior
The Cancel button should cleanly terminate the update process. Not just terminate the current stage and move to the next stage.

Distribution:

  • [* ] Linux Mint

Software version:
mintUpdate 7.1.4

Additional context
I haven't tried the Cancel button during flatpak downloads. That should be checked too, I think, and should stop updates that have not been completely downloaded and applied.

Activity

  1. rafaumeu commented on Oct 26, 2026

    @rafaumeu

    I checked the current master: after apt_updater.install_packages(), mintUpdate.py now checks apt_updater.install_cancelled, runs _post_install_cleanup(refresh_needed=False), and returns before the Flatpak stage. This appears to cover the reported cancellation path. Could you confirm whether it resolves the original scenario?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions