Cannot uninstall package: package kernel-devel-4.11.3-1.2.noarch is not installed

Hi! I have a problem with one RPM package

zypper se -s kernel-devel
Loading repository data...
Reading installed packages...

S  | Name         | Type    | Version    | Arch   | Repository       
---+--------------+---------+------------+--------+------------------
i+ | kernel-devel | package | 4.11.3-1.2 | noarch | (System Packages)
i+ | kernel-devel | package | 4.14.2-1.6 | noarch | repo-oss

I’d like to uninstall 4.11.3-1.2 version:

zypper rm kernel-devel-4.11.3-1.2
Loading repository data...
Reading installed packages...
Resolving package dependencies...

The following package is going to be REMOVED:
  kernel-devel-4.11.3-1.2

1 package to remove.
After the operation, 55.2 MiB will be freed.
Continue? [y/n/...? shows all options] (y): y
(1/1) Removing kernel-devel-4.11.3-1.2.noarch ...................................................[error]
Removal of (685)kernel-devel-4.11.3-1.2.noarch(@System) failed:
Error: Subprocess failed. Error: RPM failed: error: package kernel-devel-4.11.3-1.2.noarch is not installed

Same error when I try to remove all versions via “zypper rm kernel-devel”

A few ancient mentions of such problem exist on the internet, but nothing helps in my case. Force update doesn’t work either.

How to get rid of this package?

As root:

rpm --rebuilddb
zypper clean -a

Can you delete it then?

In Tumbleweed only use

zypper dup

for Update the System.

rpm --rebuilddb && zypper clean -a

Worked! This package disappeared
Thank you, Sauerland