Skip to content

Orange banner "reboot required" is shown even when update installation is aborted at password prompt #937

Open
@antimatter84

Description

@antimatter84

Describe the bug
The update manager shows the orange "reboot required" banner, when no updates were installed, because I cancelled the password authentication dialog.

To Reproduce
Steps to reproduce the behavior:

  1. Open Mint Update and you have to have a new Kernel in the list
  2. Click on 'Install updates' button in the toolbar
  3. Wait for the password authentication dialog...
  4. ... then cancel it (do not enter your password)
  5. -> orange banner pops up saying a reboot is required

Expected behavior
The orange banner should not appear, when the installation of updates is cancelled.

Distribution:

  • Linux Mint 22.1 Cinnamon

Software version:
7.0.7

Logs:

2025.04.04@10:44 ++ Will install <package-name>  [appears 25 times]
2025.04.04@10:44 ++ Inhibited power management
2025.04.04@10:44 ++ Install requested by user
2025.04.04@10:44 ++ Ready to launch aptkit
2025.04.04@10:44 ++ Install cancelled
2025.04.04@10:44 -- APT install failed
2025.04.04@10:44 ++ Resumed power management
2025.04.04@10:44 ++ Could not uninhibit power management: GDBus.Error:org.gnome.SessionManager.GeneralError: Unable to uninhibit: Invalid cookie
2025.04.04@10:44 ++ Inhibited power management
2025.04.04@10:44 ++ Refreshing cache
2025.04.04@10:44 ++ Refreshing cache for Cinnamon updates
2025.04.04@10:44 ++ Refreshing cache for Flatpak updates
2025.04.04@10:44 ++ Checking for updates
2025.04.04@10:44 ++ Found 25 software updates
2025.04.04@10:44 ++ Refresh finished
2025.04.04@10:44 ++ Resumed power management

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