I am facing below error while patching. Please help me to understand how should I proceed in this case.
MyServer:~ # zypper patch
Refreshing service 'Basesystem_Module_x86_64'.
Refreshing service 'Containers_Module_x86_64'.
Refreshing service 'Legacy_Module_x86_64'.
Refreshing service 'Public_Cloud_Module_x86_64'.
Refreshing service 'Python_2_Module_x86_64'.
Refreshing service 'SUSE_Linux_Enterprise_Server_x86_64'.
Refreshing service 'Server_Applications_Module_x86_64'.
Refreshing service 'Web_and_Scripting_Module_x86_64'.
Loading repository data...
Reading installed packages...
Patch 'SUSE-SLE-Module-Public-Cloud-15-SP3-2023-2161-1' is optional. Use 'zypper in patch:SUSE-SLE-Module-Public-Cloud-15-SP3-2023-2161' to install it, or '--with-optional' to include all optional patches.
Resolving package dependencies...
2 Problems:
Problem: the to be installed patch:SUSE-SLE-Module-Basesystem-15-SP3-2022-4616-1.noarch conflicts with 'kernel-source.noarch < 5.3.18-150300.59.106.1' provided by the installed kernel-source-4.12.14-197.78.1.noarch
Problem: the to be installed patch:SUSE-SLE-Module-Basesystem-15-SP3-2022-4053-1.noarch conflicts with 'kernel-source.noarch < 5.3.18-150300.59.101.1' provided by the installed kernel-source-5.3.18-150300.59.93.1.noarch
Problem: the to be installed patch:SUSE-SLE-Module-Basesystem-15-SP3-2022-4616-1.noarch conflicts with 'kernel-source.noarch < 5.3.18-150300.59.106.1' provided by the installed kernel-source-4.12.14-197.78.1.noarch
Solution 1: Following actions will be done:
do not install patch:SUSE-SLE-Module-Basesystem-15-SP3-2022-4616-1.noarch
do not install patch:SUSE-SLE-Module-Basesystem-15-SP3-2022-3775-1.noarch
Solution 2: deinstallation of kernel-source-4.12.14-197.78.1.noarch
Choose from above solutions by number or skip, retry or cancel [1/2/s/r/c/d/?] (c): c
And further information may required to Troubleshoot is as mentioned below:
MyServer:~ # ls -ld /usr/src/linux
lrwxrwxrwx 1 root root 26 Feb 18 09:42 /usr/src/linux -> linux-5.3.18-150300.59.106
MyServer:~ # uname -r
5.3.18-150300.59.106-default
MyServer:~ # rpm -qa| grep kernel
purge-kernels-service-0-8.3.1.noarch
kernel-source-5.3.18-150300.59.93.1.noarch
kernel-default-devel-5.3.18-150300.59.106.1.x86_64
nfs-kernel-server-2.1.1-150100.10.27.1.x86_64
kernel-source-4.12.14-197.78.1.noarch
kernel-devel-5.3.18-150300.59.93.1.noarch
kernel-default-5.3.18-150300.59.93.1.x86_64
kernel-default-5.3.18-150300.59.106.1.x86_64
kernel-firmware-20210208-150300.4.10.1.noarch
kernel-default-devel-5.3.18-150300.59.93.1.x86_64
kernel-devel-4.12.14-197.78.1.noarch
kernel-macros-5.3.18-150300.59.106.1.noarch
kernel-devel-5.3.18-150300.59.106.1.noarch