Cleanup the boot filesystem of the appliance gateway to upgrade from 11.0 to 11.1.2
search cancel

Cleanup the boot filesystem of the appliance gateway to upgrade from 11.0 to 11.1.2

book

Article ID: 398987

calendar_today

Updated On:

Products

CA API Gateway

Issue/Introduction

To be able to upgrade, the /boot filesystem needs to be cleaned up to free up space to install the new kernel .

What is the command to delete the old kernels?

 

Environment

API Gateway 11.X

Resolution

To free up space in /boot filesystem, you can remove old unused kernels. The following command will show installed kernels:

dpkg --list | egrep -i --color 'linux-image|linux-headers'

ii  linux-image-5.10.0-33-amd64       5.10.226-1                         amd64        Linux 5.10 for 64-bit PCs (signed)
ii  linux-image-amd64                       5.10.226-1                         amd64        Linux for 64-bit PCs (meta-package)

If you have multiple kernel versions,  you can remove the unused one with one of the following commands:

apt-get --purge remove linux-image-5.10.0-33-amd64

sudo apt-get --purge remove linux-image-5.10.0-33-amd64