Multiple packages installing the same file

How is conda supposed to handle multiple packages installing the same file? With rpm it would result in an error about conflicting files, but conda (or at least micromamba) seems to just emit a warning:

The following files were already present in the environment:
    - lib/liblzma.so.5

And it is installed by two different packages:

liblzma-5.8.1-hb9d3cd8_0.json:        "lib/liblzma.so.5",
liblzma-5.8.1-hb9d3cd8_0.json:        "lib/liblzma.so.5.8.1"
liblzma-5.8.1-hb9d3cd8_0.json:                "_path": "lib/liblzma.so.5",
liblzma-5.8.1-hb9d3cd8_0.json:                "_path": "lib/liblzma.so.5.8.1",
xz-5.2.6-h166bdaf_0.json:        "lib/liblzma.so.5",
xz-5.2.6-h166bdaf_0.json:        "lib/liblzma.so.5.2.6",
xz-5.2.6-h166bdaf_0.json:                "_path": "lib/liblzma.so.5",
xz-5.2.6-h166bdaf_0.json:                "_path": "lib/liblzma.so.5.2.6",
lrwxrwxrwx. 1 root root     16 Sep 17  2024 lib/liblzma.so -> liblzma.so.5.2.6*
-rwxrwxr-x. 2 root root 222712 Apr  4 06:51 lib/liblzma.so.5*
-rwxrwxr-x. 2 root root 180952 Aug 12  2022 lib/liblzma.so.5.2.6*
-rwxrwxr-x. 2 root root 222712 Apr  4 06:51 lib/liblzma.so.5.8.1*

This should be fixed once Extend xz_split scope by xhochy · Pull Request #1021 · conda-forge/conda-forge-repodata-patches-feedstock · GitHub has been merged. Now liblzma ensures that it is only co-installed with the same version of xz where the files are split correctly.