Projekt

Allgemein

Profil

Aktionen

Update

dnf update

if for any reason your download fails due to bandwidth issues (e.g. VirtualBox-Repo), this will repeat yum update until successful

dnf update -y ; until [ $? -eq 0 ]; do yum update -y; done

List Packages

List installed Packages

dnf list installed

Package cleanup

remove old kernels

You can optionally make use of package-cleanup and remove a specified number of older kernels, as shown below.

package-cleanup --oldkernels --assumeyes --count=3

Setting in yum.conf

Specify the amount of concurrently installed kernels

taken from https://www.rootusers.com/how-to-free-boot-disk-space-in-linux/

We can specify how many Linux kernels are allowed to be installed at any one time. By default the amount of Linux kernels that can be installed at the same time is 5. If you already have 5 different versions of the Linux kernel installed and you perform a ‘yum update’ and install a newer kernel, the oldest kernel will be uninstalled to make room for the newest one.

This is done in the /etc/yum.conf file as shown below.

installonly_limit=6

Von Jeremias Keihsler vor etwa 3 Jahren aktualisiert · 1 Revisionen