Can’t upgrade – ‘error: System transaction in progress’

My Silverblue has been in this state for about a week now. I can’t upgrade, cleanup, anything. Trying to cancel a transaction gives me this:

$ rpm-ostree cancel
No active transaction.

Any idea what’s up/how to fix this? Cheers.

What does journalctl -u rpm-ostreed -b say? That should show all logs printing by rpm-ostreed for this boot.

1 Like

I can’t find much interesting. It starts with this:

dec 28 20:45:00 rivendell rpm-ostree[1931]: Allowing active client :1.161 (uid 1000)
dec 28 20:45:00 rivendell rpm-ostree[1931]: client(id:gnome-software dbus:1.161 unit:session-1.scope uid:1000) added; new total=1

Then this repeats itself a lot:

dec 29 08:34:11 rivendell rpm-ostree[1931]: libostree HTTP error from remote fedora-workstation for <https://dl.fedoraproject.org/atomic/repo/config>: Couldn't resolve host name
dec 29 08:34:11 rivendell rpm-ostree[1931]: Txn Upgrade on /org/projectatomic/rpmostree1/fedora_workstation failed: While fetching https://dl.fedoraproject.org/atomic/repo/config: [6] Couldn't resolve host name

Then this repeats itself a lot (a new line is added everytime I run rpm-ostree upgrade:

jan 01 13:02:10 rivendell rpm-ostree[1931]: Allowing active client :1.2397 (uid 1000)
jan 01 13:02:10 rivendell rpm-ostree[1931]: client(id:cli dbus:1.2397 unit:session-1.scope uid:1000) added; new total=2
jan 01 13:02:10 rivendell rpm-ostree[1931]: client(id:cli dbus:1.2397 unit:session-1.scope uid:1000) vanished; remaining=1

Hm, OK, restarting the service fixed the problem, but this state survived reboots before.

This is stuck gnome-software txn still shows as `State: idle` · Issue #1692 · coreos/rpm-ostree · GitHub though it’s exacerbated by keeps rpm-ostreed alive forever (#554) · Issues · GNOME / gnome-software · GitLab

2 Likes

Oh, OK, thanks for the info.