Update from 14.3 to 15

0 views
Skip to first unread message

Doug Hardie

unread,
Dec 3, 2025, 2:39:15 AM (3 days ago) Dec 3
to questions
I updated my 14.3 arm64 (Raspberry Pi 4) to 14.3-RELEASE-P6, then ran pkg upgrade where it updated pkg, and then used freebsd-update to install 15.0-RELEASE.

Everything went smooth as it usually does until I tried to use pkg:

test# pkg
ld-elf.so.1: Shared object "libutil.so.9" not found, required by "pkg"
test#

Somehow pkg didn't get updated. Only libutil.so.10 exists. I haven't tried this yet, but I have another arm64 machine running 14.3 that I could copy over that file. I am not sure that is the best approach though.

-- Doug


Erwan David

unread,
Dec 3, 2025, 2:50:28 AM (3 days ago) Dec 3
to ques...@freebsd.org
I usually do a `pkg-static install pkg` to get the current pkg when doing a major upgrade. I suppose FreeBSD-15 comes with a newer version of libutils

--
Erwan David

Odhiambo Washington

unread,
Dec 3, 2025, 2:51:54 AM (3 days ago) Dec 3
to Doug Hardie, questions
I had this as well and as a workaround, I created a symlink to libutil.so.10 for libutil.so.9
And I believe this creates a lot more issues because I have struggled with installing qemu-guest-agent on the server to no avail.
Let me await the correct solution.


--
Best regards,
Odhiambo WASHINGTON,
Nairobi,KE
+254 7 3200 0004/+254 7 2274 3223
 In an Internet failure case, the #1 suspect is a constant: DNS.
"Oh, the cruft.", egrep -v '^$|^.*#' ¯\_(ツ)_/¯ :-)

Doug Hardie

unread,
Dec 3, 2025, 4:14:05 AM (3 days ago) Dec 3
to Erwan David, ques...@freebsd.org
> pkg-static install pkg worked just fine. I am now updating a large bunch of ports. What fun.

-- Doug


Dag-Erling Smørgrav

unread,
Dec 3, 2025, 9:22:46 AM (2 days ago) Dec 3
to Doug Hardie, questions
Doug Hardie <bc...@lafn.org> writes:
> Everything went smooth as it usually does until I tried to use pkg:
>
> test# pkg
> ld-elf.so.1: Shared object "libutil.so.9" not found, required by "pkg"
> test#

Either `/usr/sbin/pkg bootstrap -f` or `pkg-static upgrade -fy pkg`
should fix this.

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

Odhiambo Washington

unread,
Dec 3, 2025, 9:27:22 AM (2 days ago) Dec 3
to Dag-Erling Smørgrav, Doug Hardie, questions
On Wed, Dec 3, 2025 at 5:22 PM Dag-Erling Smørgrav <d...@freebsd.org> wrote:
Doug Hardie <bc...@lafn.org> writes:
> Everything went smooth as it usually does until I tried to use pkg:
>
> test# pkg
> ld-elf.so.1: Shared object "libutil.so.9" not found, required by "pkg"
> test# 

Either `/usr/sbin/pkg bootstrap -f` or `pkg-static upgrade -fy pkg`
should fix this.

Right now I am running 'portupgrade -af'. Once that is done, I will see what happens.
I'll run the proposed fixes and report back.
If all fails, I will once again restore and start over.
Reply all
Reply to author
Forward
0 new messages