Ubuntu patches make applying firmware updates not possible

Bug #1565865 reported by Mario Limonciello
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
casper (Ubuntu)
Fix Released
Undecided
Mario Limonciello
gnome-software (Ubuntu)
Fix Released
High
William Hua

Bug Description

gnome software version: 3.20.1~git20160331.78d1aab-0ubuntu2
fwupd version: 0.7.0-0ubuntu3

Now that the firmware support has been applied, I've noticed that there are some differences of behavior from upstream gnome-software without Ubuntu patches to that with the Ubuntu patches applied.

I've staged a system with firmware updates available on LVFS (XPS 9350). After trying to do an update I've noticed two specific problems.

1) The metadata for firmware updates doesn't refresh in the background. As a user you need to manually go over to the Updates tab and hit the refresh button. I may be wrong, but I believe that's caused by:
https://git.gnome.org/browse/gnome-software/commit/?h=wip/attente/clean-ubuntu-changes&id=08c02f52c4f5cddbab0c7346abcb7b8ecc334827

2) Hitting the refresh button gets the firmware update to download and cache in the background but the button to install it is missing. Normally this button is on the Updates tab. I believe that's caused by this:
https://git.gnome.org/browse/gnome-software/commit/?h=wip/attente/clean-ubuntu-changes&id=f7512b95f98b42d2116a22d88464f56b44df7758

Here is a screenshot showing what the updates tab looks like after hitting the refresh button.
http://goo.gl/photos/dJ8KRVWiAFSJtV3b6

Revision history for this message
Mario Limonciello (superm1) wrote :

Also FWIW there is a handler for double clicking .cab files that had been manually downloaded. I took the file that was downloaded from the manual refresh run and opened it in gnome-software.

That actually works properly (aside from https://bugs.launchpad.net/ubuntu/+source/desktop-file-utils/+bug/1565873)

Changed in gnome-software (Ubuntu):
importance: Undecided → High
William Hua (attente)
Changed in gnome-software (Ubuntu):
assignee: nobody → William Hua (attente)
status: New → In Progress
Revision history for this message
Mario Limonciello (superm1) wrote :

Adding a casper task to make sure that when the gnome-software part is fixed gnome-software won't actually start it's user session service on live media.

Changed in casper (Ubuntu):
status: New → Fix Committed
assignee: nobody → Mario Limonciello (superm1)
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package casper - 1.371

---------------
casper (1.371) xenial; urgency=medium

  * Don't let gnome-software's service run in a live env. (LP: #1565865)

 -- Mario Limonciello <email address hidden> Thu, 07 Apr 2016 12:27:16 -0500

Changed in casper (Ubuntu):
status: Fix Committed → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package gnome-software - 3.20.1+git20160414.1.cc9a0a6.ubuntu-xenial-0ubuntu1

---------------
gnome-software (3.20.1+git20160414.1.cc9a0a6.ubuntu-xenial-0ubuntu1) xenial; urgency=medium

  * New upstream snapshot from the wip/iainl/ubuntu-xenial branch at
    git://git.gnome.org/gnome-software.
    + Uses libapt instead of manual parsing to find out about Debian packages.
    + Runs the background service again for firmware and other updates. (LP:
    #1565865)
    + Fixes use-after-free (LP: #1554164)
    + Should mark software as 'free' correctly. (LP: #1569328, #1568021)
  * All Ubuntu patches are in the orig.tar.xz, so have been dropped from the
    packaging.
  * debian/control: Add libapt-pkg-dev BD - the apt plugin now uses libapt
    directly instead of parsing files itself.
  * debian/README.source: Add info on where the upstream VCS with Ubuntu
    changes is.

 -- Iain Lane <email address hidden> Thu, 14 Apr 2016 14:15:33 +0100

Changed in gnome-software (Ubuntu):
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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