Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Apr 2026 14:17:44 +0200
From:      vermaden <vermaden@interia.pl>
To:        Anton Shterenlikht <lists@cmplx.uk>, pkgbase@freebsd.org
Subject:   Re: pkg upgrade -r FreeBSD-base minor version
Message-ID:  <9e448d77-82b9-4056-90bb-a15557621edd@interia.pl>
In-Reply-To: <aeiUJIKOV1Jyk2-Q@cmplx.uk>

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

[-- Attachment #1 --]
Hi,

can You try to update the repos with 'force' option like that:

# pkg update -f

... and then try again this one:

# pkg upgrade -r FreeBSD-base

Regards,

vermaden




On 4/22/26 11:25 AM, Anton Shterenlikht wrote:
> I'm new to pkgbase.
>
> I'm on 15.0-RELEASE-p4.
> Seems the latests 15.0 minor version is 6
> (at least that's what I see in security advisories),
> but how do I upgrade to it?
>
> My FreeBSD.conf is:
>
> # 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}/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: yes
> }
>
> I try to upgrade base like this:
>
> # pkg upgrade -r FreeBSD-base
> Updating FreeBSD-base repository catalogue...
> FreeBSD-base repository is up to date.
> FreeBSD-base is up to date.
> Checking for upgrades (1 candidates): 100%
> Processing candidates (1 candidates): 100%
> Checking integrity... done (0 conflicting)
> Your packages are up to date.
>
> But after that I'm still on p4, not p6.
>
> Is my FreeBSD.conf out of date?
>
> Thank you
>
> Anton
>
>
[-- Attachment #2 --]
<!DOCTYPE html>
<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p>Hi,</p>
    <p>can You try to update the repos with 'force' option like that:</p>
    <pre># pkg update -f</pre>
    <p>... and then try again this one:</p>
    <pre># pkg upgrade -r FreeBSD-base</pre>
    <p>Regards,</p>
    <p>vermaden</p>
    <p><br>
    </p>
    <p><br>
    </p>
    <p><br>
    </p>
    <div class="moz-cite-prefix">On 4/22/26 11:25 AM, Anton Shterenlikht
      wrote:<br>
    </div>
    <blockquote type="cite" cite="mid:aeiUJIKOV1Jyk2-Q@cmplx.uk">
      <pre wrap="" class="moz-quote-pre">I'm new to pkgbase.

I'm on 15.0-RELEASE-p4.
Seems the latests 15.0 minor version is 6
(at least that's what I see in security advisories),
but how do I upgrade to it?

My FreeBSD.conf is:

# 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 }" &gt; /usr/local/etc/pkg/repos/FreeBSD.conf
#   echo "FreeBSD-ports-kmods: { enabled: no }" &gt;&gt; /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}/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: yes
}

I try to upgrade base like this:

# pkg upgrade -r FreeBSD-base
Updating FreeBSD-base repository catalogue...
FreeBSD-base repository is up to date.
FreeBSD-base is up to date.
Checking for upgrades (1 candidates): 100%
Processing candidates (1 candidates): 100%
Checking integrity... done (0 conflicting)
Your packages are up to date.

But after that I'm still on p4, not p6.

Is my FreeBSD.conf out of date?

Thank you

Anton


</pre>
    </blockquote>
  </body>
</html>
home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9e448d77-82b9-4056-90bb-a15557621edd>