Gnome Software doesn't update after refreshing system repositories

Bug #1575426 reported by Ty Young
34
This bug affects 6 people
Affects Status Importance Assigned to Milestone
gnome-software (Ubuntu)
Confirmed
High
Unassigned

Bug Description

This is similar to bug 1583403 but it's a little bit different.

[What happens]
==============
Installing

1. sudo apt install gnome-clocks
2. After installation completes, open the Software app.
3. Search for clocks.
4. The Clocks app shows up with an Install button.
5. Differently from bug 1583403, Clocks does not show up in the Installed page either.
6. Force-kill the gnome-software background processeither by logging out or by running $ pkill gnome-software
7. Open the Software app. Now Clocks show correctly as being installed.

[What should happen]
===================
4-5. The Clocks app shows up with a Remove button in the All page and the Installed page.

Similarly, I'm getting prompts to install system updates that I've installed hours before from the command line. (I can file a separate bug for that although it feels like it might be the same issue.)

Original bug report
===================
Gnome Software doesn't immediately update after updating the system repositories, even after application restart. This results in application versions and other details being listed correctly, even though the correct version will be downloaded correctly.

ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: gnome-software 3.20.1+git20160420.1.ca63436.ubuntu-xenial-0ubuntu2
ProcVersionSignature: Ubuntu 4.4.0-21.37-generic 4.4.6
Uname: Linux 4.4.0-21-generic x86_64
NonfreeKernelModules: nvidia_uvm nvidia_drm nvidia_modeset nvidia
ApportVersion: 2.20.1-0ubuntu2
Architecture: amd64
CurrentDesktop: GNOME
Date: Tue Apr 26 18:53:54 2016
InstallationDate: Installed on 2016-04-23 (3 days ago)
InstallationMedia: Ubuntu-GNOME 16.04 LTS "Xenial Xerus" - Release amd64 (20160421)
ProcEnviron:
 TERM=xterm-256color
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: gnome-software
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Ty Young (bluegoliath) wrote :
Revision history for this message
Sebastien Bacher (seb128) wrote :

Thank you for your bug report, indeed there seems to be cases when users need to click the refresh button

Changed in gnome-software (Ubuntu):
importance: Undecided → High
status: New → Confirmed
Will Cooke (willcooke)
tags: added: desktop-trello-import
Revision history for this message
Will Cooke (willcooke) wrote : Automatically added comment
tags: removed: desktop-trello-import
Revision history for this message
Jeremy Bícha (jbicha) wrote :

I think bug 1582959 has the same underlying cause.

In triaging these bugs, it's important to realize that there is a background gnome-software process so restarting the app often isn't enough unless you also restart or kill the background service.

Jeremy Bícha (jbicha)
description: updated
Revision history for this message
Ty Young (bluegoliath) wrote :

I'm not an expert on these things or even very knowledgeable about Linux in general, but based on my own personal experience that does seem to be the case. All of these bugs(including the one you linked):

https://bugs.launchpad.net/ubuntu/+source/gnome-software/+bug/1577253 https://bugs.launchpad.net/ubuntu/+source/gnome-software/+bug/1572155

seem to be caused by the same issue. Doing a system restart fixes every single one of them(I have experienced all of them).

Also noticed that this issue can also cause system updates to be offered even though they where already installed.

tags: added: yakkety
Revision history for this message
Alessandro Viprati (vipri-alessandro) wrote :

Same problem on Yakkety.
Birdfont app installed with g-s, "Remove" button not shown until "pkill gnome-software". Then I can see birdfont in the "Installed" page, launch the application and remove it.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.