Problem with libkf5doctools5 package after upgrade to 24.04 LTS

KDENeon upgrade to 24.04 LTS has failed during update of libkf5doctools5, it says that triggers ci file contains unknown directive ‘ames’ and update fails. I just tried everything, nothing works. Cannot get rid of it. Please help.

yurin@halo:~$ sudo apt full-upgrade 
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Starting pkgProblemResolver with broken count: 0
Starting 2 pkgProblemResolver with broken count: 0
Done
Entering ResolveByKeep
Calculating upgrade... Done
The following packages will be upgraded:
  libkf5doctools5
1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
Need to get 0 B/16.2 kB of archives.
After this operation, 55.3 kB of additional disk space will be used.
Do you want to continue? [Y/n] Y
(Reading database ... 390116 files and directories currently installed.)
Preparing to unpack .../libkf5doctools5_5.116.0-1zneon+24.04+noble+release+build3_amd64.deb ...
dpkg: error processing archive /var/cache/apt/archives/libkf5doctools5_5.116.0-1zneon+24.04+noble+release+build3_amd64.deb (--unpack):
 triggers ci file contains unknown directive 'ames'
Errors were encountered while processing:
 /var/cache/apt/archives/libkf5doctools5_5.116.0-1zneon+24.04+noble+release+build3_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

Problem solved, reason for it the package trigger file
/var/lib/dpkg/info/libkf5doctools5:amd64.triggers
that got somehow corrupted during upgrade process.

I found that it contains some irrelevant text such as “ames and routing for specific audio hardware. They can be used with the”. Once i replaced it with normal content everything stated to work as expected.

But now I wonder how on Earth this extraneous text could get there during installation???