[Bug 1554023] Re: Perform an apt update if there is no appstream available

Launchpad Bug Tracker 1554023 at bugs.launchpad.net
Thu Mar 17 23:50:21 UTC 2016


This bug was fixed in the package gnome-software -
3.19.93~git20160318.55deb24-0ubuntu1

---------------
gnome-software (3.19.93~git20160318.55deb24-0ubuntu1) xenial; urgency=medium

  * New upstream snapshot
  * debian/control:
    - Add Vcs-Bzr link
  * debian/ubuntu-one.png:
    - Move binary file from ubuntu-review-submit.patch into packaging
  * debian/patches/apt-plugin.patch:
    - Fix crash when authentication denied (LP: #1549890)
    - Fix changelog URL
    - Fix typo (LP: #1557213)
  * debian/patches/fwupd-error.patch:
    - Handle fwupd not existing (LP: #1558816)
  * debian/patches/appstream-refresh.patch:
    - Perform an apt update if there is no appstream available (LP: #1554023)
  * debian/patches/sideload-workaround.patch:
    - Applied upstream

 -- Robert Ancell <robert.ancell at canonical.com>  Fri, 18 Mar 2016
10:43:09 +1300

** Changed in: gnome-software (Ubuntu)
       Status: In Progress => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to livecd-rootfs in Ubuntu.
https://bugs.launchpad.net/bugs/1554023

Title:
  Perform an apt update if there is no appstream available

Status in gnome-software package in Ubuntu:
  Fix Released
Status in livecd-rootfs package in Ubuntu:
  Fix Released

Bug description:
  appstream's IndexTarget doesn't take effect until the first 'apt
  update' after it is installed. This means you get no installed
  software after first installing g-s until you update again.

  I tried to ask apt's developers if they could see a way to fix this
  but on first reply they deny there is a problem at all.

    http://comments.gmane.org/gmane.linux.debian.apt.devel/30085

  So I think we have to workaround the problem somehow. First strawman:
  have gnome-software do an 'update' on first launch if it finds no
  appstream metadata and /etc/apt/apt.conf.d/50appstream is installed.

  We also need to fix this in livecd-rootfs for new installs. I guess
  there we can add a hook to do an update as part of the build.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-software/+bug/1554023/+subscriptions



More information about the foundations-bugs mailing list