"pkg-static: compat-libraries-20241219115515 conflicts with compat-libraries-20241219115515" . . .

From: Mark Millard <marklmi_at_yahoo.com>
Date: Thu, 19 Dec 2024 20:31:29 UTC
I was updating the packaged ports and got a report of the conflict.

# pkg-static upgrade -rFreeBSD
Updating FreeBSD repository catalogue...
Fetching data.pkg: 100%    7 MiB   7.4MB/s    00:01    
Processing entries: 100%
FreeBSD repository update completed. 34585 packages processed.
All repositories are up to date.
Checking for upgrades (12 candidates): 100%
Processing candidates (12 candidates): 100%
The following 10 package(s) will be affected (of 0 checked):

Installed packages to be UPGRADED:
	cmake-core: 3.31.1 -> 3.31.2 [FreeBSD]
	expat: 2.6.3 -> 2.6.4 [FreeBSD]
	freebsd-release-manifests: 20241122 -> 20241129 [FreeBSD]
	llvm19: 19.1.4 -> 19.1.5 [FreeBSD]
	p5-Authen-SASL: 2.17 -> 2.17_1 [FreeBSD]
	py311-cryptography: 42.0.8_4,1 -> 42.0.8_5,1 [FreeBSD]
	python311: 3.11.10 -> 3.11.11 [FreeBSD]
	rust: 1.82.0_1 -> 1.83.0 [FreeBSD]
	zip: 3.0_2 -> 3.0_3 [FreeBSD]
	ztop: 0.2.3_9 -> 0.2.3_10 [FreeBSD]

Number of packages to be upgraded: 10
. . .
[4/10] Upgrading rust from 1.82.0_1 to 1.83.0...
[4/10] Extracting rust-1.83.0: 100%
pkg-static: compat-libraries-20241219115515 conflicts with compat-libraries-20241219115515 (installs files into the same place).  Problematic file: /usr/local/lib/compat/pkg/libstd-9a7aa7f94e5d13ef.so
[5/10] Upgrading py311-cryptography from 42.0.8_4,1 to 42.0.8_5,1...
[5/10] Extracting py311-cryptography-42.0.8_5,1: 100%
. . .

Each copied and pasted for ease of comparison/contrast of the 2 names:

compat-libraries-20241219115515
compat-libraries-20241219115515


For reference (from after the above activity):

# pkg-static query '%R %o' | grep ^unknown-repository
unknown-repository compat/libraries

# pkg-static info compat/libraries
compat-libraries-20241219115515
Name           : compat-libraries
Version        : 20241219115515
Installed on   : Thu Dec 19 11:55:15 2024 PST
Origin         : compat/libraries
Architecture   : *
Prefix         : /
Categories     :  Licenses       :  Maintainer     : root@localhost
WWW            : N/A
Comment        : Compatibility libraries saved during local packages upgrade

Shared Libs required:
libicuuc.so.74
libicui18n.so.74
libicudata.so.74
Shared Libs provided:
libstd-9a7aa7f94e5d13ef.so
librustc_driver-eeb836e44dd1492b.so
libboost_wserialization.so.1.85.0
libboost_wave.so.1.85.0
libboost_url.so.1.85.0
libboost_unit_test_framework.so.1.85.0
libboost_type_erasure.so.1.85.0
libboost_timer.so.1.85.0
libboost_thread.so.1.85.0
libboost_system.so.1.85.0
libboost_stacktrace_noop.so.1.85.0
libboost_stacktrace_basic.so.1.85.0
libboost_stacktrace_addr2line.so.1.85.0
libboost_serialization.so.1.85.0
libboost_regex.so.1.85.0
libboost_random.so.1.85.0
libboost_program_options.so.1.85.0
libboost_prg_exec_monitor.so.1.85.0
libboost_nowide.so.1.85.0
libboost_math_tr1l.so.1.85.0
libboost_math_tr1f.so.1.85.0
libboost_math_tr1.so.1.85.0
libboost_math_c99l.so.1.85.0
libboost_math_c99f.so.1.85.0
libboost_math_c99.so.1.85.0
libboost_log_setup.so.1.85.0
libboost_log.so.1.85.0
libboost_locale.so.1.85.0
libboost_json.so.1.85.0
libboost_iostreams.so.1.85.0
libboost_graph.so.1.85.0
libboost_filesystem.so.1.85.0
libboost_fiber.so.1.85.0
libboost_date_time.so.1.85.0
libboost_coroutine.so.1.85.0
libboost_contract.so.1.85.0
libboost_context.so.1.85.0
libboost_container.so.1.85.0
libboost_chrono.so.1.85.0
libboost_charconv.so.1.85.0
libboost_atomic.so.1.85.0
Annotations    :
Flat size      : 436MiB
Description    :
Compatibility libraries saved during local packages upgrade


===
Mark Millard
marklmi at yahoo.com