Bug 1655953 - Gnome Software fails to install Flatpak Packages
Summary: Gnome Software fails to install Flatpak Packages
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: gnome-software
Version: 29
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Richard Hughes
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-12-04 10:18 UTC by mvw1970
Modified: 2018-12-04 14:14 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-12-04 14:14:12 UTC


Attachments (Terms of Use)
System Log Messages while the error occured (1.07 KB, text/plain)
2018-12-04 10:18 UTC, mvw1970
no flags Details
Screenshot of the error message (164.08 KB, image/png)
2018-12-04 10:26 UTC, mvw1970
no flags Details

Description mvw1970 2018-12-04 10:18:33 UTC
Created attachment 1511244 [details]
System Log Messages while the error occured

gnome-software: Version 3.30.5, Release 1.fc29


How reproducible:
Use Gnome Software on Fedora 29 to (try to) install a Flatpak package.

Steps to Reproduce:
1.Open Gnome Software
2.Open a flatpak packages' site
3.Click the "Install" button

Actual results:
Button changes to say "Installing". The System Monitor Application shows that about 400MB are then downloaded before the Install process fails with the following message:

Unable to install Geary:
failed to run transaction for user/flatpak/flathub/desktop/org.gnome.Geary.desktop/stable: While trying to checkout 6d1d0ebbd72404c61d109307eb2240542b7ad82608bc642bba6f3eebcf8bf3 into /home/user/.local/share/flatpak/runtime/org.gnome.Platform/x86_64/3.28/.61d0ebbd72404c61d109307eb224052b7ad8206bc6428bba6f3eebcfc8bf8-QO59SZ: Opening content object cc700d46f407c6c5ab2d5dde474366a928b7398277e61162e7f8ec06469f07e: fgetxattr: No data available

(I typed this by hand from the displayed error message. So there may be typing errors despite my best efforts)


Expected results:
The button changes to show "Installing", Gnome Software downloads the necessary data, installs the package and then changes the Button to show "Open Application.

Additional info: 
I tried installing Telegram and Geary. Both resulted in the same kind of error message.

Comment 1 Kalev Lember 2018-12-04 10:22:54 UTC
This is not a gnome-software issue. There's something wrong with your user flatpak installation. I would guess that it must have been backed up and restored from a backup without xattrs.

Can you try if "flatpak repair --user" on the command line fixes this?

Comment 2 mvw1970 2018-12-04 10:26:02 UTC
Created attachment 1511257 [details]
Screenshot of the error message

This is the screenshot of the error message I typed in the original bug.

Comment 3 mvw1970 2018-12-04 13:23:19 UTC
(In reply to Kalev Lember from comment #1)
> This is not a gnome-software issue. There's something wrong with your user
> flatpak installation. I would guess that it must have been backed up and
> restored from a backup without xattrs.
> 
> Can you try if "flatpak repair --user" on the command line fixes this?

Thank you for the quick answer.
Yes, that solved my problem.
I had not found any information about it on the web so I assumed it was a bug.
Do you think that an error message that upon this error hints at your solution might be a good idea?

Comment 4 Kalev Lember 2018-12-04 14:14:12 UTC
Ahh great :) Glad you got it working. Let's close the ticket then.

Not sure about the hint. Maybe, but in that case the hint should go to flatpak where the error message originates, not gnome-software. If you'd like to have that hint, please file an issue on https://github.com/flatpak/flatpak


Note You need to log in before you can comment on or make changes to this bug.