I recently upgraded my distro and when I ran the "uname -r" command the result was the same as before applying the "apt-get update && apt-get upgrade && apt-get dist-upgrade -y".

I went to the "/ lib / modules" directory and noticed that there are the folders of both kernels.
Does anyone know how to keep just the current kernel ?!