Re: libmd.so.6 and pkgbase

From: void <void_at_f-m.fm>
Date: Mon, 07 Oct 2024 20:17:54 UTC
On Mon, Oct 07, 2024 at 08:53:34AM +0200, Baptiste Daroussin wrote:
>Hello everyone,
>
>Just a reminder when using pkgbase, make sure you do activate
>BACKUP_LIBRARIES=true in pkg.conf
>
>This way pkg will save a copy of libmd.so.6 during the upgrade in
>/usr/local/lib/pkg/libmd.so.6 (and create a package named compat-libraries to
>track it).
>
>This will prevent you from having a couple of days without a new version of pkg
>built against libmd.so.7 available (or some of the packages which also requires
>libmd.so.7.

Hi,

I had occasion to install
FreeBSD-15.0-CURRENT-amd64-20241003-ad152571b8fd-272633-disc1.iso today and when
it booted up, I ran pkg install (usual programs). But I found that it bailed
with libmd errors when installing pkg. I don't use pkgbase, as far as I'm aware, 
which is why I thought I should mention it in this thread.

Fortunately, fetch is still in base so this was fixed by downloading
https://download.freebsd.org/ports/ports/ports.tar.xz into /tmp, untarring into
/usr/ports, then made pkg from ports-mgmt/pkg and installed it.
--