Flatpaks need to be installed multiple times before they actually install in UM

Open
#899 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

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

Research direction

Start by reproducing the issue in Update Manager on Linux Mint 6.0.9 with Flatpak updates selected, then use the provided refresh and install log sequence to trace what happens after installation. Done means an installed Flatpak update disappears after one install, or a failed installation is clearly reported to the user.

Written by the indexing model from the issue text.

Description

BUG

Describe the bug
There's this frustrating issue in the Update Manager where it may list Flatpak updates, one installs them, it does its thing, but after refreshing, several Flatpak updates show up in the list once again as if they were never installed. There are no errors and no indications that the install failed, but the items continue to list in the Update Manager. After several retries, they may eventually disappear, but this shouldn't happen without an error or communication to the user that something went wrong.

Screenshots
N/A

To Reproduce
Steps to reproduce the behavior:

  1. Go to Update Manager
  2. See available Flatpak updates
  3. Select + install
  4. Wait for install to complete, observe that one or more Flatpak updates remain in the list. Repeat steps 1-4 until they are gone.

Expected behavior
Install update once, never see it in the list again.

Distribution:

  • Linux Mint
  • LMDE
  • Other (please specify)

Software version:
6.0.9

Logs:

(synaptic:3344983): Gtk-CRITICAL **: 19:33:51.307: gtk_widget_hide: assertion 'GTK_IS_WIDGET (widget)' failed
10.23@19:34 ++ Return code:0
10.23@19:34 ++ Install finished
10.23@19:36 ++ Could not uninhibit power management: GDBus.Error:org.gnome.SessionManager.GeneralError: Unable to uninhibit: Invalid cookie
10.23@19:36 ++ Starting refresh (local only)
10.23@19:36 ++ Found 11 software updates
10.23@19:36 ++ Refresh finished
10.23@19:36 ++ Could not uninhibit power management: GDBus.Error:org.gnome.SessionManager.GeneralError: Unable to uninhibit: Invalid cookie
10.23@19:49 ++ Update Manager window is open, delaying recurring refresh by 60s
10.23@19:50 ++ Recurring refresh will happen in 0 day(s), 0 hour(s) and 1 minute(s)
10.23@19:51 ++ Update Manager window is open, delaying recurring refresh by 60s
10.23@19:52 ++ Recurring refresh will happen in 0 day(s), 0 hour(s) and 1 minute(s)
10.23@19:53 ++ Update Manager window is open, delaying recurring refresh by 60s
10.23@19:54 ++ Recurring refresh will happen in 0 day(s), 0 hour(s) and 1 minute(s)
10.23@19:55 ++ Update Manager window is open, delaying recurring refresh by 60s
10.23@19:56 ++ Recurring refresh will happen in 0 day(s), 0 hour(s) and 1 minute(s)
10.23@19:57 ++ Update Manager window is open, delaying recurring refresh by 60s
10.23@19:58 ++ Recurring refresh will happen in 0 day(s), 0 hour(s) and 1 minute(s)
10.23@19:59 ++ Update Manager window is open, delaying recurring refresh by 60s
10.23@20:00 ++ Recurring refresh will happen in 0 day(s), 0 hour(s) and 1 minute(s)
10.23@20:01 ++ Update Manager window is open, delaying recurring refresh by 60s
10.23@20:02 ++ Recurring refresh will happen in 0 day(s), 0 hour(s) and 1 minute(s)
10.23@20:03 ++ Update Manager window is open, delaying recurring refresh by 60s
10.23@20:04 ++ Recurring refresh will happen in 0 day(s), 0 hour(s) and 1 minute(s)
10.23@20:05 ++ Update Manager window is open, delaying recurring refresh by 60s
10.23@20:06 ++ Recurring refresh will happen in 0 day(s), 0 hour(s) and 1 minute(s)
10.23@20:07 ++ Update Manager window is open, delaying recurring refresh by 60s
10.23@20:08 ++ Recurring refresh will happen in 0 day(s), 0 hour(s) and 1 minute(s)
10.23@20:09 ++ Update Manager window is open, delaying recurring refresh by 60s
10.23@20:10 ++ Recurring refresh will happen in 0 day(s), 0 hour(s) and 1 minute(s)
10.23@20:11 ++ Update Manager window is open, delaying recurring refresh by 60s
10.23@20:12 ++ Recurring refresh will happen in 0 day(s), 0 hour(s) and 1 minute(s)
10.23@20:13 ++ Update Manager window is open, delaying recurring refresh by 60s
10.23@20:14 ++ Recurring refresh will happen in 0 day(s), 0 hour(s) and 1 minute(s)
10.23@20:15 ++ Update Manager window is open, delaying recurring refresh by 60s
10.23@20:16 ++ Recurring refresh will happen in 0 day(s), 0 hour(s) and 1 minute(s)
10.23@20:17 ++ Update Manager window is open, delaying recurring refresh by 60s
10.23@20:18 ++ Recurring refresh will happen in 0 day(s), 0 hour(s) and 1 minute(s)
10.23@20:19 ++ Update Manager window is open, delaying recurring refresh by 60s
10.23@20:20 ++ Recurring refresh will happen in 0 day(s), 0 hour(s) and 1 minute(s)
10.23@20:21 ++ Update Manager window is open, delaying recurring refresh by 60s
10.23@20:22 ++ Recurring refresh will happen in 0 day(s), 0 hour(s) and 1 minute(s)
10.23@20:23 ++ Update Manager window is open, delaying recurring refresh by 60s
10.23@20:24 ++ Recurring refresh will happen in 0 day(s), 0 hour(s) and 1 minute(s)
10.23@20:25 ++ Update Manager window is open, delaying recurring refresh by 60s
10.23@20:26 ++ Recurring refresh will happen in 0 day(s), 0 hour(s) and 1 minute(s)
10.23@20:27 ++ Update Manager window is open, delaying recurring refresh by 60s
10.23@20:28 ++ Recurring refresh will happen in 0 day(s), 0 hour(s) and 1 minute(s)
10.23@20:29 ++ Update Manager window is open, delaying recurring refresh by 60s
10.23@20:30 ++ Recurring refresh will happen in 0 day(s), 0 hour(s) and 1 minute(s)
10.23@20:31 ++ Update Manager window is open, delaying recurring refresh by 60s
10.23@20:32 ++ Recurring refresh will happen in 0 day(s), 0 hour(s) and 1 minute(s)
10.23@20:33 ++ Update Manager window is open, delaying recurring refresh by 60s
10.23@20:34 ++ Recurring refresh will happen in 0 day(s), 0 hour(s) and 1 minute(s)
10.23@20:35 ++ Update Manager window is open, delaying recurring refresh by 60s
10.23@20:36 ++ Recurring refresh will happen in 0 day(s), 0 hour(s) and 1 minute(s)
10.23@20:37 ++ Update Manager window is open, delaying recurring refresh by 60s
10.23@20:38 ++ Recurring refresh will happen in 0 day(s), 0 hour(s) and 1 minute(s)
10.23@20:39 ++ Update Manager window is open, delaying recurring refresh by 60s
10.23@20:40 ++ Recurring refresh will happen in 0 day(s), 0 hour(s) and 1 minute(s)
10.23@20:41 ++ Update Manager window is open, delaying recurring refresh by 60s
10.23@20:42 ++ Recurring refresh will happen in 0 day(s), 0 hour(s) and 1 minute(s)
10.23@20:43 ++ Update Manager window is open, delaying recurring refresh by 60s
10.23@20:44 ++ Recurring refresh will happen in 0 day(s), 0 hour(s) and 1 minute(s)
10.23@20:45 ++ Update Manager window is open, delaying recurring refresh by 60s
10.23@20:46 ++ Recurring refresh will happen in 0 day(s), 0 hour(s) and 1 minute(s)
10.23@20:47 ++ Update Manager window is open, delaying recurring refresh by 60s
10.23@20:48 ++ Recurring refresh will happen in 0 day(s), 0 hour(s) and 1 minute(s)
10.23@20:49 ++ Update Manager window is open, delaying recurring refresh by 60s
10.23@20:50 ++ Recurring refresh will happen in 0 day(s), 0 hour(s) and 1 minute(s)
10.23@20:51 ++ Update Manager window is open, delaying recurring refresh by 60s
10.23@20:52 ++ Recurring refresh will happen in 0 day(s), 0 hour(s) and 1 minute(s)
10.23@20:54 ++ Update Manager window is open, delaying recurring refresh by 60s
10.23@20:55 ++ Recurring refresh will happen in 0 day(s), 0 hour(s) and 1 minute(s)
10.23@20:56 ++ Update Manager window is open, delaying recurring refresh by 60s
10.23@20:57 ++ Recurring refresh will happen in 0 day(s), 0 hour(s) and 1 minute(s)
10.23@20:58 ++ Update Manager window is open, delaying recurring refresh by 60s
10.23@20:59 ++ Recurring refresh will happen in 0 day(s), 0 hour(s) and 1 minute(s)
10.23@21:00 ++ Update Manager window is open, delaying recurring refresh by 60s
10.23@21:01 ++ Recurring refresh will happen in 0 day(s), 0 hour(s) and 1 minute(s)
10.23@21:02 ++ Update Manager window is open, delaying recurring refresh by 60s
10.23@21:03 ++ Recurring refresh will happen in 0 day(s), 0 hour(s) and 1 minute(s)
10.23@21:04 ++ Update Manager window is open, delaying recurring refresh by 60s
10.23@21:05 ++ Recurring refresh will happen in 0 day(s), 0 hour(s) and 1 minute(s)
10.23@21:06 ++ Update Manager window is open, delaying recurring refresh by 60s
10.23@21:06 ++ Install requested by user
10.23@21:07 ++ Recurring refresh will happen in 0 day(s), 0 hour(s) and 1 minute(s)
10.23@21:08 ++ Update Manager window is open, delaying recurring refresh by 60s
10.23@21:08 ++ Could not uninhibit power management: GDBus.Error:org.gnome.SessionManager.GeneralError: Unable to uninhibit: Invalid cookie
10.23@21:08 ++ Starting refresh (local only)
10.23@21:08 ++ Found 6 software updates
10.23@21:08 ++ Refresh finished
10.23@21:08 ++ Could not uninhibit power management: GDBus.Error:org.gnome.SessionManager.GeneralError: Unable to uninhibit: Invalid cookie
10.23@21:09 ++ Recurring refresh will happen in 0 day(s), 0 hour(s) and 1 minute(s)
10.23@21:10 ++ Update Manager window is open, delaying recurring refresh by 60s
10.23@21:11 ++ Recurring refresh will happen in 0 day(s), 0 hour(s) and 1 minute(s)
10.23@21:12 ++ Update Manager window is open, delaying recurring refresh by 60s
10.23@21:13 ++ Recurring refresh will happen in 0 day(s), 0 hour(s) and 1 minute(s)
10.23@21:14 ++ Update Manager window is open, delaying recurring refresh by 60s
10.23@21:15 ++ Recurring refresh will happen in 0 day(s), 0 hour(s) and 1 minute(s)
10.23@21:16 ++ Update Manager window is open, delaying recurring refresh by 60s
10.23@21:17 ++ Recurring refresh will happen in 0 day(s), 0 hour(s) and 1 minute(s)
10.23@21:18 ++ Update Manager window is open, delaying recurring refresh by 60s
10.23@21:19 ++ Recurring refresh will happen in 0 day(s), 0 hour(s) and 1 minute(s)
10.23@21:19 ++ Install requested by user
10.23@21:19 ++ Could not uninhibit power management: GDBus.Error:org.gnome.SessionManager.GeneralError: Unable to uninhibit: Invalid cookie
10.23@21:19 ++ Starting refresh (local only)
10.23@21:19 ++ Found 4 software updates
10.23@21:19 ++ Refresh finished
10.23@21:19 ++ Could not uninhibit power management: GDBus.Error:org.gnome.SessionManager.GeneralError: Unable to uninhibit: Invalid cookie
10.23@21:19 ++ Install requested by user
10.23@21:19 ++ Could not uninhibit power management: GDBus.Error:org.gnome.SessionManager.GeneralError: Unable to uninhibit: Invalid cookie
10.23@21:19 ++ Starting refresh (local only)
10.23@21:19 ++ Found 3 software updates
10.23@21:19 ++ Refresh finished
10.23@21:19 ++ Could not uninhibit power management: GDBus.Error:org.gnome.SessionManager.GeneralError: Unable to uninhibit: Invalid cookie
10.23@21:20 ++ Update Manager window is open, delaying recurring refresh by 60s
10.23@21:21 ++ Recurring refresh will happen in 0 day(s), 0 hour(s) and 1 minute(s)
10.23@21:22 ++ Update Manager window is open, delaying recurring refresh by 60s

Crash report:
N/A

Additional context
N/A

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.