Removing linux-generic-hwe-22.04 (5.15.0.50.50) ... Removing linux-image-generic-hwe-22.04 (5.15.0.50.50) ... Removing linux-modules-extra-5.15.0-50-generic (5.15.0-50.56) ... dpkg: linux-image-5.15.0-50-generic: dependency problems, but removing anyway as you requested: linux-signatures-nvidia-5.15.0-50-generic depends on linux-image-5.15.0-50-generic | linux-image-unsigned-5.15.0-50-generic; however: Package linux-image-5.15.0-50-generic is to be removed. Package linux-image-unsigned-5.15.0-50-generic is not installed. linux-modules-5.15.0-50-generic depends on linux-image-5.15.0-50-generic | linux-image-unsigned-5.15.0-50-generic; however: Package linux-image-5.15.0-50-generic is to be removed. Package linux-image-unsigned-5.15.0-50-generic is not installed. Removing linux-image-5.15.0-50-generic (5.15.0-50.56) ... )0[?25l[?1c                                             [46;1 H     Package configuration┌────────────────────────────────────────┤ Removing linux-image-5.15.0-50-generic ├────────────────────────────────────────┐│ │ │ You are running a kernel (version 5.15.0-50-generic) and attempting to remove the same version. │ │ │ │ This can make the system unbootable as it will remove /boot/vmlinuz-5.15.0-50-generic and all modules under the │ │ directory /lib/modules/5.15.0-50-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? │ │ │ │  │ │ │ └─────────────────────────────────────────── ───────────────────────────────────────────────────────────────────────────────┘  [?25h[?0c  E: Aborting removal of the running kernel dpkg: error processing package linux-image-5.15.0-50-generic (--remove): installed linux-image-5.15.0-50-generic package pre-removal script subprocess returned error exit status 1 dpkg: too many errors, stopping