I am trying to figure out the best way to update all my packages (including flatpaks) through terminal. I am on Fedora KDE 41.
This is the command I am using:
The problem is that, it freezes more often than not while flatpaks are updating.
I have to use CTRL+ALT+F3 to bring up tty and CTRL+ALT+F2 to make it wake back up.
Is this normal?
I have noticed that the command above updates almost everything, but some themes I have downloaded seems to miss and I have to update them through βDiscoverβ. How can I improve this command?
The reason I donβt wanna use && is that when a single package fails for whatever reason, it stops continuing the rest of the update. Thatβs why I use ; instead.
Can you see where (which repository?) these came from?
They are downloaded from the βGet newβ section on the βThemesβ settings.
My main concern is, is it normal for a system to freeze while updating flatpaks? It is a rather powerful laptop, by the way.
I had to chroot and recover my system through liveCD not so long ago to fix my kernel settings. Now it says my kernel is 6.13.5-200.fc41.x86_64 (64-bit).
Is this normal? Will it update normally to later versions?
Well, it hung but returned the last time. This usually happens when I havenβt updated in a day or so and there are many flatpaks to update. Do my repos look alright to you? And should I expect the kernel to be updated normally? That is my main concern, actually.
The issue was that I somehow destroyed my GRUB a week ago while attempting to update NVIDIA. Long story short, my kernel was somehow updated to 6.14. I had to return it back to 6.13, specifically 6.13.5-200.fc41.x86_64
I think I somehow picked a very bad repository. Now, I do not need non-stable kernels. How can I know that my kernel is gonna get updated normally? This kernel number somehow looks off to me.
Yes, I was forced to use rawhide since regular drivers were very buggy. I didnβt know it could push an unstable kernel update. In any case, how can I know my current kernel is gonna update normally?
Given what youβve posted here, it looks like you have the right repos enabled to receive the normal kernel updates from
Will you get normal kernel updates, yes.
Can I tell you that those updates will never break something, no. moves at a fairly quick pace for kernel updates and that sometimes results in things breaking. This is why there are multiple kernels on a normal installation to allow you a fallback.
If you wanted to use an LTS kernel there are several posts here that explain installing it from COPR.
I have another issue, though.
So, I removed the kernel 6.14 and I need to update GRUB so it no longer shows up during boot. However, I cannot find the right GRUB update command.
I am trying this one: sudo grub2-mkconfig -o /boot/grub2/grub.cfg
and it returns:
/usr/libexec/os-probes/50mounted-tests: line 186: 62366 Segmentation fault (core dumped) grub2-mount "$partition" "$tmpmnt" 2> /dev/null
/usr/libexec/os-probes/50mounted-tests: line 186: 62394 Segmentation fault (core dumped) grub2-mount "$partition" "$tmpmnt" 2> /dev/null
Adding boot menu entry for UEFI Firmware Settings ...
done
This is more or less what I do (except on atomic ones where I use rpm-ostree instead of dnf), but also sudo fwupdmgr refresh --force && sudo fwupdmgr update to make sure I cover firmware updates.
fwupdmgr is updating your BIOS/firmware from your OEM vendor, as well as UEFI keys, etc., so itβs more likely to help you continue to boot correctly (though itβs not going to fix your GRUB kernel cleanup problem).
Maybe a list would be useful:
dnf for rpm packages from enabled repos
flatpak for flatpaks from enabled remotes
fwupd for UEFI firmware updates published to the lvfs
How about, for starters, adding cargo for rust npm for javascript pip for python perlmodinstall for cpan
What is installed on any particular computer encompasses a broad landscape. I fear that none of these additions have much to do with the OPβs request though. This is just to obviate that there is more to it in general.
So, then I have to incorporate this to my original command.
Could you please give me a final command that includes firmware updates as well?
The only thing I noticed is that with my current command, downloaded themes do not get updated, so I have to update them through discover. Any way to incorporate them as well?