Failed to install a flatpak with extra data: No such file or directory

Bastien Nocera hadess at hadess.net
Sat Sep 15 13:25:37 UTC 2018


On Sat, 2018-09-15 at 07:37 +0800, Robin Lee wrote:
> Hi,
> 
> I am trying to update the flatpak for WPS office.
> 
> The current manifest json:
> https://paste.fedoraproject.org/paste/KLxZPndPrWy5eCWPvTqSsg
> 
> But when I tried to install the flatpak. It finally failed with
> error: Failed to install com.wps.WPS/x86_64/stable: No such file or
> directory
> 
> Full output of 'flatpak -v --user install temprepo com.wps.WPS -y':
> https://paste.fedoraproject.org/paste/aW4f5EPBZKzBng~55w-RWA
> 
> It is not clear what file is expected at this step of installation.
> The 'apply_extra'
> script was successfully run.

I believe those are the errors:
flatpak install: Not exporting file com.wps.WPS-wps-template.desktop of unsupported type.
flatpak install: Not exporting file com.wps.WPS-wpp-template.desktop of unsupported type.
flatpak install: Not exporting file com.wps.WPS-et-template.desktop of unsupported type.
flatpak install: Non-prefixed filename appurl.desktop in app com.wps.WPS, removing.

I believe that you need to check what desktop files get created, and
make sure that there's only a single .desktop file with a name that
matches the package name, eg. com.wps.WPS.desktop.

I think this .desktop file also needs to be in the original package
(and icons) for the manifest to be accepted in flathub, as otherwise it
would be missing from the details pages.



More information about the Flatpak mailing list