Re: Packages problems with NetBSD 10.1

Don Lee <[email protected]> Sat, 25 Apr 2026 16:28:11 -0500
Newsgroups gmane.os.netbsd.ports.macppc
Message-ID <[email protected]>
> On Apr 25, 2026, at 6:44 AM, Valery Ushakov <[email protected]> wrote:
>=20
> On Sat, Apr 25, 2026 at 02:11:46 -0500, Don Lee wrote:
>=20
>> I poked around on the web and found suggestions to re-install the
>> base files, which I tried. Unfortunately, the base files (for NetBSD
>> 10.1) do not contain the libraries that the packages are
>> demanding. I am now downloading 10.0, in hopes that I can find the
>> files I need there.
>>=20
>> My missing libraries are:
>>=20
>> /usr/lib/libarchive.so.5, needed by pkg_install-20250417 is not =
present in this system.
> [...]
>=20
> I'm not sure what did you do wrong, but shl.mi blames:
>=20
> 1.942.2.7    (martin   05-Sep-23): ./usr/lib/libarchive.so.5  	 =
 	  base-sys-shlib		compatfile
> 1.942.2.18   (martin   31-Oct-24): ./usr/lib/libarchive.so.5.1		=
					base-sys-shlib		=
compatfile
>=20
> and the tags are:
>=20
>    netbsd-10-1-RELEASE: 1.942.2.18
>    netbsd-10-0-RELEASE: 1.942.2.15
>=20
> So libarchvive.5.so must be there in 10.1 (and 10.0).
>=20
>=20
> postinstall obsolete gone wrong b/c of wrong sets or something?
>=20
> Anyway, reinstalling 10.1 sets (plus etcupdate) should have brought
> them back.
>=20
> -uwe

Thank you for the quick response.

So I should be able to fix this by doing a re-install of 1NetBSD 10.1 ? =
I=E2=80=99ll try that first.

I already did a "sysupgrade auto=E2=80=9D, which did the postinstall and =
obsolete steps.

NetBSD 10.0 base.tgz appears to have the files I need, so I was thinking =
of just adding them specifically from a manual un-pack of the base.tgz =
set of NetBSD 10.0.

Many thanks,

-dgl-