Re: pkg killed on FreeBSD upgrade to 14

From: Frank Leonhardt <freebsd-doc_at_fjl.co.uk>
Date: Fri, 08 Dec 2023 22:25:21 UTC
On 08/12/2023 19:21, robert@rrbrussell.com wrote:
> On Fri, Dec 8, 2023, at 12:43, Frank Leonhardt wrote:
>> <snip>
>> I got "bad vibes" going to from 13.2->14.0 - warnings that seemed
>> reasonable about stuff missing from /src/ and suchlike that I didn't
>> expect to see, but no actual errors as far as I could tell.
>>
>> On completion, however, pkg was no longer working - the following error
>> message:
>>
>> 'ld-elf.so.1: Shared object "libssl.so.111" not found, required by "pkg"'
>> <snip>
>>
>> Has anyone else had the same problem, and what are the runes to avoid it
>> should I decide to have another go?
>> <snip>
> pkg-static bootstrap -f will force an upgrade of pkg from the package repository. After that several rounds of portmaster -af should find all the breakages.
>
> I have found poudrière to be more reliable at rebuilding everything than portmaster.
>
Thanks - I could could find an install the relevant library manually, 
but I want to know *why* a standard upgrade on a vanilla installation 
broke. Are there any undocumented pre-upgrade steps. Good idea to use 
pkg-static to recover pkg, but I took this as a bad sign and did a 
rollback. I suspect there was more than just this wonky about it.The 
certificate login was also broken, and I'm sure csh being swapped out 
would cause trouble too :-(