Re: Packages problems with NetBSD 10.1
Don Lee <[email protected]> Sun, 26 Apr 2026 21:22:47 -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 My "sysupgrade auto=E2=80=9D appears to have not done anything to fix = it. and NetBSD 10.0 base.tgz does not have all the files I need. I was inclined to remove all the packages and re-install them, but I had = a suspicion that the files I need are in the base install, so that would = do no good. Closure: I ran another "sysupgrade auto=E2=80=9D, and then removed and = re-installed all of the packages. Re-installing the packages appear to = have installed/changed (almost all) the missing files. When the install = was done, the only problem was php-mod5.so, which purports to be = available, but when I try to install it, it won=E2=80=99t install. (in = pkg ap24-php56) So, I don=E2=80=99t have php5, but I have php7 now and apache works. Many thanks, -dgl-