• Upgrade from 14.3 to 15

    From Jeff Lloyd@lloydjbl@gmail.com to muc.lists.freebsd.stable on Mon Dec 8 16:09:00 2025
    From Newsgroup: muc.lists.freebsd.stable

    --00000000000003550b0645773574
    Content-Type: text/plain; charset="UTF-8"

    During the upgrade, I adjusted the FreeBSD.conf file to the recommended
    setting put forward by the upgrade process.

    Now when I trying to update pkg or to re-install apps, I get multiple error lines like this:
    pkg: packagesite URL error for pkg+ http://pkg.FreeBSD.org/FreeBSD:14:amd64/latest/data.pkg -- pkg+:// implies
    SRV mirror type
    Unable to update repository FreeBSD-kmods
    Error updating repositories!

    Tried to find the updated .conf file in /usr/local/etc/pkg/repos, am told
    that directory doesn't exist.

    I put the following FreeBSD.conf file in the /usr/local/etc/ directory, but
    to no avail. At a bit of a loss.

    # 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.
    #
    # url: "pkg+http://pkg.FreeBSD.org/${ABI}/latest",
    FreeBSD-ports: {
    url: "pkg+https://pkg.FreeBSD.org/${ABI}/quarterly",
    mirror_type: "srv",
    signature_type: "fingerprints",
    fingerprints: "/usr/share/keys/pkg",
    enabled: yes
    }
    FreeBSD-ports-kmods: {
    url: "pkg+https://pkg.FreeBSD.org/${ABI}/kmods_quarterly_${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

    Grateful for anything I am missing here. Thank you all.

    --00000000000003550b0645773574
    Content-Type: text/html; charset="UTF-8"
    Content-Transfer-Encoding: quoted-printable

    <div dir=3D"ltr">During the upgrade, I adjusted the FreeBSD.conf file to th=
    e recommended setting put forward by the upgrade process.<div><br></div><di= v>Now when I trying to update pkg or to re-install apps, I get multiple err=
    or lines like this:</div><div>pkg: packagesite URL error for pkg+<a href=3D= "http://pkg.FreeBSD.org/FreeBSD:14:amd64/latest/data.pkg">http://pkg.FreeBS= D.org/FreeBSD:14:amd64/latest/data.pkg</a> -- pkg+:// implies SRV mirror ty= pe<br></div><div>Unable to update repository FreeBSD-kmods<br>Error updatin=
    g repositories!<br></div><div><br></div><div>Tried to find the updated .con=
    f file in=C2=A0/usr/local/etc/pkg/repos, am told that directory doesn&#39;t=
    exist.</div><div><br></div><div>I put the following=C2=A0FreeBSD.conf file=
    in the=C2=A0/usr/local/etc/ directory, but to no avail.=C2=A0 At a bit of =
    a loss.</div><div><br></div><div># To disable a repository, instead of modi= fying or removing this file,<br># create a /usr/local/etc/pkg/repos/FreeBSD= .conf file, e.g.:<br>#<br># =C2=A0 mkdir -p /usr/local/etc/pkg/repos<br># = =C2=A0 echo &quot;FreeBSD-ports: { enabled: no }&quot; &gt; /usr/local/etc/= pkg/repos/FreeBSD.conf<br># =C2=A0 echo &quot;FreeBSD-ports-kmods: { enable=
    d: no }&quot; &gt;&gt; /usr/local/etc/pkg/repos/FreeBSD.conf<br>#<br># Note=
    that the FreeBSD-base repository is disabled by default.<br>#<br># =C2=A0u= rl: &quot;pkg+<a href=3D"http://pkg.FreeBSD.org/${ABI}/latest">http://pkg.F= reeBSD.org/${ABI}/latest</a>&quot;,<br>FreeBSD-ports: {<br>=C2=A0 url: &quo= t;pkg+<a href=3D"https://pkg.FreeBSD.org/${ABI}/quarterly">https://pkg.Free= BSD.org/${ABI}/quarterly</a>&quot;,<br>=C2=A0 mirror_type: &quot;srv&quot;,= <br>=C2=A0 signature_type: &quot;fingerprints&quot;,<br>=C2=A0 fingerprints=
    : &quot;/usr/share/keys/pkg&quot;,<br>=C2=A0 enabled: yes<br>}<br>FreeBSD-p= orts-kmods: {<br>=C2=A0 url: &quot;pkg+<a href=3D"https://pkg.FreeBSD.org/$= {ABI}/kmods_quarterly_${VERSION_MINOR}">https://pkg.FreeBSD.org/${ABI}/kmod= s_quarterly_${VERSION_MINOR}</a>&quot;,<br>=C2=A0 mirror_type: &quot;srv&qu= ot;,<br>=C2=A0 signature_type: &quot;fingerprints&quot;,<br>=C2=A0 fingerpr= ints: &quot;/usr/share/keys/pkg&quot;,<br>=C2=A0 enabled: yes<br>}<br>FreeB= SD-base: {<br>=C2=A0 url: &quot;pkg+<a href=3D"https://pkg.FreeBSD.org/${AB= I}/base_release_${VERSION_MINOR}">https://pkg.FreeBSD.org/${ABI}/base_relea= se_${VERSION_MINOR}</a>&quot;,<br>=C2=A0 mirror_type: &quot;srv&quot;,<br>= =C2=A0 signature_type: &quot;fingerprints&quot;,<br>=C2=A0 fingerprints: &q= uot;/usr/share/keys/pkgbase-${VERSION_MAJOR}&quot;,<br>=C2=A0 enabled: no</= div><div><br></div><div>Grateful for anything I am missing here.=C2=A0 Than=
    k you all.</div><div><br></div></div>

    --00000000000003550b0645773574--


    --
    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 Lexi Winter@ivy@freebsd.org to muc.lists.freebsd.stable on Tue Dec 9 15:33:16 2025
    From Newsgroup: muc.lists.freebsd.stable


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

    Jeff Lloyd wrote in <CAFzDrHLaqEtXJ35TFPFH77f9rrsMT4sfxUd45HhzC1Da2rXOtg@mail.gmail.com>:
    Now when I trying to update pkg or to re-install apps, I get multiple error lines like this:
    pkg: packagesite URL error for pkg+ http://pkg.FreeBSD.org/FreeBSD:14:amd64/latest/data.pkg -- pkg+:// implies SRV mirror type
    Unable to update repository FreeBSD-kmods
    Error updating repositories!

    this is usually caused by trying to override the URL for a repository
    that doesn't exist. in this case, "FreeBSD-kmods" has been renamed to "FreeBSD-ports-kmods" in /etc/pkg/FreeBSD.conf; you probably have a
    stale override in /usr/local/etc/pkg/repos for "FreeBSD-kmods".

    the fix is to change your override to refer to "FreeBSD-ports-kmods"
    instead -- but you should probably also look at why it's trying to
    install FreeBSD 14 packages.

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

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

    iHUEABYKAB0WIQSyjTg96lp3RifySyn1nT63mIK/YAUCaThBOQAKCRD1nT63mIK/ YKe/AP9QA4v2WewY/vsTj+9BskRVQ1M44+RBJWBxSG3tRmMUJgD9GoIjJ3y9WJgO svwmK1BdtQXmg5ZTMlEa1mQaerltPgk=
    =92ui
    -----END PGP SIGNATURE-----

    --VdM8yTSh81H3eEk1--


    --
    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 Jeff Lloyd@lloydjbl@gmail.com to muc.lists.freebsd.stable on Tue Dec 9 11:20:01 2025
    From Newsgroup: muc.lists.freebsd.stable

    --000000000000404cde064587496d
    Content-Type: text/plain; charset="UTF-8"
    Content-Transfer-Encoding: quoted-printable

    Thanks for everyone's feedback!

    On Tue, Dec 9, 2025 at 10:34=E2=80=AFAM Lexi Winter <ivy@freebsd.org> wrote=
    :

    Jeff Lloyd wrote in < CAFzDrHLaqEtXJ35TFPFH77f9rrsMT4sfxUd45HhzC1Da2rXOtg@mail.gmail.com>:
    Now when I trying to update pkg or to re-install apps, I get multiple
    error
    lines like this:
    pkg: packagesite URL error for pkg+ http://pkg.FreeBSD.org/FreeBSD:14:amd64/latest/data.pkg -- pkg+://
    implies
    SRV mirror type
    Unable to update repository FreeBSD-kmods
    Error updating repositories!

    this is usually caused by trying to override the URL for a repository
    that doesn't exist. in this case, "FreeBSD-kmods" has been renamed to "FreeBSD-ports-kmods" in /etc/pkg/FreeBSD.conf; you probably have a
    stale override in /usr/local/etc/pkg/repos for "FreeBSD-kmods".

    the fix is to change your override to refer to "FreeBSD-ports-kmods"
    instead -- but you should probably also look at why it's trying to
    install FreeBSD 14 packages.


    --000000000000404cde064587496d
    Content-Type: text/html; charset="UTF-8"
    Content-Transfer-Encoding: quoted-printable

    <div dir=3D"ltr">Thanks for everyone&#39;s feedback!</div><br><div class=3D= "gmail_quote gmail_quote_container"><div dir=3D"ltr" class=3D"gmail_attr">O=
    n Tue, Dec 9, 2025 at 10:34=E2=80=AFAM Lexi Winter &lt;<a href=3D"mailto:iv= y@freebsd.org">ivy@freebsd.org</a>&gt; wrote:<br></div><blockquote class=3D= "gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(2= 04,204,204);padding-left:1ex">Jeff Lloyd wrote in &lt;<a href=3D"mailto:CAF= zDrHLaqEtXJ35TFPFH77f9rrsMT4sfxUd45HhzC1Da2rXOtg@mail.gmail.com" target=3D"= _blank">CAFzDrHLaqEtXJ35TFPFH77f9rrsMT4sfxUd45HhzC1Da2rXOtg@mail.gmail.com<= /a>&gt;:<br>
    &gt; Now when I trying to update pkg or to re-install apps, I get multiple = error<br>
    &gt; lines like this:<br>
    &gt; pkg: packagesite URL error for pkg+<br>
    &gt; <a href=3D"http://pkg.FreeBSD.org/FreeBSD:14:amd64/latest/data.pkg" re= l=3D"noreferrer" target=3D"_blank">http://pkg.FreeBSD.org/FreeBSD:14:amd64/= latest/data.pkg</a> -- pkg+:// implies<br>
    &gt; SRV mirror type<br>
    &gt; Unable to update repository FreeBSD-kmods<br>
    &gt; Error updating repositories!<br>

    this is usually caused by trying to override the URL for a repository<br>
    that doesn&#39;t exist.=C2=A0 in this case, &quot;FreeBSD-kmods&quot; has b= een renamed to<br>
    &quot;FreeBSD-ports-kmods&quot; in /etc/pkg/FreeBSD.conf; you probably have=
    a<br>
    stale override in /usr/local/etc/pkg/repos for &quot;FreeBSD-kmods&quot;.<b=


    the fix is to change your override to refer to &quot;FreeBSD-ports-kmods&qu= ot;<br>
    instead -- but you should probably also look at why it&#39;s trying to<br> install FreeBSD 14 packages.<br>
    </blockquote></div>

    --000000000000404cde064587496d--


    --
    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