On 4/30/23 10:18, Felix Miata wrote:
Another option I often use for system-upgrade is attaching an extra filesystem to /var/lib/dnf/system-upgrade before beginning, a pretty good guarantee against lack of freespace. If you've already downloaded most and they're on /, find a place to move them that isn't, and mount that to /var/lib/dnf/system-upgrade before proceeding with another dnf system-upgrade download attempt. Don't forget to add the location to /etc/fstab before running dnf system-upgrade reboot.
Before I started using btrfs, /home was a separate filesystem and usually had extra space so I would create /home/system-upgrade and symlink it into /var/lib/dnf. On a couple of systems that had nfs /home, I did as Felix described using a USB flash drive mounted to /var/lib/dnf/system-upgrade.