Bug 468657 - Aborted due to failure (While pulling ... from remote flathub: opcode set-read-source: Opening content object ...: Opening content object ...: Couldn't find file object '...')
Summary: Aborted due to failure (While pulling ... from remote flathub: opcode set-rea...
Status: CONFIRMED
Alias: None
Product: Discover
Classification: Applications
Component: Flatpak Backend (show other bugs)
Version: 5.27.4
Platform: Fedora RPMs Linux
: VHI normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
: 480761 (view as bug list)
Depends on:
Blocks:
 
Reported: 2023-04-18 15:29 UTC by Timothée Ravier
Modified: 2024-09-20 18:48 UTC (History)
7 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Timothée Ravier 2023-04-18 15:29:10 UTC
SUMMARY

Parallel transactions (installations/updates) are likely confusing ostree and large Flatpak App and Runtime updates are failing with errors. Here an example where the Freedesktop SDK update:

```
Aborted due to failure (While pulling runtime/org.freedesktop.Platform.GL.default/x86_64/22.08 from remote flathub: opcode set-read-source: Opening content object be32b7be35974cc1c244e8ebf6cb267587d74ecf82a9cb6e9fd5993211e35ced: Opening content object be32b7be35974cc1c244e8ebf6cb267587d74ecf82a9cb6e9fd5993211e35ced: Couldn't find file object 'be32b7be35974cc1c244e8ebf6cb267587d74ecf82a9cb6e9fd5993211e35ced')

Aborted due to failure (While pulling runtime/org.freedesktop.Platform.GL.default/x86_64/22.08 from remote flathub: opcode set-read-source: Opening content object be32b7be35974cc1c244e8ebf6cb267587d74ecf82a9cb6e9fd5993211e35ced: Opening content object be32b7be35974cc1c244e8ebf6cb267587d74ecf82a9cb6e9fd5993211e35ced: Couldn't find file object 'be32b7be35974cc1c244e8ebf6cb267587d74ecf82a9cb6e9fd5993211e35ced')

Aborted due to failure (While pulling runtime/org.freedesktop.Platform.GL.default/x86_64/22.08 from remote flathub: opcode set-read-source: Opening content object be32b7be35974cc1c244e8ebf6cb267587d74ecf82a9cb6e9fd5993211e35ced: Opening content object be32b7be35974cc1c244e8ebf6cb267587d74ecf82a9cb6e9fd5993211e35ced: Couldn't find file object 'be32b7be35974cc1c244e8ebf6cb267587d74ecf82a9cb6e9fd5993211e35ced')
```

STEPS TO REPRODUCE
1. Have a large, multi runtime / apps / sdk update
2. Update using Discover

OBSERVED RESULT

Errors as above

EXPECTED RESULT

No errors

SOFTWARE/OS VERSIONS
Operating System: Fedora Linux 38
KDE Plasma Version: 5.27.4
KDE Frameworks Version: 5.104.0
Qt Version: 5.15.8
Kernel Version: 6.2.9-300.fc38.x86_64 (64-bit)
Graphics Platform: Wayland

ADDITIONAL INFORMATION

See https://invent.kde.org/plasma/discover/-/merge_requests/281
Comment 1 Timothée Ravier 2023-04-18 15:37:03 UTC
Another way to trigger this failure is to run `flatpak update` while Discover is doing an update.
Comment 2 Nate Graham 2024-02-06 22:28:56 UTC
*** Bug 480761 has been marked as a duplicate of this bug. ***
Comment 3 Nate Graham 2024-09-20 18:48:43 UTC
This error is all over the internet making us look bad: https://duckduckgo.com/?q=%22aborted+due+to+failure%22&t=ffab&ia=web. My wife hits is semi-regularly too.

I think we need to take greater pains to protect the user from this error, either by doing what we can on our side to fix it, or else at least wrapping it in more user-friendly padding like we do for packagekit update errors.