• Re: pkgbase: upgrading (was: FreeBSD 15.0-BETA4 Now Available)

    From vermaden@vermaden@interia.pl to muc.lists.freebsd.stable on Sun Nov 2 18:37:33 2025
    From Newsgroup: muc.lists.freebsd.stable

    You are more then welcome to propose your instructions proposal ...
    Temat: pkgbase: upgrading (was: FreeBSD 15.0-BETA4 Now Available)
    Data: 2025-11-02 16:35
    Nadawca: "Graham Perrin" <grahamperrin@gmail.com>
    Adresat: freebsd-stable@FreeBSD.org;

    On 01/11/2025 22:07, vermaden wrote:

    Hi.

    Please add PKGBASE update/upgrade instructions to future
    announcements.

    It is advertised in all possible places that freebsd-update(8) will
    go away and that PKGBASE - while still in Tech Preview phase - is the
    future.

    I propose a first draft of these instructions:


    rCa

    === PKGBASE Upgrading ===

    The PKGBASE utility supports binary upgrades of amd64, i386, and
    aarch64 systems running earlier FreeBSD releases. Systems running earlier FreeBSD releases can upgrade by first installing any updates for the
    currently running release:

    # pkg update -f
    # pkg upgrade -r FreeBSD-base; service sshd restart

    The system must be rebooted with the newly installed kernel before
    continuing.

    # shutdown -r now


    freebsd-update(8) will be used. I might have read (I don't know where;
    not found in FreeBSD list archives) that the next step will depend
    upon
    security and other aspects of the new repo.

    pkgbase is not a utility.

    A normal update should not require --force.

    The upgrade above may silently lose the user's preference for latest.

    For an upgrade to the kernel: excluding non-base kernel modules (e.g. FreeBSD-ports-kmods) is not ideal.

    For earlier versions such as 14.3 and 14-STABLE that already use
    pkgbase: current approaches to the major upgrade are varied, sometimes complex, not conventional. Not yet fit for releng documentation, IMHO.




    --
    Posted automagically by a mail2news gateway at muc.de e.V.
    Please direct questions, flames, donations, etc. to news-admin@muc.de
    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From Graham Perrin@grahamperrin@gmail.com to muc.lists.freebsd.stable on Sun Nov 2 18:05:24 2025
    From Newsgroup: muc.lists.freebsd.stable

    This is a multi-part message in MIME format. --------------rQd6WLQVRL3GiXYlyVzMtIY6
    Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit

    Please see <https://reviews.freebsd.org/D53534>. --------------rQd6WLQVRL3GiXYlyVzMtIY6
    Content-Type: text/html; charset=UTF-8
    Content-Transfer-Encoding: 7bit

    <!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;">
    Please see <a class="moz-txt-link-rfc2396E" href="https://reviews.freebsd.org/D53534">&lt;https://reviews.freebsd.org/D53534&gt;</a>.
    </body>
    <lt-container></lt-container>
    </html>

    --------------rQd6WLQVRL3GiXYlyVzMtIY6--


    --
    Posted automagically by a mail2news gateway at muc.de e.V.
    Please direct questions, flames, donations, etc. to news-admin@muc.de
    --- Synchronet 3.21a-Linux NewsLink 1.2