Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 15 Aug 2025 01:33:13 +0200
From:      =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= <des@FreeBSD.org>
To:        Mark Millard <marklmi@yahoo.com>
Cc:        John Kennedy <warlock@phouka.net>,  FreeBSD Current <freebsd-current@freebsd.org>,  FreeBSD-pkgbase@freebsd.org
Subject:   Re: Note: libutil.so bump from main-n279246-0c381b7f0570
Message-ID:  <86bjohv5qe.fsf@ltc.des.dev>
In-Reply-To: <D264EC7B-955C-44A0-BB8E-3AC2AFA6809D@yahoo.com> (Mark Millard's message of "Thu, 14 Aug 2025 14:59:29 -0700")
References:  <F4F162E8-8EB7-49F1-AA86-F238B1AB53BD@yahoo.com> <86ms81vbuv.fsf@ltc.des.dev> <D264EC7B-955C-44A0-BB8E-3AC2AFA6809D@yahoo.com>

index | next in thread | previous in thread | raw e-mail

Mark Millard <marklmi@yahoo.com> writes:
> On the amd64 system I've long had: [...]  I still ended up without the
> 3 libraries in each context:

Check `pkg info -b compat-libraries` and `ldconfig -r | grep util.so.9`.
The first should show that the compat-libraries package provides the
library, the second should show that the linker finds it.

(although to be fair it appears `pkg upgrade` does not take the fact
that it intends to keep copies of the removed libraries into account
when deciding to remove a package because libraries it needs are no
longer available, so this feature still needs work, but it's there)

> If it had left in place the 3 older files, there is still the question
> of the standard way of later cleaning out the old versions: no
> delete-old-libs

`pkg delete compat-libraries` (pkg should refuse to delete it if some of
its libraries are still needed)

DES
-- 
Dag-Erling Smørgrav - des@FreeBSD.org


help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86bjohv5qe.fsf>