What | Removed | Added |
---|---|---|
Flags | needinfo?(rosuna@suse.com) |
(In reply to Thorsten Kukuk from comment #2) > Are this kernels referenced by a snapshot? > If yes, it's correct that this kernels don't get deleted, else your snapshot > would become unbootable and useless. > > And since you only removed kernels from the current snapshot, but not old > snapshots, I'm pretty sure this is the reason why this kernels don't get > removed. The thing is that I did not remove the kernels myself (at least not manually). I would suppose this is "zypper purge-kernels" taking care of it, with the default configuration of openSUSE (and SLES) to just keep the running kernel and only one previous version. raul@mordor:~$ sudo snapper ls # | Type | Pre # | Date | User | Used Space | Cleanup | Description | Userdata -----+--------+-------+--------------------------+------+------------+---------+-----------------------+-------------- 0 | single | | | root | | | current | 740* | single | | Thu Jun 27 22:07:11 2024 | root | 23.59 MiB | | writable copy of #706 | 839 | pre | | Mon Aug 12 23:51:07 2024 | root | 193.74 MiB | number | zypp(zypper) | important=yes 840 | post | 839 | Mon Aug 12 23:51:30 2024 | root | 84.31 MiB | number | | important=yes 843 | pre | | Fri Aug 16 22:52:27 2024 | root | 311.79 MiB | number | zypp(packagekitd) | important=yes 844 | post | 843 | Fri Aug 16 22:55:59 2024 | root | 1.36 MiB | number | | important=yes 845 | pre | | Fri Aug 16 22:57:07 2024 | root | 460.00 KiB | number | zypp(zypper) | important=yes 846 | post | 845 | Fri Aug 16 22:57:29 2024 | root | 956.00 KiB | number | | important=yes 847 | pre | | Sun Aug 18 00:35:09 2024 | root | 14.90 MiB | number | zypp(zypper) | important=no 848 | post | 847 | Sun Aug 18 00:36:20 2024 | root | 4.50 MiB | number | | important=no 849 | pre | | Mon Aug 19 00:07:05 2024 | root | 1.66 MiB | number | zypp(packagekitd) | important=yes 850 | post | 849 | Mon Aug 19 00:08:46 2024 | root | 2.08 MiB | number | | important=yes 851 | pre | | Mon Aug 19 00:28:56 2024 | root | 3.17 MiB | number | zypp(zypper) | important=yes 852 | post | 851 | Mon Aug 19 00:29:19 2024 | root | 5.21 MiB | number | | important=yes raul@mordor:~$ sudo zypper purge-kernels Reading installed packages... Preparing to purge obsolete kernels... Configuration: latest,latest-1,running Running kernel release: 6.10.5-1-default Running kernel arch: x86_64 Resolving package dependencies... Nothing to do. raul@mordor:~$ rpm -qa | grep -i kernel-default kernel-default-6.10.4-1.1.x86_64 kernel-default-6.10.5-1.1.x86_64 raul@mordor:~$ sudo ls -la /boot/efi/bad01a2647cb4fef8827293b9d389245 total 20 drwxr-x--- 5 root root 4096 Aug 19 00:07 . drwxr-x--- 5 root root 4096 Jan 1 1970 .. drwxr-x--- 2 root root 4096 Aug 19 00:08 6.10.3-1-default drwxr-x--- 2 root root 4096 Aug 19 00:08 6.10.4-1-default drwxr-x--- 2 root root 4096 Aug 19 00:08 6.10.5-1-default P.S: Just before these commands, I had removed snapshot 706, which looked like this: 706 | single | | Wed Jun 12 12:55:30 2024 | root | 13.16 GiB | | Before removing nvidia packages and manually installing 555 version (I'm not using nvidia drivers any more but nouveau).