kernel version is not locked

I locked my kernel-default from changes in Yast but it still update it and break my system with new version. How to fix it?

Show output of “zypper ll”.

| Name | Type | Repository | Comment

–±-----------------±--------±-----------±-------
1 | Mesa-dri-nouveau | package | (any) |
2 | kernel-default | package | (any) |

While it is a genuine question, the problem is why is it breaking your system. Another thing is I don’t think you should use YaST to update the system. Prefer zypper dup which covers more upgrade situations than alternatives.

If you really need prevent installation of newer kernels, the lock pattern might need to be “kernel-de*” to lock kernel-devel and kernel-default-devel as well.

We need more context, show the complete output of “zypper dup”.