• Re: How to upgrade a 15.0 pkgbase system to 15.1?

    From Lexi Winter@ivy@freebsd.org to muc.lists.freebsd.stable on Tue Jun 16 12:24:46 2026
    From Newsgroup: muc.lists.freebsd.stable


    --asEPdwiafsebT6Xa
    Content-Type: text/plain; charset=us-ascii
    Content-Disposition: inline

    Patrick M. Hausen wrote in <67CF60AB-5011-4D25-A9FF-74B85CF31732@punkt.de>:
    I looked for the answer in the announcement and in the release notes
    without success. Would someone be so kind to enlighten me?

    https://www.freebsd.org/releases/15.1R/upgrading/#upgrade-pkg

    --asEPdwiafsebT6Xa
    Content-Type: application/pgp-signature; name=signature.asc

    -----BEGIN PGP SIGNATURE-----

    iHUEABYKAB0WIQSyjTg96lp3RifySyn1nT63mIK/YAUCajEyegAKCRD1nT63mIK/ YEpuAQD9qfvF5VJTEA0w4z5MsqjivjGBbAn7DrYlKfRMf7f93gEA2pecxKUK0bVx +blf4H3VuBQsR8B51mf4GIuoGtmsHgQ=
    =VMR9
    -----END PGP SIGNATURE-----

    --asEPdwiafsebT6Xa--


    --
    Posted automagically by a mail2news gateway at muc.de e.V.
    Please direct questions, flames, donations, etc. to news-admin@muc.de
    --- Synchronet 3.22a-Linux NewsLink 1.2
  • From Wismos@Wismos@proton.me to muc.lists.freebsd.stable on Tue Jun 16 13:03:50 2026
    From Newsgroup: muc.lists.freebsd.stable

    would be nice to link to/mention in announcement, like we previously used to do -------- Original Message --------
    On Tuesday, 06/16/26 at 16:55 Lexi Winter <ivy@freebsd.org> wrote:
    Patrick M. Hausen wrote in <67CF60AB-5011-4D25-A9FF-74B85CF31732@punkt.de>:
    I looked for the answer in the announcement and in the release notes
    without success. Would someone be so kind to enlighten me?
    https://www.freebsd.org/releases/15.1R/upgrading/#upgrade-pkg
    --
    Posted automagically by a mail2news gateway at muc.de e.V.
    Please direct questions, flames, donations, etc. to news-admin@muc.de
    --- Synchronet 3.22a-Linux NewsLink 1.2
  • From Anton Saietskii@vsasjason@gmail.com to muc.lists.freebsd.stable on Tue Jun 16 16:13:30 2026
    From Newsgroup: muc.lists.freebsd.stable

    On Tue, Jun 16, 2026 at 4:05rC>PM <Wismos@proton.me> wrote:

    would be nice to link to/mention in announcement, like we previously used to do
    So do something that has already been done?
    For instructions on installing FreeBSD or updating an existing machine to 15.1-RELEASE please see:
    https://www.FreeBSD.org/releases/15.1R/installation/
    And there "Upgrading with Base System Packages" section.
    --
    wbr,
    Anton
    --
    Posted automagically by a mail2news gateway at muc.de e.V.
    Please direct questions, flames, donations, etc. to news-admin@muc.de
    --- Synchronet 3.22a-Linux NewsLink 1.2
  • From Mark Millard@marklmi@yahoo.com to muc.lists.freebsd.stable on Tue Jun 16 08:36:22 2026
    From Newsgroup: muc.lists.freebsd.stable

    On 6/16/26 04:24, Lexi Winter wrote:
    Patrick M. Hausen wrote in <67CF60AB-5011-4D25-A9FF-74B85CF31732@punkt.de>:
    I looked for the answer in the announcement and in the release notes
    without success. Would someone be so kind to enlighten me?

    https://www.freebsd.org/releases/15.1R/upgrading/#upgrade-pkg

    [These are general notes. I'm not in need of help for my context.]

    Step 1 is very ZFS specific, without mentioning that it would not apply
    to UFS contexts.

    QUOTE
    bectl create -r pre-15.1
    END QUOTE


    Also, the -r may not be appropriate to all configurations.


    Step 4 ("pkg upgrade -r FreeBSD-ports-kmods") has the
    (potential/temporary?) issue that https://people.freebsd.org/~dbaio/pkg-master-report.html shows no
    updates after 2026-May-21.

    I expect that means that the FreeBSD os 15.1-RELEASE ones are not in
    place yet.


    Step 6 ("sysctl machdep.bootmethod") can have the issue:

    # sysctl machdep.bootmethod
    sysctl: unknown oid 'machdep.bootmethod'

    In that case because of it being aarch64.


    I only mention UEFI boot loading below, as I have no examples of BIOS
    boot loading . . .

    Step 7 ("efibootmgr -v" as a start):

    Can have the likes of:

    # efibootmgr -v
    BootCurrent: 0000

    That is from a Windows Dev Kit 2023.

    On a RPi5 booted via a draft/partial EDK2:

    # efibootmgr -v
    . . .
    +Boot0002* UEFI Timetec 35TTTN2242GE3P-1TB REDACTED 1
    dp: PcieRoot(0x1)/Pci(0x0,0x0)/Pci(0x0,0x0)/NVMe(0x1,62-82-62-54-17-4c-e0-00)
    opt/x: 0000: 4e ac 08 81 11 9f 59 4d 85 0e e2 1a 52 2c 59 b2
    opt/a: N%ac%08%81%11%9fYM%85%0e%e2%1aR,Y%b2
    attr: 0x1<ACTIVE,>
    categ: 0<BOOT>
    . . .

    (No file path displayed for the FreeBSD efi loader used.) Another one
    USB booted is similar:

    +Boot0002* UEFI JMicron TREBLEET REDACTED
    dp: VenHw(0d51905b-b77e-452a-a2c0-eca0cc8d514a,000030001f00000000)/USB(0x2,0x0)
    opt/x: 0000: 4e ac 08 81 11 9f 59 4d 85 0e e2 1a 52 2c 59 b2
    opt/a: N%ac%08%81%11%9fYM%85%0e%e2%1aR,Y%b2
    attr: 0x1<ACTIVE,>
    categ: 0<BOOT>
    --
    ===
    Mark Millard
    marklmi at yahoo.com


    --
    Posted automagically by a mail2news gateway at muc.de e.V.
    Please direct questions, flames, donations, etc. to news-admin@muc.de
    --- Synchronet 3.22a-Linux NewsLink 1.2
  • From Charles Sprickman@spork@bway.net to muc.lists.freebsd.stable on Tue Jun 16 13:13:10 2026
    From Newsgroup: muc.lists.freebsd.stable


    On Jun 16, 2026, at 9:17rC>AM, Patrick M. Hausen <hausen@punkt.de> wrote:

    Hi all,

    Am 16.06.2026 um 15:03 schrieb Wismos@proton.me:

    would be nice to link to/mention in announcement, like we previously used to do

    -------- Original Message --------
    On Tuesday, 06/16/26 at 16:55 Lexi Winter <ivy@freebsd.org> wrote:
    Patrick M. Hausen wrote in <67CF60AB-5011-4D25-A9FF-74B85CF31732@punkt.de>: >>> I looked for the answer in the announcement and in the release notes
    without success. Would someone be so kind to enlighten me?

    https://www.freebsd.org/releases/15.1R/upgrading/#upgrade-pkg

    The page hierarchy on the web site is a bit off.

    On the Release Information page https://www.freebsd.org/releases/ the line for 15.1 does
    not link the upgrading document.

    Neither is it linked when you click on 15.1 in the left hand menu to land at the announcement:

    https://www.freebsd.org/releases/15.1R/announce/

    Only when you manually visit https://www.freebsd.org/releases/15.1R/ will you get links
    to all relevant files.

    I suggest to link to that last page from the top level .../releases/ left hand menu instead of
    going directly to .../announce/.
    I had no idea a new website was in the works, but if anyone with some decision-making power there is listening, PLEASE bring back the front page links to current releases.
    And regarding this thread, a link to the handbook entry on what pkgbase is and how to use it would be nice on any release/upgrading related pages/errata.
    Thanks,
    Charles
    Kind regards,
    Patrick
    --
    punkt.de GmbH
    Patrick M. Hausen
    .infrastructure

    Sophienstr. 187
    76185 Karlsruhe

    Tel. +49 721 9109500

    https://infrastructure.punkt.de
    info@punkt.de

    AG Mannheim 108285
    Gesch|nftsf|+hrer: Daniel Lienert, Fabian Stein

    --
    Posted automagically by a mail2news gateway at muc.de e.V.
    Please direct questions, flames, donations, etc. to news-admin@muc.de
    --- Synchronet 3.22a-Linux NewsLink 1.2
  • From =?UTF-8?Q?Tam=C3=A1s_Nagy?=@nagymas@gmail.com to muc.lists.freebsd.stable on Wed Jun 17 10:06:06 2026
    From Newsgroup: muc.lists.freebsd.stable

    I am following the link "https://www.freebsd.org/releases/15.1R/upgrading/#upgrade-pkg", but
    the command "pkg -oABI=FreeBSD:15:$(uname -p) -oOSVERSION=1501000
    upgrade -r FreeBSD-base" is not working on my 15.0.

    1. The handbook does not say that "FreeBSD-base" must be enabled which
    is disabled by default. This is very confusing.
    2. Mike provided the steps to enable it in the chain above but it
    still does not work for me. It reports that "FreeBSD-base repository
    is up to date." "-oOSVERSION=1501000" has no effect.
    3. I managed to upgrade my Lenovo yesterday but I actually forced the
    minor version replacing ${VERSION_MINOR} with 1 and and used signature_type:"none".
    4. I am trying to do the right thing on my second install, can you help?


    On Tue, 16 Jun 2026 at 23:58, Mike Tancsa <mike@sentex.net> wrote:

    On 6/16/2026 9:03 AM, Wismos@proton.me wrote:
    would be nice to link to/mention in announcement, like we previously used to do

    -------- Original Message --------
    On Tuesday, 06/16/26 at 16:55 Lexi Winter <ivy@freebsd.org> wrote:
    Patrick M. Hausen wrote in <67CF60AB-5011-4D25-A9FF-74B85CF31732@punkt.de>:
    I looked for the answer in the announcement and in the release notes
    without success. Would someone be so kind to enlighten me?
    https://www.freebsd.org/releases/15.1R/upgrading/#upgrade-pkg

    I just tried this on my test VM and it worked without issue.

    bectl create -r pre-15.1
    pkg upgrade -yr FreeBSD-ports pkg
    pkg -oABI=FreeBSD:15:amd64 -oOSVERSION=1501000 upgrade -r FreeBSD-base
    find /etc /usr/local/etc -name '*.pkgnew' -ls


    cd /boot/efi/efi/boot/
    cp /boot/loader.efi bootx64.efi


    0{cage2}# freebsd-version
    15.1-RELEASE
    0{cage2}#


    cat /etc/pkg/FreeBSD.conf
    #
    # To disable a repository, instead of modifying or removing this file,
    # create a /usr/local/etc/pkg/repos/FreeBSD.conf file, e.g.:
    #
    # mkdir -p /usr/local/etc/pkg/repos
    # echo "FreeBSD-ports: { enabled: no }" > /usr/local/etc/pkg/repos/FreeBSD.conf
    # echo "FreeBSD-ports-kmods: { enabled: no }" >> /usr/local/etc/pkg/repos/FreeBSD.conf
    #
    # Note that the FreeBSD-base repository is disabled by default.
    #

    FreeBSD-ports: {
    url: "pkg+https://pkg.FreeBSD.org/${ABI}/latest",
    mirror_type: "srv",
    signature_type: "fingerprints",
    fingerprints: "/usr/share/keys/pkg",
    enabled: yes
    }
    FreeBSD-ports-kmods: {
    url: "pkg+https://pkg.FreeBSD.org/${ABI}/kmods_latest${VERSION_MINOR}",
    mirror_type: "srv",
    signature_type: "fingerprints",
    fingerprints: "/usr/share/keys/pkg",
    enabled: yes
    }
    FreeBSD-base: {
    url: "pkg+https://pkg.FreeBSD.org/${ABI}/base_release_${VERSION_MINOR}",
    mirror_type: "srv",
    signature_type: "fingerprints",
    fingerprints: "/usr/share/keys/pkgbase-${VERSION_MAJOR}",
    enabled: no
    }

    0{cage2}# cat /usr/local/etc/pkg/repos/*
    FreeBSD-ports-kmods: { enabled: no }
    FreeBSD-base: { enabled: yes }
    0{cage2}#

    ---Mike





    --
    Posted automagically by a mail2news gateway at muc.de e.V.
    Please direct questions, flames, donations, etc. to news-admin@muc.de
    --- Synchronet 3.22a-Linux NewsLink 1.2
  • From Lexi Winter@ivy@freebsd.org to muc.lists.freebsd.stable on Wed Jun 17 06:36:51 2026
    From Newsgroup: muc.lists.freebsd.stable


    --CtI6eEap+R+hJaSI
    Content-Type: text/plain; charset=iso-8859-1
    Content-Disposition: inline
    Content-Transfer-Encoding: quoted-printable

    Tam=E1s Nagy wrote in <CACyGuju_TdrjZRsxhxo3D1ui7OWvU01DPrNKzf2-SzGpSnE5Ag@= mail.gmail.com>:
    I am following the link "https://www.freebsd.org/releases/15.1R/upgrading/#upgrade-pkg", but
    the command "pkg -oABI=3DFreeBSD:15:$(uname -p) -oOSVERSION=3D1501000
    upgrade -r FreeBSD-base" is not working on my 15.0.
    =20
    1. The handbook does not say that "FreeBSD-base" must be enabled which
    is disabled by default. This is very confusing.

    if FreeBSD-base is not enabled, then you are not using pkgbase and
    should not follow the pkgbase upgrade instructions.

    (or you've somehow managed to install from pkgbase then disable the FreeBSD-base repository, but i don't know how that could happen.)

    --CtI6eEap+R+hJaSI
    Content-Type: application/pgp-signature; name=signature.asc

    -----BEGIN PGP SIGNATURE-----

    iHUEABYKAB0WIQSyjTg96lp3RifySyn1nT63mIK/YAUCajIybwAKCRD1nT63mIK/ YB/VAP9cFSoZZ/IBvzFx2d8gx4ErPVBGm1GWNh3fuh1YKFvgCgD+JgkEAs6FIj85 d0KtahFrL455qtpVp+WJOryR1Wh9vAA=
    =YLRi
    -----END PGP SIGNATURE-----

    --CtI6eEap+R+hJaSI--


    --
    Posted automagically by a mail2news gateway at muc.de e.V.
    Please direct questions, flames, donations, etc. to news-admin@muc.de
    --- Synchronet 3.22a-Linux NewsLink 1.2
  • From =?UTF-8?Q?Tam=C3=A1s_Nagy?=@nagymas@gmail.com to muc.lists.freebsd.stable on Wed Jun 17 16:02:59 2026
    From Newsgroup: muc.lists.freebsd.stable

    Hi Lexi,
    You are absolutely correct. This was my mistake. I relied on AI
    instead of checking the handbook and confused a pkgbase system with a distribution-set-based installation.
    Apologies for the noise.
    On Wed, 17 Jun 2026 at 15:36, Lexi Winter <ivy@freebsd.org> wrote:

    Tam|is Nagy wrote in <CACyGuju_TdrjZRsxhxo3D1ui7OWvU01DPrNKzf2-SzGpSnE5Ag@mail.gmail.com>:
    I am following the link "https://www.freebsd.org/releases/15.1R/upgrading/#upgrade-pkg", but
    the command "pkg -oABI=FreeBSD:15:$(uname -p) -oOSVERSION=1501000
    upgrade -r FreeBSD-base" is not working on my 15.0.

    1. The handbook does not say that "FreeBSD-base" must be enabled which
    is disabled by default. This is very confusing.

    if FreeBSD-base is not enabled, then you are not using pkgbase and
    should not follow the pkgbase upgrade instructions.

    (or you've somehow managed to install from pkgbase then disable the FreeBSD-base repository, but i don't know how that could happen.)
    --
    Posted automagically by a mail2news gateway at muc.de e.V.
    Please direct questions, flames, donations, etc. to news-admin@muc.de
    --- Synchronet 3.22a-Linux NewsLink 1.2