Re: pkg upgrade -r FreeBSD-base minor version
- Reply: Anton Shterenlikht : "Re: pkg upgrade -r FreeBSD-base minor version"
- In reply to: Anton Shterenlikht : "pkg upgrade -r FreeBSD-base minor version"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 22 Apr 2026 12:17:44 UTC
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
>
>