It is in the repository
Postedit (for future documentation)
sudo dnf --refresh install dnf5
It is in the repository
Postedit (for future documentation)
sudo dnf --refresh install dnf5
Oh, awesome. I just installed dnf5 and followed the guide I linked above. It works perfectly. The only difference is that I could not find the package libdnf5-plugin-actions
as per the instructions. I skipped it for testing, and it stilled worked. So, success, I think. Iāll reboot and make sure snapshots are appearing in grub.
P.S. Should I uninstall dnf now that dnf5 is installed??
No they can coexist.
While snapshots are not occuring correctly, they are not appearing in grub, as per grub-btrfs
. Iāll investigate further.
I hope no one feels like this is spamming this thread like it was my journal, but hereās an update on the process. OMLx is setup similar in its grub configuration to Fedora, so certain settings have to be modifed, surrounding grub2, as described here: Unable to install on Fedora 40 Ā· Issue #352 Ā· Antynea/grub-btrfs Ā· GitHub
but better seen in the readme, here: grub-btrfs/README.md at b509fcaf6119d5c4b07fe37692fc3d5c6cb94f56 Ā· Antynea/grub-btrfs Ā· GitHub
Nevertheless, I got everything working, and the submenu is created in grub, but, even though the snapshots are identified, they are not being entered into the submenu. If I figure out the final steps, Iāll report back, unless someone has already figured this out, then HELP! lol.
dnf
=dnf 4.2 dnf5
=dnf5-5.2.8
Alright. I got it working. snapshots populate a submenu in grub, they are bootable and immediately usable. Before I reproduce my steps, Iām going to do them myself on a different system and see if I get the same results.
Great, it worked as expected. Everything is perfect and working like a champ. Iāll reproduce steps later. Need a break. Iāll edit the wiki, too, to include links, a video I watched on using timeshift, etc.
I wrote the tutorial. It should work. It worked on my two systems.
wow!
Thank you.
@rugyada if aliasing is done as I describe in the tutorial, Iām not sure how that will effect the upgrade process using dnf in the scripts the OMLx team has made. One thing I noticed in my trial was as follows.
I saw in one post that someone, perhaps yourself, had said this chain of commands is the essential process:
sudo dnf clean all;dnf clean all;sudo dnf --allowerasing distro-sync
However, DNF5 returns an error on the order of the final command, saying that modifiers must come after. When I placed āallowerasingā at the end, it at least completed the chained command:
sudo dnf clean all;dnf clean all;sudo dnf distro-sync --allowerasing
Maybe dnf5 wants the commands typed the way it likes best
I donāt and did not know. Will keep it in mind.
I went a bit further. We always want to refresh. Might as well update those flatpaks too.
sudo dnf clean all ; dnf clean all ; dnf repolist ; sudo dnf refresh ; sudo dnf distro-sync --allowerasing ; flatpak update
With DNF5, dnf refresh doesnāt work with refresh. It can, however work as a modifier on the distro-sync command. Using aliasing as described in the wiki article, it would have to be like this:
sudo dnf clean all;dnf clean all;sudo dnf distro-sync --allowerasing --refresh; flatpak update
It looks so good that I would add clear license and credits to you.
Does this fit in your opinion?
Wow, I would be honored to have named credit and a clear license is great. Please go ahead, thank you.
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
Just a heads up to let you guys know that grub-btrfs is in the cooker repos. I tried running it and it conflicts with grub-customizer, but @StudebakerGuy is working on it and hopefully, we will have it working quickly.