Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 9 Oct 2025 23:58:06 +0100
From:      Graham Perrin <grahamperrin@gmail.com>
To:        freebsd-pkgbase@freebsd.org
Subject:   Re: pkgbase + migrate to FreeBSD15/amd64
Message-ID:  <edf544d1-a7d7-4720-b060-4c0375941ee1@gmail.com>
In-Reply-To: <27d4a7b7-9c85-4fac-b3c4-d1d4e9b303c6@t-online.de>

index | next in thread | previous in thread | raw e-mail

[-- Attachment #1 --]
On 09/10/2025 20:01, Manfred Koch wrote:

> …
>
> After pkg update -r FreebBSD-base I get:
>
> ld-elf.so.1: Shared object "libutil.so.10" not found required by doas

*First thought*

Run as the superuser (don't use doas or sudo).

Lesson Learned: Don't switch to pkgbase in sudo : r/freebsd 
<https://www.reddit.com/r/freebsd/comments/1hrbnk0/lesson_learned_dont_switch_to_pkgbase_in_sudo/>;

*Second thought*

pkg-static (not pkg) for that part of a major upgrade.

*Longer story*

FreeBSD: pkgbase: major upgrades 
<https://gist.github.com/grahamperrin/a58edbb8587af513a154ac01d922f611#file-pkgbase-major-upgrade-md>;

<https://www.reddit.com/r/freebsd/comments/1nlo8lp/freebsd_pkgbase_major_upgrades/>;

[-- Attachment #2 --]
<!DOCTYPE html>
<html data-lt-installed="true">
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body style="padding-bottom: 1px;">
    <div class="moz-cite-prefix">On 09/10/2025 20:01, Manfred Koch
      wrote:<br>
      <br>
    </div>
    <div class="moz-cite-prefix">
      <blockquote type="cite">
        <pre>…

After pkg update -r FreebBSD-base I get:

ld-elf.so.1: Shared object "libutil.so.10" not found required by doas
</pre>
      </blockquote>
      <br>
    </div>
    <p><b>First thought</b></p>
    <p>Run as the superuser (don't use doas or sudo). </p>
    <p><a
href="https://www.reddit.com/r/freebsd/comments/1hrbnk0/lesson_learned_dont_switch_to_pkgbase_in_sudo/">Lesson
        Learned: Don't switch to pkgbase in sudo : r/freebsd</a></p>
    <p><b>Second thought</b></p>
    <p>pkg-static (not pkg) for that part of a major upgrade.</p>
    <p><b>Longer story</b></p>
    <p><a
href="https://gist.github.com/grahamperrin/a58edbb8587af513a154ac01d922f611#file-pkgbase-major-upgrade-md">FreeBSD:
        pkgbase: major upgrades</a></p>
    <p><a class="moz-txt-link-rfc2396E" href="https://www.reddit.com/r/freebsd/comments/1nlo8lp/freebsd_pkgbase_major_upgrades/">&lt;https://www.reddit.com/r/freebsd/comments/1nlo8lp/freebsd_pkgbase_major_upgrades/&gt;</a></p>;
  </body>
  <lt-container></lt-container>
</html>
home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?edf544d1-a7d7-4720-b060-4c0375941ee1>