课程: Linux: Kernels and Logging for System Administration

免费学习该课程!

今天就开通帐号,24,700 门业界名师课程任您挑!

Manage OS updates

Manage OS updates

- [Instructor] You can check for operating system updates using the dnf check update sub command. In a terminal, type in dnf check -update, and hit Enter. This shows all software packages that have updates available. Notice near the bottom in my output is the grub2-tools package, which is red and indented. Indented packages have been obsoleted by the non indented packages near them. In the case of grub2-tools, it has been split into four parts confusingly, one of which is named grub2-tools with the others being grub2-tools-efi, grub2-tools-extra, and grub2-tools-minimal. Portions of the functionality of the original grub2-tools has been spread across these packages, and since DNF doesn't know which functionality I was using, it wants to install all four. You can upgrade single packages just by specifying them. For instance, to upgrade grub2-tools, type sudo dnf upgrade grub2-tools, and hit Enter. This upgrades the grub2-tools package and its dependencies. Say no to cancel. To upgrade…

内容