Rpm-ostree update not working anymore

I noticed I don’t have system updates since some time ago, so I just tried to do it manually from terminal. Here’s what I get:

yajo@yajolap ~> rpm-ostree cleanup --repomd
yajo@yajolap ~> rpm-ostree update
⠁ Scanning metadata: 5838 
2 metadata, 0 content objects fetched; 788 B transferred in 22 seconds; 0 bytes Scanning metadata: 5838... done
Checking out tree 5bf39cb... done
Enabled rpm-md repositories: fedora-modular updates-modular updates fedora rpmfusion-free-updates rpmfusion-free rpmfusion-nonfree-updates rpmfusion-nonfree fedora-cisco-openh264 fedora-cisco-openh264-debuginfo rpmfusion-nonfree-steam gitlab.com_paulcarroty_vscodium_repo updates-archive
Updating metadata for 'fedora-modular'... done
Updating metadata for 'updates-modular'... done
Updating metadata for 'updates'... done
Updating metadata for 'fedora'... done
⠁ Updating metadata for 'rpmfusion-free-updates'   0% [░░░░░░░░░░░░░░░░░░░░] (0s⠙ Updating metadata for 'rpmfusion-free-updates'  95% [███████████████████░] (0s⠚ Updating metadata for 'rpmfusion-free-updates' 100% [████████████████████] (0sUpdating metadata for 'rpmfusion-free-updates'... done
Updating metadata for 'rpmfusion-free'... done
⠁ Updating metadata for 'rpmfusion-nonfree-updates'   0% [░░░░░░░░░░░░░░░░░░░░] ⠙ Updating metadata for 'rpmfusion-nonfree-updates'  95% [███████████████████░] ⠚ Updating metadata for 'rpmfusion-nonfree-updates' 100% [████████████████████] Updating metadata for 'rpmfusion-nonfree-updates'... done
Updating metadata for 'rpmfusion-nonfree'... done
⠁ Updating metadata for 'fedora-cisco-openh264'   0% [░░░░░░░░░░░░░░░░░░░░] (0s)⠙ Updating metadata for 'fedora-cisco-openh264'  95% [███████████████████░] (0s)⠚ Updating metadata for 'fedora-cisco-openh264' 100% [████████████████████] (0s)Updating metadata for 'fedora-cisco-openh264'... done
⠁ Updating metadata for 'fedora-cisco-openh264-debuginfo'   0% [░░░░░░░░░░░░░░░░⠙ Updating metadata for 'fedora-cisco-openh264-debuginfo'  95% [████████████████⠚ Updating metadata for 'fedora-cisco-openh264-debuginfo' 100% [████████████████Updating metadata for 'fedora-cisco-openh264-debuginfo'... done
⠁ Updating metadata for 'rpmfusion-nonfree-steam'   0% [░░░░░░░░░░░░░░░░░░░░] (0⠙ Updating metadata for 'rpmfusion-nonfree-steam'  95% [███████████████████░] (0⠚ Updating metadata for 'rpmfusion-nonfree-steam' 100% [████████████████████] (0Updating metadata for 'rpmfusion-nonfree-steam'... done
⠁ Updating metadata for 'gitlab.com_paulcarroty_vscodium_repo'   0% [░░░░░░░░░░░⠙ Updating metadata for 'gitlab.com_paulcarroty_vscodium_repo'  95% [███████████⠚ Updating metadata for 'gitlab.com_paulcarroty_vscodium_repo' 100% [███████████Updating metadata for 'gitlab.com_paulcarroty_vscodium_repo'... done
Updating metadata for 'updates-archive'... done
Importing rpm-md... done
rpm-md repo 'fedora-modular'; generated: 2022-05-04T21:12:01Z solvables: 825
rpm-md repo 'updates-modular'; generated: 2022-06-14T02:11:42Z solvables: 1155
rpm-md repo 'updates'; generated: 2022-06-24T00:47:34Z solvables: 14350
rpm-md repo 'fedora'; generated: 2022-05-04T21:16:11Z solvables: 67992
rpm-md repo 'rpmfusion-free-updates'; generated: 2022-06-21T19:28:03Z solvables: 59
rpm-md repo 'rpmfusion-free'; generated: 2022-05-04T04:48:11Z solvables: 506
rpm-md repo 'rpmfusion-nonfree-updates'; generated: 2022-06-21T19:52:36Z solvables: 49
rpm-md repo 'rpmfusion-nonfree'; generated: 2022-05-04T05:11:55Z solvables: 225
rpm-md repo 'fedora-cisco-openh264'; generated: 2022-04-07T16:52:38Z solvables: 4
rpm-md repo 'fedora-cisco-openh264-debuginfo'; generated: 2022-04-07T16:52:38Z solvables: 4
rpm-md repo 'rpmfusion-nonfree-steam'; generated: 2022-02-13T17:48:12Z solvables: 2
rpm-md repo 'gitlab.com_paulcarroty_vscodium_repo'; generated: 2022-06-24T01:01:40Z solvables: 3
rpm-md repo 'updates-archive'; generated: 2022-06-24T01:27:29Z solvables: 16232
Resolving dependencies... done

(rpm-ostree update:14293): GLib-GIO-WARNING **: 08:30:17.905: _g_dbus_worker_do_read_cb: error determining bytes needed: Blob indicates that message exceeds maximum message length (128MiB)

When that last warning appears, rpm-ostree hangs and there’s no way to cancel it except for closing the terminal.

What’s happening? How to fix it?

Thanks!

There isn’t anything that shows the actual error here. Is it possible that it’s still working? It can take a while to resolve the transaction from here.

No, it’s really frozen. Although the freeze seems to happen some seconds later than that warning.

I kept open another terminal with journalctl -ft rpm-ostree while doing an upgrade. This is what it logged:

jun 24 18:13:00 yajolap rpm-ostree[9748]: Reading config file '/etc/rpm-ostreed.conf'
jun 24 18:13:00 yajolap rpm-ostree[9748]: In idle state; will auto-exit in 60 seconds
jun 24 18:13:00 yajolap rpm-ostree[9748]: Allowing active client :1.170 (uid 1000)
jun 24 18:13:00 yajolap rpm-ostree[9748]: client(id:cli dbus:1.170 unit:vte-spawn-b92b313e-23c0-4fe9-9b0a-6e6772808a19.scope uid:1000) added; new total=1
jun 24 18:13:00 yajolap rpm-ostree[9748]: Locked sysroot
jun 24 18:13:00 yajolap rpm-ostree[9748]: Initiated txn Upgrade for client(id:cli dbus:1.170 unit:vte-spawn-b92b313e-23c0-4fe9-9b0a-6e6772808a19.scope uid:1000): /org/projectatomic/rpmostree1/fedora
jun 24 18:13:00 yajolap rpm-ostree[9748]: Process [pid: 9722 uid: 1000 unit: user@1000.service] connected to transaction progress
jun 24 18:13:03 yajolap rpm-ostree[9748]: libostree pull from 'fedora' for fedora/36/x86_64/silverblue complete
                                          security: GPG: commit 
                                          security: SIGN: disabled http: TLS
                                          non-delta: meta: 2 content: 0
                                          transfer: secs: 2 size: 788 bytes
jun 24 18:13:03 yajolap rpm-ostree[9748]: 2 metadata, 0 content objects fetched; 788 B transferred in 2 seconds; 0 bytes content written
jun 24 18:13:03 yajolap rpm-ostree[9748]: Librepo version: 1.14.3 with CURL_GLOBAL_ACK_EINTR support (libcurl/7.82.0 OpenSSL/3.0.3 zlib/1.2.11 brotli/1.0.9 libidn2/2.3.2 libpsl/0.21.1 (+libidn2/2.3.2) libssh/0.9.6/openssl/zlib nghttp2/1.46.0 OpenLDAP/2.6.2)
jun 24 18:13:06 yajolap rpm-ostree[9748]: Preparing pkg txn; enabled repos: ['fedora-modular', 'updates-modular', 'updates', 'fedora', 'rpmfusion-free-updates', 'rpmfusion-free', 'rpmfusion-nonfree-updates', 'rpmfusion-nonfree', 'fedora-cisco-openh264', 'fedora-cisco-openh264-debuginfo', 'rpmfusion-nonfree-steam', 'gitlab.com_paulcarroty_vscodium_repo', 'updates-archive'] solvables: 101406
jun 24 18:13:11 yajolap rpm-ostree[9748]: Unlocked sysroot
jun 24 18:13:41 yajolap rpm-ostree[9748]: Forcibly closing transaction due to timeout

I got it fixed with:

rpm-ostree upgrade --uninstall steam

There must have been some sort of incompatibility with that package and the rest of the system.

This however doesn’t mean there’s no issue. There should be a clear error message if that’s the problem IMHO.

Besides… I do not want to uninstall Steam :confused:

The next time you could try rpm-ostree upgrade --uninstall steam --install steam and do it all in one line.
[edit] And yes, it is annoying when there is no real error, just failure. FWIW, the point it hangs at seems it was when it was trying to unlock your sysroot and timed out.