On 6/9/25 1:18 PM, Samuel Sieb wrote:
On 6/9/25 12:24 PM, Michael Eager wrote:
I followed the standard process to upgrade from F40 to F41:
# dnf system-upgrade download --releasever=41
# dnf system-upgrade reboot
System restarted and installed new RPMs as expected, upgraded to F41.
When I tried to do the same for F42, this did not work.
After reboot, new RPMs were not installed and the system did not upgrade.
When I try to run
# dnf system-upgrade download --releasever=42
again, I get the following message:
There is already an offline transaction queued, initiated by the
following command:
dnf system-upgrade download --releasever=42
Continuing will cancel the old offline transaction and replace it with
this one.
I've tried running
# dnf5 offline clean
and redoing this process. but that doesn't make any difference.
I'm unclear what the offline transaction is or how to complete the
upgrade. Any clarification would be appreciated.
That offline transaction is the upgrade, which is done offline.
What does "dnf5 offline status" show?
Check what's in /usr/lib/sysimage/libdnf5/offline/ and try clearing it.
# dnf5 offline status
An offline transaction was started, but it did not finish. Run `dnf5
offline log` for more information. The command that initiated the
transaction was:
dnf system-upgrade download --releasever=42
# dnf5 offline log
The following boots appear to contain offline transaction logs:
1 / 628017bb2224473fa53547cb696722a6: 2025-06-09 12:52:40 40→41
2 / f74dff7b68964b6eb5f5934309c8faea: 2025-06-09 13:36:13 41→42
3 / 832994700e6e4d44bd62b06f04611b64: 2025-06-09 13:46:04 41→42
4 / 335d0e3c5c344dcd853668a251a93881: 2025-06-09 13:54:01 41→42
5 / e407c63f7f23477c9c802d9e88f6825e: 2025-06-09 14:29:54 41→42
# ls /usr/lib/sysimage/libdnf5/offline/
offline-transaction-state.toml packages/ transaction.json
# cat /usr/lib/sysimage/libdnf5/offline/offline-transaction-state.toml
[offline-transaction-state]
module_platform_id = ""
poweroff_after = false
verb = "system-upgrade download"
system_releasever = "41"
target_releasever = "42"
cachedir = "/var/cache/libdnf5"
status = "transaction-incomplete"
cmd_line = "dnf system-upgrade download --releasever=42"
state_version = 1
There are about 3800 packages in /usr/lib/sysimage/libdnf5/offline/
packages.
With the offline upgrade, are RPMs replaced while the system
is running? How can I tell if this is happening or what progress
is being made? It looks like the status is "transaction-incomplete"
but it's unclear how to get it to continue or finish.
I'll try "rm -rf /usr/lib/sysimage/libdnf5/offline".
--
_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct:
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives:
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it:
https://pagure.io/fedora-infrastructure/new_issue