package:linux-image-4.15.0-22-generic:4.15.0-22.24 Removing linux-image-4.15.0-22-generic (4.15.0-22.24) ... [?1049h[?25l(B                                             Package configuration┌─────────────────────────────┤ Removing linux-image-4.15.0-22-generic ├──────────────────────────────┐│ │ │ You are running a kernel (version 4.15.0-22-generic) and attempting to remove the same version. │ │ │ │ This can make the system unbootable as it will remove /boot/vmlinuz-4.15.0-22-generic and all │ │ modules under the directory /lib/modules/4.15.0-22-generic. This can only be fixed with a copy of │ │ the kernel image and the corresponding modules . │ │ │ │ It is highly recommended to abort the kernel removal unless you are prepared to fix the system │ │ after removal. │ │ │ │ Abort kernel removal? │ │ │ │  │ [97m │ │ └─────────────────────────────────────────────────────────────────────────────────────────────────────┘  [?12l[?25h(B  [?1049lE: Aborting removal of the running kernel dpkg: error processing package linux-image-4.15.0-22-generic (--remove): installed linux-image-4.15.0-22-generic package pre-removal script subprocess returned error exit status 1