ostree icon indicating copy to clipboard operation
ostree copied to clipboard

drop FUSE detection workaround for flatpak

Open smcv opened this issue 2 years ago • 43 comments

As reported on https://github.com/flatpak/flatpak/issues/5452, multiple Fedora users seem to be seeing Flatpak update failures since their OS was upgraded from libostree 2023.3 to 2023.4. @yuntaz0 reports in https://github.com/flatpak/flatpak/issues/5452#issuecomment-1604140400 that rolling back to a previous OS image resolves this for them; only a few packages were involved in that rollback, of which libostree seems like the most likely cause for a Flatpak regression.

I haven't packaged 2023.4 for my OS (Debian) yet, so I have no particular insight into this myself.

smcv avatar Jun 23 '23 13:06 smcv

I've bisected this down to 59a653c9dd3aa7aa5f0b5b49c6bec288c6cd747a, reverting it on 2023.4 fixes this behavior.

Jan200101 avatar Jun 23 '23 17:06 Jan200101

Interesting. Can you tell exactly where in flatpak this starts to fail? Flatpak does some interesting things with temporary and parent/child repos that might not get good test coverage in ostree.

dbnicholson avatar Jun 23 '23 17:06 dbnicholson

I have no experience with all the different glib abstractions so I haven't found anything yet.

The best I have found so far is that it happens somewhere in or after write_content_object() since that is where the error prefix Writing content object is set.

Jan200101 avatar Jun 23 '23 19:06 Jan200101

The error comes from GZlibDecompressor. Why that would happen from creating the file in the repo's tmp directory rather than in /var/tmp... I don't know. @cgwalters any ideas?

It would be interesting to run flatpak with G_MESSAGES_DEBUG=all (or maybe just --verbose --ostree-verbose) and try to see where the repo is and if there's anything special about it.

dbnicholson avatar Jun 23 '23 19:06 dbnicholson

running with both G_MESSAGES_DEBUG=all and --verbose --ostree-verbose gives

Partial Log
F: fetch of 298c2271055571ec60ba06b071c49b7f3d6e1ca3eca3d14beccd8ffd093e8965.file complete
F: _ostree_fetcher_should_retry_request: error: unset, n_retries_remaining: 5
F: Request caught error: Writing content object: Need more input
Installing 1/8… ██                    10%  12.8 MB/s
F: fetch static delta part c000a200f6ec1a27427e6de616dacbfb5d0ed6102bf8e4a868f1aaad5bd73008 complete
F: _ostree_fetcher_should_retry_request: error: 231:34 Input buffer too small, n_retries_remaining: 4
F: Should retry request (remaining: 4 retries), due to transient error: Input buffer too small
F: starting fetch of deltapart deltas/i0/7kHM6DKth+aoBv2DWawpXqI3aM9RXYjFAqDcq1TKI/0
Installing 1/8… ██▏                   11%  16.1 MB/s
F: fetch of 86ab61f731e70d825dc9483843be73d86e89357465ea6490212422f8f478edcc.file complete
F: _ostree_fetcher_should_retry_request: error: unset, n_retries_remaining: 5
F: Request caught error: Writing content object: Need more input
F: fetch static delta part c000a200f6ec1a27427e6de616dacbfb5d0ed6102bf8e4a868f1aaad5bd73008 complete
F: _ostree_fetcher_should_retry_request: error: 231:34 Input buffer too small, n_retries_remaining: 3
F: Should retry request (remaining: 3 retries), due to transient error: Input buffer too small
F: starting fetch of deltapart deltas/i0/7kHM6DKth+aoBv2DWawpXqI3aM9RXYjFAqDcq1TKI/0
F: fetch of 2b76da1f9708c36269e41004e9178b012f56a0ebabcb3c631a7c120906f2dede.file complete
F: _ostree_fetcher_should_retry_request: error: unset, n_retries_remaining: 5
F: Request caught error: Writing content object: Need more input
Installing 1/8… ██▍                   12%  19.6 MB/s
F: fetch static delta part c000a200f6ec1a27427e6de616dacbfb5d0ed6102bf8e4a868f1aaad5bd73008 complete
F: _ostree_fetcher_should_retry_request: error: 231:34 Input buffer too small, n_retries_remaining: 2
F: Should retry request (remaining: 2 retries), due to transient error: Input buffer too small
F: starting fetch of deltapart deltas/i0/7kHM6DKth+aoBv2DWawpXqI3aM9RXYjFAqDcq1TKI/0
Installing 1/8… ██▌                   13%  11.6 MB/s
Installing 1/8… ██▌                   13%  13.3 MB/s
F: fetch static delta part c000a200f6ec1a27427e6de616dacbfb5d0ed6102bf8e4a868f1aaad5bd73008 complete
F: _ostree_fetcher_should_retry_request: error: 231:34 Input buffer too small, n_retries_remaining: 1
F: Should retry request (remaining: 1 retries), due to transient error: Input buffer too small
F: starting fetch of deltapart deltas/i0/7kHM6DKth+aoBv2DWawpXqI3aM9RXYjFAqDcq1TKI/0
Installing 1/8… ██▊                   14%  15.0 MB/s
F: fetch static delta part c000a200f6ec1a27427e6de616dacbfb5d0ed6102bf8e4a868f1aaad5bd73008 complete
F: _ostree_fetcher_should_retry_request: error: 231:34 Input buffer too small, n_retries_remaining: 0
F: Request caught error: Input buffer too small
Installing 1/8… ███                   15%  11.1 MB/s
Installing 1/8… ███                   15%  12.1 MB/s
F: fetch of e8ab10dbc3306a082c482a18ba0fedd86776bf710b2faeec0bee34e787e51e28.file complete
F: _ostree_fetcher_should_retry_request: error: unset, n_retries_remaining: 5
F: Request caught error: Writing content object: Need more input
Installing 1/8… ███▏                  16%  13.3 MB/s
Installing 1/8… ███▍                  17%  14.3 MB/s
Installing 1/8… ███▍                  17%  11.5 MB/s  00:19
F: fetch of f9f0ca8060bcc8956a61545256788fc4e6f633bbe0fec697798f433cb54b8df0.file complete
F: _ostree_fetcher_should_retry_request: error: unset, n_retries_remaining: 5
F: Request caught error: Writing content object: Need more input
F: pull: idle, exiting mainloop
F: Aborting transaction in repository 0x55f0e5bf1540
F: Calling system helper: CancelPull
F: Calling system helper: CancelPull
Warning: While pulling runtime/org.freedesktop.Platform.GL.default/x86_64/22.08 from remote flathub: Writing content object: Need more input

the log includes a different error message which is from _ostree_lzma_return

F: _ostree_fetcher_should_retry_request: error: 231:34 Input buffer too small, n_retries_remaining: 1
F: Should retry request (remaining: 1 retries), due to transient error: Input buffer too small

https://github.com/ostreedev/ostree/blob/363a1f14a8ca83842a2f27fbc76dd8cc89599b5a/src/libostree/ostree-lzma-common.c#L60

I think the error message might be misleading, at least with LZMA. Input buffer too small only gets set when LZMA_BUF_ERROR is returned by lzma_code and the documentation for LZMA_BUF_ERROR reads

This error code is returned when the coder cannot consume any new input and produce any new output. The most common reason for this error is that the input stream being decoded is truncated or corrupt.

Both glnx_open_tmpfile_linkable_at and glnx_open_anonymous_tmpfile end up calling open_tmpfile_core which does the heavy lifting, so in theory the logic should be pretty much the same, so why does one work but the other doesn't?

the only difference that is obvious is that one uses the dfd and a relative path while the other just uses whatever is in $TMPDIR or /var/tmp.

Jan200101 avatar Jun 23 '23 20:06 Jan200101

the only difference that is obvious is that one uses the dfd and a relative path while the other just uses whatever is in $TMPDIR or /var/tmp.

Exactly. Do you have the full log or at least the earlier parts? I don't know if it will help, but I'd like to see exactly where the repo is. In order to use the flatpak system repo, there's a funky 2 stage setup where (I believe) it uses a temporary repo writable by the unprivileged user as the intermediary. I'd like to know what's special about this configuration because I don't think the patch breaks typical ostree usage.

dbnicholson avatar Jun 23 '23 21:06 dbnicholson

BTW, the 2 errors are essentially the same thing. In one you're getting a .file object, which is zlib compressed. Eventually GZlibDecompressor returns G_IO_ERROR_PARTIAL_INPUT with the message set as "Need more input". The other is a static delta part which is LZMA compressed. In that case, ostree's in repo LZMA decmpressor throws G_IO_ERROR_PARTIAL_INPUT with the likely wrong message set as "Input buffer too small".

In both cases, though, the decompression library is saying it's reached the end of the stream without seeing the expected end. I don't know why that's happening, but I think both errors likely come from the same cause.

dbnicholson avatar Jun 23 '23 21:06 dbnicholson

Full logs

I've alsog one ahead and captured the output of ls -l /proc/$(pidof flatpak)/fd

(all anon inodes and and sockets removed for clarity)

lrwx------ 1 sentry sentry 64 Jun 24 12:44 0 -> /dev/pts/1
lrwx------ 1 sentry sentry 64 Jun 24 12:44 1 -> /dev/pts/1
lr-x------ 1 sentry sentry 64 Jun 24 12:44 10 -> /var/lib/flatpak/repo
lr-x------ 1 sentry sentry 64 Jun 24 12:44 11 -> /var/lib/flatpak/repo/objects
lr-x------ 1 sentry sentry 64 Jun 24 12:44 12 -> /var/lib/flatpak/repo/tmp
lr-x------ 1 sentry sentry 64 Jun 24 12:44 13 -> /home/sentry/.cache/flatpak/system-cache
lr-x------ 1 sentry sentry 64 Jun 24 12:44 14 -> /home/sentry/.local/share/flatpak/repo
lr-x------ 1 sentry sentry 64 Jun 24 12:44 15 -> /home/sentry/.local/share/flatpak/repo/objects
lr-x------ 1 sentry sentry 64 Jun 24 12:44 16 -> /home/sentry/.local/share/flatpak/repo/tmp
lr-x------ 1 sentry sentry 64 Jun 24 12:44 17 -> /home/sentry/.local/share/flatpak/repo/tmp/cache
lr-x------ 1 sentry sentry 64 Jun 24 12:44 18 -> /var/lib/flatpak/repo
lr-x------ 1 sentry sentry 64 Jun 24 12:44 19 -> /var/lib/flatpak/repo/objects
lrwx------ 1 sentry sentry 64 Jun 24 12:44 2 -> /dev/pts/1
lr-x------ 1 sentry sentry 64 Jun 24 12:44 20 -> /var/lib/flatpak/repo/tmp
lr-x------ 1 sentry sentry 64 Jun 24 12:44 21 -> /home/sentry/.cache/flatpak/system-cache
lr-x------ 1 sentry sentry 64 Jun 24 12:44 27 -> /var/tmp/flatpak-cache-276Y61/org.kde.Platform-RLRC71/repo-IoyxB2/tmp/staging-f58b91f7-d759-49ae-a2da-7fd2e7f19457-QCx7X6
lrwx------ 1 sentry sentry 64 Jun 24 12:44 28 -> /var/tmp/flatpak-cache-276Y61/org.kde.Platform-RLRC71/repo-IoyxB2-lock
lrwx------ 1 sentry sentry 64 Jun 24 12:44 29 -> /var/tmp/flatpak-cache-276Y61/org.kde.Platform-RLRC71/repo-IoyxB2/tmp/staging-f58b91f7-d759-49ae-a2da-7fd2e7f19457-QCx7X6-lock
lrwx------ 1 sentry sentry 64 Jun 24 12:44 3 -> 'anon_inode:[eventfd]'
lr-x------ 1 sentry sentry 64 Jun 24 12:44 33 -> /var/tmp/flatpak-cache-276Y61/org.kde.Platform-RLRC71/repo-IoyxB2
lr-x------ 1 sentry sentry 64 Jun 24 12:44 34 -> /var/tmp/flatpak-cache-276Y61/org.kde.Platform-RLRC71/repo-IoyxB2/objects
lr-x------ 1 sentry sentry 64 Jun 24 12:44 35 -> /var/tmp/flatpak-cache-276Y61/org.kde.Platform-RLRC71/repo-IoyxB2/tmp
lr-x------ 1 sentry sentry 64 Jun 24 12:44 36 -> /var/lib/flatpak/repo
lr-x------ 1 sentry sentry 64 Jun 24 12:44 37 -> /var/lib/flatpak/repo/objects
lr-x------ 1 sentry sentry 64 Jun 24 12:44 38 -> /var/lib/flatpak/repo/tmp
lr-x------ 1 sentry sentry 64 Jun 24 12:44 39 -> /home/sentry/.cache/flatpak/system-cache
lrwx------ 1 sentry sentry 64 Jun 24 12:44 41 -> /var/tmp/flatpak-cache-276Y61/org.kde.Platform-RLRC71/repo-IoyxB2/tmp/tmp.TTGAn5
lrwx------ 1 sentry sentry 64 Jun 24 12:44 42 -> /var/tmp/flatpak-cache-276Y61/org.kde.Platform-RLRC71/repo-IoyxB2/tmp/tmp.o9vVcd

Jan200101 avatar Jun 24 '23 10:06 Jan200101

Another Fedora user, azarok, has also mentioned that they can install and update Flatpak apps by using sudo privileges. I have also tested this and can confirm that using sudo with Flatpak install and update commands works in my case. While I understand that Flatpak shouldn't normally require sudo, I thought it worth mentioning this observation.

yuntaz0 avatar Jun 24 '23 12:06 yuntaz0

Thats interesting.

running flatpak in the same way I did before, but this time as root, showed different path being used.

lrwx------ 1 root root 64 Jun 24 15:16 0 -> /dev/pts/1
lrwx------ 1 root root 64 Jun 24 15:16 1 -> /dev/pts/1
lr-x------ 1 root root 64 Jun 24 15:16 10 -> /var/lib/flatpak/repo/objects
lr-x------ 1 root root 64 Jun 24 15:16 11 -> /var/lib/flatpak/repo/tmp
lr-x------ 1 root root 64 Jun 24 15:16 12 -> /var/lib/flatpak/repo/tmp/cache
lr-x------ 1 root root 64 Jun 24 15:16 13 -> /root/.local/share/flatpak/repo
lr-x------ 1 root root 64 Jun 24 15:16 14 -> /root/.local/share/flatpak/repo/objects
lr-x------ 1 root root 64 Jun 24 15:16 15 -> /root/.local/share/flatpak/repo/tmp
lr-x------ 1 root root 64 Jun 24 15:16 16 -> /root/.local/share/flatpak/repo/tmp/cache
lr-x------ 1 root root 64 Jun 24 15:16 17 -> /var/lib/flatpak/repo
lr-x------ 1 root root 64 Jun 24 15:16 18 -> /var/lib/flatpak/repo/objects
lr-x------ 1 root root 64 Jun 24 15:16 19 -> /var/lib/flatpak/repo/tmp
lrwx------ 1 root root 64 Jun 24 15:16 2 -> /dev/pts/1
lr-x------ 1 root root 64 Jun 24 15:16 20 -> /var/lib/flatpak/repo/tmp/cache
lrwx------ 1 root root 64 Jun 24 15:16 26 -> /var/lib/flatpak/repo-lock
lrwx------ 1 root root 64 Jun 24 15:16 27 -> /var/lib/flatpak/repo/.lock
lrwx------ 1 root root 64 Jun 24 15:16 30 -> /var/lib/flatpak/repo/tmp/staging-f58b91f7-d759-49ae-a2da-7fd2e7f19457-YzU43z-lock
lrwx------ 1 root root 64 Jun 24 15:16 34 -> '/var/lib/flatpak/repo/tmp/#32375049 (deleted)'
lrwx------ 1 root root 64 Jun 24 15:16 35 -> '/var/lib/flatpak/repo/tmp/#32375062 (deleted)'
lrwx------ 1 root root 64 Jun 24 15:16 36 -> '/var/lib/flatpak/repo/tmp/#32375063 (deleted)'
lrwx------ 1 root root 64 Jun 24 15:16 37 -> '/var/lib/flatpak/repo/tmp/#32375065 (deleted)'
lrwx------ 1 root root 64 Jun 24 15:16 38 -> '/var/lib/flatpak/repo/tmp/#32375068 (deleted)'
lrwx------ 1 root root 64 Jun 24 15:16 39 -> '/var/lib/flatpak/repo/tmp/#32375067 (deleted)'
lrwx------ 1 root root 64 Jun 24 15:16 40 -> '/var/lib/flatpak/repo/tmp/#32375066 (deleted)'
lrwx------ 1 root root 64 Jun 24 15:16 41 -> '/var/lib/flatpak/repo/tmp/#32375069 (deleted)'
lrwx------ 1 root root 64 Jun 24 15:16 7 -> /dev/tty
lr-x------ 1 root root 64 Jun 24 15:16 9 -> /var/lib/flatpak/repo

Jan200101 avatar Jun 24 '23 13:06 Jan200101

@Jan200101 Thanks for all that info. I'm starting to suspect the error is actually in the system helper that pulls the objects from the user's temporary repo used for downloading into the /var/lib/flatpak/repo system repo.

I'd bet if you do a --user install it also works fine. I think the next test is to watch the system helper during the failed run.

dbnicholson avatar Jun 24 '23 14:06 dbnicholson

Can you run the system helper directly with sudo /usr/libexec/flatpak-system-helper --replace --no-idle-exit --verbose --ostree-verbose and see if there are any errors?

dbnicholson avatar Jun 24 '23 14:06 dbnicholson

I'd bet if you do a --user install it also works fine. I think the next test is to watch the system helper during the failed run.

I can confirm that using --user works without a problem

Can you run the system helper directly with sudo /usr/libexec/flatpak-system-helper --replace --no-idle-exit --verbose --ostree-verbose and see if there are any errors?

Sure thing https://gist.github.com/Jan200101/23a00076dbf92e37beb443a2383f60be

FH: CancelPull default 1 /var/lib/flatpak/repo/tmp/flatpak-cache-7DC461 seems fishy in there. If the pulls were prematurely canceled this would explain why various compressions functions report incomplete data.

Jan200101 avatar Jun 24 '23 14:06 Jan200101

FH: CancelPull default 1 /var/lib/flatpak/repo/tmp/flatpak-cache-7DC461 seems fishy in there. If the pulls were prematurely canceled this would explain why various compressions functions report incomplete data.

I actually think that's expected. At the end of your earlier verbose log you could see the user side instructing the system helper to cancel because of failures.

So, I think it is the user side in this interaction that's failing like was shown in your earlier logs. There must be something different about the temporary proxy repo the user sets up in /var/tmp that causes this error.

@alexlarsson do you have some time to look at this? I think you probably understand the interaction with the flatpak system helper better than anyone.

dbnicholson avatar Jun 24 '23 14:06 dbnicholson

im on gnome silverblue and im rolling back as well. i can get an update to finish in software center and rpm-ostree says there arent any available..did the new nvidia driver do this?

here's my output rolling back

rpm-rpm-ostree rollback
Moving '34a3fa0ec92a8e19d74049b931fef89845fd8e5d744cea72eaca35331288ce07.0' to be first deployment
Transaction complete; bootconfig swap: yes; bootversion: boot.1.1, deployment count change: 0
Downgraded:
  cldr-emoji-annotation 1:43.1-1.fc38 -> 1:43-1.fc38
  cldr-emoji-annotation-dtd 1:43.1-1.fc38 -> 1:43-1.fc38
  gdb-minimal 13.2-1.fc38 -> 13.1-4.fc38
  libdav1d 1.2.1-1.fc38 -> 1.1.0-1.fc38
  liburing 2.4-2.fc38 -> 2.3-2.fc38
  perl-HTTP-Tiny 0.084-1.fc38 -> 0.082-2.fc38
ostree rollback
Moving '34a3fa0ec92a8e19d74049b931fef89845fd8e5d744cea72eaca35331288ce07.0' to be first deployment
Transaction complete; bootconfig swap: yes; bootversion: boot.1.1, deployment count change: 0
Downgraded:
  cldr-emoji-annotation 1:43.1-1.fc38 -> 1:43-1.fc38
  cldr-emoji-annotation-dtd 1:43.1-1.fc38 -> 1:43-1.fc38
  gdb-minimal 13.2-1.fc38 -> 13.1-4.fc38
  libdav1d 1.2.1-1.fc38 -> 1.1.0-1.fc38
  liburing 2.4-2.fc38 -> 2.3-2.fc38
  perl-HTTP-Tiny 0.084-1.fc38 -> 0.082-2.fc38

billyblackburn avatar Jun 24 '23 18:06 billyblackburn

Arch Linux has now shipped this ostree update ( @dvzrv is the packager I think? ), and my Flatpak can no longer apply updates, with the same symptoms.

[leaf@alicorn ~]$ flatpak update
Looking for updates…


        ID                           Branch          Op         Remote          Download
 1. [✗] org.citra_emu.citra          stable          u          flathub         25.3 MB / 48.2 MB

Error: While pulling app/org.citra_emu.citra/x86_64/stable from remote flathub: Writing content object: Need more input
Updates complete.
error: There were one or more errors

leafi avatar Jun 25 '23 16:06 leafi

@leafi thanks for the ping. I'll revert the commit mentioned in https://github.com/ostreedev/ostree/issues/2900#issuecomment-1604582123 in the hopes that it'll fix this for Arch Linux. Please check whether 2023.4-2 in extra-testing fixes this for you.

dvzrv avatar Jun 25 '23 17:06 dvzrv

@dvzrv Just wanted to let you know I am getting the same error on Arch Linux. I don't think the changes have synced yet as running sudo pacman -Syyu gives no new updates. Thank you for fixing though.

justanotherinternetguy avatar Jun 25 '23 18:06 justanotherinternetguy

@justanotherinternetguy

2023.4-2 in extra-testing

:wink:

yochananmarqos avatar Jun 25 '23 18:06 yochananmarqos

@dvzrv Hey, thanks. I just enabled extra-testing, updated, and flatpak update ran successfully. Full console log in attached .txt file in case you wish to see it.

updated-ostree-session.txt

leafi avatar Jun 25 '23 21:06 leafi

@dvzrv From your arch change, it appears reverting f7f6f87c513c9f35bc24f35e909779c19cb49d3a fixes the problem, right? If so, care to turn it into a PR? I think that's the wise thing to do for now while the root cause is investigated.

dbnicholson avatar Jun 25 '23 21:06 dbnicholson

@dvzrv Also confirming 2023.4-2 in extra-testing fixed the issue for me, FWIW.

sarayourfriend avatar Jun 26 '23 00:06 sarayourfriend

@dvzrv From your arch change, it appears reverting f7f6f87 fixes the problem, right? If so, care to turn it into a PR? I think that's the wise thing to do for now while the root cause is investigated.

Sure, I can do that today!

@dvzrv Also confirming 2023.4-2 in extra-testing fixed the issue for me, FWIW.

Thanks for verifying! Moved to the stable repos.

dvzrv avatar Jun 26 '23 06:06 dvzrv

Well, just ran flatpak update org.qbittorrent.qBittorrent but now I got a different error of input buffer being too small. I am able to install flatpaks though which wasn't possible before. Don't know if it's related to the bug fixing though, here's the full output :

flatpak update org.qbittorrent.qBittorrent
Looking for updates…


        ID                                 Branch           Op       Remote        Download
 1. [✗] org.kde.Platform                   5.15-22.08       u        flathub        3.8 MB / 323.9 MB
 2. [✗] org.qbittorrent.qBittorrent        stable           u        flathub       13.9 MB / 10.3 MB

Warning: While pulling runtime/org.kde.Platform/x86_64/5.15-22.08 from remote flathub: Input buffer too small
Error: While pulling app/org.qbittorrent.qBittorrent/x86_64/stable from remote flathub: Input buffer too small
Updates complete.
error: There were one or more errors

shellheim avatar Jun 26 '23 07:06 shellheim

Revert PR up in https://github.com/ostreedev/ostree/pull/2901

cgwalters avatar Jun 26 '23 09:06 cgwalters

Having only looked at this for 3 minutes so far, one immediate likely thing that jumps out to me here is the interaction with revokefs-fuse.

cgwalters avatar Jun 26 '23 09:06 cgwalters

Getting error when trying to use Flatpak as well:

$ flatpak update --verbose
F: No installations directory in /etc/flatpak/installations.d. Skipping
F: Opening system flatpak installation at path /var/lib/flatpak
F: Opening user flatpak installation at path /home/zeddie/.local/share/flatpak
Looking for updates…
F: Fetching summary index file for remote ‘flathub’
F: Loading https://dl.flathub.org/repo/summary.idx using curl
F: Received 10001 bytes
F: Loaded indexed summary file 3cd78d10399218820fc06edc0bf38574e359bd58483b8a2be30921a9a620b0eb from cache for remote ‘flathub’
F: Transaction: update flathub:app/com.microsoft.Edge/x86_64/stable[*]
F: Transaction: update flathub:app/com.thincast.client/x86_64/stable[*]
F: Transaction: update flathub:app/fr.handbrake.ghb/x86_64/stable[*]
F: Transaction: update flathub:app/it.mijorus.gearlever/x86_64/stable[*]
F: Calling system helper: GenerateOciSummary
F: Transaction: update fedora:app/org.audacityteam.Audacity/x86_64/stable[*]
F: Transaction: update fedora:app/org.gimp.GIMP/x86_64/stable[*]
F: Transaction: update flathub:app/us.zoom.Zoom/x86_64/stable[*]
F: Transaction: update flathub:runtime/fr.handbrake.ghb.Locale/x86_64/stable[/en]
F: Transaction: update flathub:runtime/it.mijorus.gearlever.Locale/x86_64/stable[/en]
F: Transaction: update fedora:runtime/org.fedoraproject.Platform/x86_64/f38[*]
F: Transaction: update flathub:runtime/org.freedesktop.Platform.GL.default/x86_64/21.08[*]
F: Transaction: update flathub:runtime/org.freedesktop.Platform.GL.default/x86_64/22.08[*]
F: Transaction: update flathub:runtime/org.freedesktop.Platform.GL.default/x86_64/22.08-extra[*]
F: Transaction: update flathub:runtime/org.freedesktop.Platform.Locale/x86_64/22.08[/en]
F: Transaction: update flathub:runtime/org.freedesktop.Platform.VAAPI.Intel/x86_64/21.08[*]
F: Transaction: update flathub:runtime/org.freedesktop.Platform.VAAPI.Intel/x86_64/22.08[*]
F: Transaction: update flathub:runtime/org.freedesktop.Platform.openh264/x86_64/2.0[*]
F: Transaction: update flathub:runtime/org.freedesktop.Platform.openh264/x86_64/2.2.0[*]
F: Transaction: update flathub:runtime/org.freedesktop.Platform/x86_64/22.08[*]
F: Transaction: update flathub:runtime/org.freedesktop.Sdk.Locale/x86_64/22.08[/en]
F: Transaction: update flathub:runtime/org.freedesktop.Sdk/x86_64/22.08[*]
F: Transaction: update flathub:runtime/org.gnome.Platform.Locale/x86_64/43[/en]
F: Transaction: update flathub:runtime/org.gnome.Platform.Locale/x86_64/44[/en]
F: Transaction: update flathub:runtime/org.gnome.Platform/x86_64/43[*]
F: Transaction: update flathub:runtime/org.gnome.Platform/x86_64/44[*]
F: Transaction: update flathub:runtime/org.kde.KStyle.Adwaita/x86_64/5.15-21.08[*]
F: Transaction: update flathub:runtime/org.kde.Platform.Locale/x86_64/5.15-21.08[/en]
F: Transaction: update flathub:runtime/org.kde.Platform/x86_64/5.15-21.08[*]
F: Transaction: update flathub:runtime/org.kde.PlatformTheme.QGnomePlatform/x86_64/5.15-21.08[*]
F: Transaction: update flathub:runtime/org.kde.PlatformTheme.QtSNI/x86_64/5.15-21.08[*]
F: Transaction: update flathub:runtime/org.kde.WaylandDecoration.QGnomePlatform-decoration/x86_64/5.15-21.08[*]
F: Looking for remote metadata updates for flathub
F: Looking for remote metadata updates for fedora
F: marking op update:runtime/org.kde.WaylandDecoration.QGnomePlatform-decoration/x86_64/5.15-21.08 resolved to 3e19a20881ddc8b07bc6e114364cc234b84b121b316b23789070657cd34cfe7a
F: marking op update:runtime/org.kde.PlatformTheme.QtSNI/x86_64/5.15-21.08 resolved to 10221d1eea915541390c8a5e642444995b83e7a4fd044b49a79e16406064959b
F: marking op update:runtime/org.kde.PlatformTheme.QGnomePlatform/x86_64/5.15-21.08 resolved to 6d0055b675ac732555974dfac42d2b21845f6d1f5b66c5b3453b2a4caaaeaac7
F: marking op update:runtime/org.kde.Platform/x86_64/5.15-21.08 resolved to ec3331446a3fb6e8f293a3bc2fae03342cc6732a2d0f8422201241a29e630e18
F: marking op update:runtime/org.kde.Platform.Locale/x86_64/5.15-21.08 resolved to d53910d2eacf91ca26b450ac33208dcca24c99cb7a7e20d9aeb6a8424e17cc35
F: marking op update:runtime/org.kde.KStyle.Adwaita/x86_64/5.15-21.08 resolved to 811d090059b2dbc3a3edd4b3efd3248e92d2922a41faf2fdc0642d4e3249fecd
F: marking op update:runtime/org.gnome.Platform/x86_64/44 resolved to 4078027bba432a34c29220e86e005b05db89371141bee6f58774932a7b27d119
F: marking op update:runtime/org.gnome.Platform/x86_64/43 resolved to a7c48ccf54c858454c1ce2bc3186e14c2ac5fa2ee6419e2c65e222fa54ab39c3
F: marking op update:runtime/org.gnome.Platform.Locale/x86_64/44 resolved to e072d5d8341980c4d2824da350deeb845b7a68f7cb777c43d3f63880a14562fb
F: marking op update:runtime/org.gnome.Platform.Locale/x86_64/43 resolved to 68d1707a533f26f10c62a4edc55da23d0cc9dfc1c4ddf9b437b1d68745b78283
F: marking op update:runtime/org.freedesktop.Sdk/x86_64/22.08 resolved to ac3b29f9b04246d2b346de5632914232ee9c511702fc3c4e0d1c125a6de1e3ca
F: marking op update:runtime/org.freedesktop.Sdk.Locale/x86_64/22.08 resolved to 8875a5e24be5f69792c09553e881566dec6df3869942c41ae40933b57345de1d
F: marking op update:runtime/org.freedesktop.Platform/x86_64/22.08 resolved to 74b5ae6a53e3f39258f90c664a63ef256097bd77c4229fc11e96bc2dbd2ce0cf
F: marking op update:runtime/org.freedesktop.Platform.openh264/x86_64/2.2.0 resolved to bf24f23f3ba385f6e8c9215ed94d979db99814b0b614504a23a6d0751dc5f063
F: marking op update:runtime/org.freedesktop.Platform.openh264/x86_64/2.0 resolved to bdc77b1e945ddddcd027dadb9dd93c23437ffc7aca6407b43b385fa1b53a225d
F: marking op update:runtime/org.freedesktop.Platform.VAAPI.Intel/x86_64/22.08 resolved to bc032ebb18a11fb2e56b24aa423d845b1f6472db393b192f1b977f85e4971fbf
F: marking op update:runtime/org.freedesktop.Platform.VAAPI.Intel/x86_64/21.08 resolved to 0a53452717865a44ac4d49e6046b71983671797a00cba692c3d708cf7b8bab07
F: marking op update:runtime/org.freedesktop.Platform.Locale/x86_64/22.08 resolved to 4140d85aa7410bf434376fe37cd2b256d476d46e44ac028e781bce80be68b0a4
F: marking op update:runtime/org.freedesktop.Platform.GL.default/x86_64/22.08-extra resolved to e781cbdb0e17ea22365c55bcfdabfb6430c5f0a364c5307bdd5e1131c1a8680e
F: marking op update:runtime/org.freedesktop.Platform.GL.default/x86_64/22.08 resolved to 8b4ee41cce832ad87e6a806fd8359ac295ea23768cf515d88c502a0dcab54ca2
F: marking op update:runtime/org.freedesktop.Platform.GL.default/x86_64/21.08 resolved to 2fdf2f9278c5b6db802bd6c4bd5939ca4d0694dbb273170b0de7123b38f7a278
F: marking op update:runtime/org.fedoraproject.Platform/x86_64/f38 resolved to 1de1aa02959ce7b571b89d50731fb1d1a8cb24ab3bf06253fd6ab93491798133
F: marking op update:runtime/it.mijorus.gearlever.Locale/x86_64/stable resolved to 3ee7cb654e12d1057c3f7202d4c816e8cc3c4721de29e2757b7e9db2435d82d0
F: marking op update:runtime/fr.handbrake.ghb.Locale/x86_64/stable resolved to 06a4b43c3d735f843e1fdb74ca663cc964e7999b4c6b65d76888381f72817523
F: marking op update:app/us.zoom.Zoom/x86_64/stable resolved to 1f688feb43683a36eb36b654db37e959ba873cf735ae72896a5259c38975c5bc
F: marking op update:app/org.gimp.GIMP/x86_64/stable resolved to f03c5fb270f5d7b68cfcc25d12301f584422f17b2ce79ad7c398347c4a3a74b2
F: marking op update:app/org.audacityteam.Audacity/x86_64/stable resolved to f8eb39ae6f88dc2250f023f9445138d1c12c480550e05e613e2662e7509267c7
F: marking op update:app/it.mijorus.gearlever/x86_64/stable resolved to a7fa9502bc8562c9de8ca596b7c531c8c3b4e37da0f517d0e603e5913030be69
F: marking op update:app/fr.handbrake.ghb/x86_64/stable resolved to 77b2484c7c52a8ef0ffaed909180251ed019bab7b940a245f7b4da0e60c43080
F: marking op update:app/com.thincast.client/x86_64/stable resolved to 93c8e6a7a2190b549745e09d0ec08ad1e7c02751b013844115481d19f526f0e1
F: marking op update:app/com.microsoft.Edge/x86_64/stable resolved to 58f46201aad1a9446c47463ceff28cd44ccebb755a8023cb328d7cab375710fa
F: Transaction: install/update flathub:runtime/org.freedesktop.Platform.GL.default/x86_64/21.08[*]
F: Transaction: install/update flathub:runtime/org.freedesktop.Platform.VAAPI.Intel/x86_64/21.08[*]
F: Transaction: install/update flathub:runtime/org.freedesktop.Platform.openh264/x86_64/2.0[*]
F: Transaction: install/update flathub:runtime/org.kde.KStyle.Adwaita/x86_64/5.15-21.08[*]
F: Transaction: install/update flathub:runtime/org.kde.PlatformTheme.QGnomePlatform/x86_64/5.15-21.08[*]
F: Transaction: install/update flathub:runtime/org.kde.PlatformTheme.QtSNI/x86_64/5.15-21.08[*]
F: Transaction: install/update flathub:runtime/org.kde.WaylandDecoration.QGnomePlatform-decoration/x86_64/5.15-21.08[*]
F: Transaction: install/update flathub:runtime/org.kde.Platform.Locale/x86_64/5.15-21.08[/en]
F: Transaction: install/update flathub:runtime/org.gnome.Platform.Locale/x86_64/44[/en]
F: Transaction: install/update flathub:runtime/org.freedesktop.Platform.GL.default/x86_64/22.08[*]
F: Transaction: install/update flathub:runtime/org.freedesktop.Platform.GL.default/x86_64/22.08-extra[*]
F: Transaction: install/update flathub:runtime/org.freedesktop.Platform.VAAPI.Intel/x86_64/22.08[*]
F: Transaction: install/update flathub:runtime/org.freedesktop.Platform.openh264/x86_64/2.2.0[*]
F: Transaction: install/update flathub:runtime/org.gnome.Platform.Locale/x86_64/43[/en]
F: Transaction: install/update flathub:runtime/org.freedesktop.Platform.GL.default/x86_64/22.08[*]
F: Transaction: install/update flathub:runtime/org.freedesktop.Platform.GL.default/x86_64/22.08-extra[*]
F: Transaction: install/update flathub:runtime/org.freedesktop.Platform.VAAPI.Intel/x86_64/22.08[*]
F: Transaction: install/update flathub:runtime/org.freedesktop.Platform.openh264/x86_64/2.2.0[*]
F: Transaction: install/update flathub:runtime/org.freedesktop.Platform.GL.default/x86_64/22.08[*]
F: Transaction: install/update flathub:runtime/org.freedesktop.Platform.GL.default/x86_64/22.08-extra[*]
F: Transaction: install/update flathub:runtime/org.freedesktop.Sdk.Locale/x86_64/22.08[/en]
F: Transaction: install/update flathub:runtime/org.freedesktop.Platform.openh264/x86_64/2.2.0[*]
F: Transaction: install/update flathub:runtime/org.freedesktop.Platform.VAAPI.Intel/x86_64/22.08[*]
F: Transaction: install/update flathub:runtime/org.freedesktop.Platform.GL.default/x86_64/22.08[*]
F: Transaction: install/update flathub:runtime/org.freedesktop.Platform.GL.default/x86_64/22.08-extra[*]
F: Transaction: install/update flathub:runtime/org.freedesktop.Platform.Locale/x86_64/22.08[/en]
F: Transaction: install/update flathub:runtime/org.freedesktop.Platform.VAAPI.Intel/x86_64/22.08[*]
F: Transaction: install/update flathub:runtime/org.freedesktop.Platform.openh264/x86_64/2.2.0[*]
F: Transaction: install/update flathub:runtime/it.mijorus.gearlever.Locale/x86_64/stable[/en]
F: Transaction: install/update flathub:runtime/fr.handbrake.ghb.Locale/x86_64/stable[/en]
F: Checking installation ‘system’ for EOL unused refs
F: Checking installation ‘system’ by checking for dependent refs in ‘user’


 1.	   	org.freedesktop.Platform.VAAPI.Intel	21.08	u	flathub< 11.9 MB
 2.	   	org.gnome.Platform	44	u	flathub	< 326.0 MB

Proceed with these changes to the system installation? [Y/n]: 
Updating 1/2…
F: Calling system helper: GetRevokefsFd
F: Calling system helper: GetRevokefsFd
F: flatpak_dir_pull: Using commit 0a53452717865a44ac4d49e6046b71983671797a00cba692c3d708cf7b8bab07 for pull of ref runtime/org.freedesktop.Platform.VAAPI.Intel/x86_64/21.08 from remote flathub
Updating 1/2…                        0%  0 bytes/s
Updating 1/2… ████████████████████ 100%
F: Unexpectedly got > 100% progress, limiting
Updating 1/2… ████████████████████ 100%
Updating 1/2… ████████████████████ 100%  1.5 MB/s
F: Calling system helper: CancelPull
F: Calling system helper: CancelPull
Warning: While pulling runtime/org.freedesktop.Platform.VAAPI.Intel/x86_64/21.08 from remote flathub: Input buffer too small
Updating 2/2…
F: Calling system helper: GetRevokefsFd
F: Calling system helper: GetRevokefsFd
F: flatpak_dir_pull: Using commit 4078027bba432a34c29220e86e005b05db89371141bee6f58774932a7b27d119 for pull of ref runtime/org.gnome.Platform/x86_64/44 from remote flathub
Updating 2/2…                        0%  0 bytes/s
Updating 2/2… ██▍                   12%
Updating 2/2… ████                  20%
Updating 2/2… █████▍                27%
Updating 2/2… ██████▌               33%  44.9 MB/s
Updating 2/2… ████████▍             42%  60.0 MB/s
Updating 2/2… █████████▊            49%  73.0 MB/s
Updating 2/2… ██████████▌           53%  39.7 MB/s
Updating 2/2… ███████████           55%  41.1 MB/s
F: Calling system helper: CancelPull
F: Calling system helper: CancelPull
Error: While pulling runtime/org.gnome.Platform/x86_64/44 from remote flathub: Input buffer too small
Updates complete.
error: There were one or more errors

ZeddieXX avatar Jun 26 '23 12:06 ZeddieXX

Having only looked at this for 3 minutes so far, one immediate likely thing that jumps out to me here is the interaction with revokefs-fuse.

Oh yeah, revokefs-fuse. I knew there was something unusual about that setup I was forgetting. I'm going to try to setup this environment today and see if I can tease out the real issue.

dbnicholson avatar Jun 26 '23 12:06 dbnicholson

Adding another log to the list:

...
F: Checking installation ‘system’ by checking for dependent refs in ‘user’


 1.	   	org.freedesktop.Platform.Compat.i386	21.08	u	flathub	< 102.3 MB
 2.	   	org.freedesktop.Platform.GL.default	21.08	u	flathub	< 129.8 MB
 3.	   	org.freedesktop.Platform.GL32.default	21.08	u	flathub	< 138.2 MB
 4.	   	org.freedesktop.Platform.Locale	21.08	u	flathub	< 326.8 MB (partial)
 5.	   	org.freedesktop.Sdk.Locale	21.08	u	flathub	< 332.0 MB (partial)
 6.	   	org.gnome.Platform.Locale	44	u	flathub	< 340.5 MB (partial)
 7.	   	org.gnome.Platform	44	u	flathub	< 326.0 MB
 8.	   	org.gimp.GIMP	stable	u	flathub	< 127.7 MB
 9.	   	org.freedesktop.Sdk	21.08	u	flathub	< 483.5 MB
10.	   	im.riot.Riot	stable	u	flathub	< 121.9 MB
11.	   	org.freedesktop.Platform	21.08	u	flathub	< 202.3 MB

Proceed with these changes to the system installation? [Y/n]: Y
Updating 1/11…
F: Calling system helper: GetRevokefsFd
F: Calling system helper: GetRevokefsFd
F: flatpak_dir_pull: Using commit 7e819b097c4e1241c7e9f2dcb60d54605e443d3e9babb057fce52f6cd37493e3 for pull of ref runtime/org.freedesktop.Platform.Compat.i386/x86_64/21.08 from remote flathub
Updating 1/11…                        0%  0 bytes/s
zsh: bus error (core dumped)  flatpak update --verbose

supakeen avatar Jun 26 '23 13:06 supakeen

Fedora 38 update (revert) to test: https://bodhi.fedoraproject.org/updates/FEDORA-2023-464fae1680

travier avatar Jun 26 '23 16:06 travier