This question already has an answer here:

I have installed the package texlive-scheme-full. Occasionally, when I perform OS updates (via dnf update) I need to update n > 5000 packages. This sometimes takes about half an hour or longer and requires hundreds of MB of download volume.

Is there a way I can update my OS, installing only the most important updates, when I don't have the time nor the bandwidth to install everything?

By "most important" I mean packages relating to core functionality of the OS, especially kernel and security relevant packages. Especially unimportant I consider the updates of my tex-distribution.

I have noticed this related question, whose answers appeared a bit cumbersome to me:

Is this the only way to go?

marked as duplicate by mattdm, dr01, Jakuje, Anthon, garethTheRed Mar 5 '16 at 18:47

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • texlive is thousands of very small packages. Updating them doesn't go into your download budget much. Primary large packages are e.g. kernel, GCC, firefox and such. – vonbrand Dec 26 '15 at 1:04

It is weird that there is no such easy option. But your linked question describes it quite well and also does the linked forum post. The easiest way is probably to create such script:

# Check for and install security updates if available

security_updates=$( dnf -q updateinfo list sec | awk '{print $3}' )
if [ -n "$security_updates" ]; then
dnf upgrade $security_updates

There is (obviously) already RFE bugzilla for this, but still only discussed without implementation nor decision.

Not the answer you're looking for? Browse other questions tagged or ask your own question.