The current wmf-opensearch-search-plugins supplies a file that's already owned by the upstream OpenSearch package:
dpkg: error processing archive /var/cache/apt/archives/wmf-opensearch-search-plugins_2.19.5+3~bullseye_all.deb (--unpack): trying to overwrite '/usr/share/opensearch/plugins/opensearch-knn/LICENSE.txt', which is also in package opensearch (2.19.5) Errors were encountered while processing: /var/cache/apt/archives/wmf-opensearch-search-plugins_2.19.5+3~bullseye_all.deb
Creating this ticket to:
- Ensure we don't enable any unwanted plugins from the upstream opensearch package in production (see this blubberfile for an example of how we do this in our Docker image)
- Determine a fix (remove the file from the package? Change its path)?
- Build a new version of the plugin
- Apply the new version of the plugin