# Patching Basesystem conflict with kernel-source.noarch

**URL:** <https://forums.suse.com/t/patching-basesystem-conflict-with-kernel-source-noarch/42585>\
**Category:** General\
**Created:** [February 18, 2024, 6:24am UTC](https://forums.suse.com/t/patching-basesystem-conflict-with-kernel-source-noarch/42585 "2024-02-18T06:24:15Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Linux\_01](https://avatars.discourse-cdn.com/v4/letter/l/e19adc/32.png) [@Linux\_01](https://forums.suse.com/u/Linux_01)\
**Post date:** [February 18, 2024, 6:24am UTC](https://forums.suse.com/t/patching-basesystem-conflict-with-kernel-source-noarch/42585/1 "2024-02-18T06:24:15Z")

</div>

I am facing below error while patching. Please help me to understand how should I proceed in this case.

```auto
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:

```auto
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

```

---

<div class="post-metadata">

**Author:** ![malcolmlewis1](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/malcolmlewis1/32/10022_2.png) [@malcolmlewis1](https://forums.suse.com/u/malcolmlewis1)\
**Post date:** [February 18, 2024, 6:08pm UTC](https://forums.suse.com/t/patching-basesystem-conflict-with-kernel-source-noarch/42585/2 "2024-02-18T18:08:31Z")

</div>

@Linux_01 Do you really need such an old kernel source and devel present? If not let it delete (Solution 2) and cleanup…

---

<div class="post-metadata">

**Author:** ![Linux\_01](https://avatars.discourse-cdn.com/v4/letter/l/e19adc/32.png) [@Linux\_01](https://forums.suse.com/u/Linux_01)\
**Post date:** [February 19, 2024, 4:13am UTC](https://forums.suse.com/t/patching-basesystem-conflict-with-kernel-source-noarch/42585/3 "2024-02-19T04:13:27Z")

</div>

Its production DB server, I am not really aware of consequences at time if I delete. At the 1st place why did zypper update it new one. I am clueless.

---

<div class="post-metadata">

**Author:** ![malcolmlewis1](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/malcolmlewis1/32/10022_2.png) [@malcolmlewis1](https://forums.suse.com/u/malcolmlewis1)\
**Post date:** [February 19, 2024, 4:38am UTC](https://forums.suse.com/t/patching-basesystem-conflict-with-kernel-source-noarch/42585/4 "2024-02-19T04:38:34Z")

</div>

@Linux_01 you can use the dry run option (-D) so nothing is done… but I doubt it’s needed since your running kernel 5.3.18-150300.59.106-default.

---

<div class="post-metadata">

**Author:** ![Linux\_01](https://avatars.discourse-cdn.com/v4/letter/l/e19adc/32.png) [@Linux\_01](https://forums.suse.com/u/Linux_01)\
**Post date:** [February 19, 2024, 6:15am UTC](https://forums.suse.com/t/patching-basesystem-conflict-with-kernel-source-noarch/42585/5 "2024-02-19T06:15:05Z")

</div>

When we updated our server with zypper update command, why it did not update kernel-source package to 5.3.18-150300.59.106.1 whereas it has update all other kernel package to that version.

---

<div class="post-metadata">

**Author:** ![Linux\_01](https://avatars.discourse-cdn.com/v4/letter/l/e19adc/32.png) [@Linux\_01](https://forums.suse.com/u/Linux_01)\
**Post date:** [February 19, 2024, 6:16am UTC](https://forums.suse.com/t/patching-basesystem-conflict-with-kernel-source-noarch/42585/6 "2024-02-19T06:16:28Z")

</div>

I am ver nervous with this situation as I can ot delete old kernel version kernel 5.3.18-150300.59.93.1 as its 2nd latest kernel to the current.  
I am not sure what should I do how to fix this error.

---

<div class="post-metadata">

**Author:** ![malcolmlewis1](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/malcolmlewis1/32/10022_2.png) [@malcolmlewis1](https://forums.suse.com/u/malcolmlewis1)\
**Post date:** [February 19, 2024, 12:34pm UTC](https://forums.suse.com/t/patching-basesystem-conflict-with-kernel-source-noarch/42585/7 "2024-02-19T12:34:04Z")

</div>

@Linux_01 the source (less used now because of the devel packages) and respective devel packages are only needed for compiling kernel modules etc. There is nothing going on in this department, so it’s not installed. You can use `zypper if kernel-source` to see the information.
