Also check for the component type then (should be of type DESKTOP_APP)... It's a bit dirty though, because people will maybe not want metadata but still want to use GS... So probably checking if /var/lib/app-info/yaml contains files and /etc/apt/apt.conf.d/50appstream is present will be the better approach.
-- 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