Error during upgrade from Kibana 8.18.1 to 8.18.2

Hi,

On our Debain 12.x servers, we have an error when upgrading Kibana package from 8.18.1 to 8.18.2.

root@elkglbvprd3:/etc/logstash/conf.d# apt install kibana
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages will be upgraded:
  kibana
1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
Need to get 0 B/361 MB of archives.
After this operation, 2,627 kB disk space will be freed.
Reading changelogs... Done
(Reading database ... 275030 files and directories currently installed.)
Preparing to unpack .../kibana_8.18.2_amd64.deb ...
Stopping kibana service... OK
Unpacking kibana (8.18.2) over (8.18.1) ...
dpkg: error processing archive /var/cache/apt/archives/kibana_8.18.2_amd64.deb (--unpack):
 error setting timestamps of '/usr/share/kibana/node_modules/@kbn/elastic-assistant-plugin/server/knowledge_base/security_labs/siestagraph_new_implant_uncovered_in_asean_member_foreign_ministry.md.dpkg-new': No such file or directory
dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
Errors were encountered while processing:
 /var/cache/apt/archives/kibana_8.18.2_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

This file doesn't exist on the serveur. If I create an empty file, the error is still happening.
How can I solve this ?

Thanks,

P.S. : Elasticsearch and logstash package updated without a problem.

Same error... same solution. Stop your AV during the upgrade !

Error upgrading kibana to newer version 8.17.0 - Elastic Stack / Kibana - Discuss the Elastic Stack