What's happing in this case:
1. The apt plugin states that evince-common is installed.
2. The appstream plugin attempts to find the metadata for this.
3. appstream-glib has multiple entries for the package "evince-common", it 
picks the first one ("evince-psdocument").
4. evince-psdocument doesn't have a type, so GNOME Software rejects the 
metadata.

I'm not sure why there's multiple appstream entries for this.

I suspect that moving the .desktop file into the main binary will
probably solve this and it seems like the right thing to do anyway. I'm
not sure if there's other cases that may be hit by this issue and what
the solution is for them.

** Changed in: gnome-software (Ubuntu)
       Status: Confirmed => Triaged

** Changed in: gnome-software (Ubuntu)
   Importance: Undecided => High

** Also affects: evince (Ubuntu)
   Importance: Undecided
       Status: New

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to evince in Ubuntu.
https://bugs.launchpad.net/bugs/1553156

Title:
  evince not listed

Status in appstream-glib package in Ubuntu:
  New
Status in evince package in Ubuntu:
  New
Status in gnome-software package in Ubuntu:
  Triaged

Bug description:
  Using current xenial, evince is not listed in gnome-software. The log
  states it's of unknow application type ... could it come from the fact
  that the .desktop is in the -common binary?

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/appstream-glib/+bug/1553156/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to