Public bug reported:

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.

** Affects: gnome-software (Ubuntu)
     Importance: Undecided
         Status: New

** Affects: livecd-rootfs (Ubuntu)
     Importance: Undecided
     Assignee: Iain Lane (laney)
         Status: In Progress

** Also affects: livecd-rootfs (Ubuntu)
   Importance: Undecided
       Status: New

** Changed in: livecd-rootfs (Ubuntu)
       Status: New => In Progress

** Changed in: livecd-rootfs (Ubuntu)
     Assignee: (unassigned) => Iain Lane (laney)

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

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

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

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

Reply via email to