gnome-software fails to install CAB files with multiple firmware items
(This was with gnome-software 3.28)
I have a CAB file with firmware corresponding to a composite device supported by fwupd. It contains 5 distinct firmware payloads and is intended to be treated as a transactional update for fwupd that updates the 5 distinct devices (and runs a transactional callback after update).
When double clicking it, gnome-software doesn't really know what to do. I get a popup error message in gnome-software and that's about it.
The error logs show this:
21:15:52:0183 Gs failed to call gs_plugin_add_updates_historical on fwupd: failed to build result for 96a9822b803c948f43468f4a5f300484fa44a587
21:15:53:0631 GLib g_str_has_prefix: assertion 'prefix != NULL' failed
21:15:53:0631 GLib g_str_has_prefix: assertion 'prefix != NULL' failed
21:15:53:0631 GLib g_str_has_prefix: assertion 'prefix != NULL' failed
21:15:53:0631 GLib g_str_has_prefix: assertion 'prefix != NULL' failed
21:15:53:0631 GLib g_str_has_prefix: assertion 'prefix != NULL' failed
21:15:53:0656 Gs failed to convert file to GsApp: more than one application was created for running file-to-app with refine-flags=require-license,require-url,require-size,require-version,require-history,require-setup-action,require-origin,require-related,require-menu-path,require-provenance,require-icon,require-permissions,require-origin-hostname,require-runtime,require-screenshots with failure-flags=use-events with timeout=60 with file=/home/user/file.cab on plugin=fwupd on apps */*/*/firmware/com.dell.device0.firmware/*,*/*/*/firmware/com.dell.device1.firmware/*,*/*/*/firmware/com.dell.device2.firmware/*,*/*/*/firmware/com.dell.device3.firmware/*,*/*/*/firmware/com.dell.device4.firmware/*,*/*/*/firmware/com.dell.device5.firmware/* took 108ms
21:15:53:0670 Gs Only 0 apps for recent list, hiding
Comparatively using fwupdmgr
the CAB gets unpackaged and handled by the daemon, all the devices matched up and firmware installed onto them followed by a post transaction command to reboot the composite device.