On 11/27/24 1:57 PM, Stephen Morris wrote:
On 27/11/24 12:48, Tim via users wrote:
On Wed, 2024-11-27 at 08:46 +1100, Stephen Morris wrote:
This is true, and I know this can be done under DNF, but I'm using
that to decide whether it is worth doing the upgrade in terms of the
volume of updates that will be put on. If there are only 3 updates to
put on then its not necessarily worth putting on the updates yet.
So, just do "sudo dnf update" and when it comes back with the results,
look at them, THEN hit Y or N for yes or no to install them.
People who preload the install/update/erase command line with yes are
just asking for trouble. If something goes rogue, a command may
install or remove hundreds of packages, leaving you with a borked
system.
That's another bit of bad advice various websites offer.
I never use -y. I know I could issue dnf upgrade and do the same thing,
I've just been playing around with dnf check-upgrade. I could be wrong
but dnf check-upgrade seems to me to be new with dnf5, so presumably it
has been added for a reason, so is there checking done that is not done
with dnf upgrade?
It's most likely intended to be used by shell scripts.
--
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
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@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue