Effective February 22, 2024, Google Groups will no longer support new Usenet content. Posting and subscribing will be disallowed, and new content from Usenet peers will not appear. Viewing and searching of historical data will still be supported as it is done today.

FreeBSD Errata Notice FreeBSD-EN-23:19.pkgbase

1 view
Skip to first unread message

FreeBSD Errata Notices

Dec 5, 2023, 6:00:15 PM12/5/23
Hash: SHA512

FreeBSD-EN-23:19.pkgbase Errata Notice
The FreeBSD Project

Topic: Incorrect pkgbase version number for FreeBSD 14.0

Category: core
Module: bin
Announced: 2023-12-05
Affects: FreeBSD 14.0
Corrected: 2023-11-16 08:19:08 UTC (stable/14, 14.0-STABLE)
2023-12-05 18:27:36 UTC (releng/14.0, 14.0-RELEASE-p2)

For general information regarding FreeBSD Errata Notices and Security
Advisories, including descriptions of the fields above, security
branches, and the following sections, please visit

I. Background

In addition to the traditional release artifacts (such as base.txz), the base
system is also packaged into a few hundred packages installable with pkg(8)
as part of the experimental pkgbase project.

II. Problem Description

The pkgbase package versions for 14.0-RELEASE packages are set to "14"
instead of "14.0". This differs from earlier releases, for instance the
latest pkgbase version number for releng/13.2 is "13.2p5".

III. Impact

Using package versions without the minor version will cause package version
conflicts in the future for FreeBSD 14.1 and later.

IV. Workaround

No workaround is available. This problem only affects systems using the
experimental pkgbase package sets.

V. Solution

Upgrade your system to a supported FreeBSD stable or release / security
branch (releng) dated after the correction date. No reboot is required.
If pkgbase is not in use on your system, no action is required.

Perform one of the following:

1) To update your system via a binary patch:

Systems using pkgbase can be updated via the pkg(8) utility.

# pkg update -r FreeBSD-base
# pkg upgrade -r FreeBSD-base

2) To update your system via a source code patch:

The following patches have been verified to apply to the applicable FreeBSD
release branches. Note that since this issue mainly affects people that
build pkgbase packages locally, consumers of pkbbase (i.e users that have
installed experimental pkgbase packages should update using pkg(8) as
described above.

a) Download the relevant patch from the location below, and verify the
detached PGP signature using your PGP utility.

# fetch https://security.FreeBSD.org/patches/EN-23:19/pkgbase.patch
# fetch https://security.FreeBSD.org/patches/EN-23:19/pkgbase.patch.asc
# gpg --verify pkgbase.patch.asc

b) Apply the patch. Execute the following commands as root:

# cd /usr/src
# patch < /path/to/patch

c) Recompile the operating system using buildworld and buildkernel and create
a package set with correct version numbers using 'make packages'

VI. Correction details

This issue is corrected by the corresponding Git commit hash or Subversion
revision number in the following stable and release branches:

Branch/path Hash Revision
- -------------------------------------------------------------------------
stable/14/ da7e9601a99a stable/14-n265735
releng/14.0/ ad3edd66d15e releng/14.0-n265390
- -------------------------------------------------------------------------

Run the following command to see which files were modified by a
particular commit:

# git show --stat <commit hash>

Or visit the following URL, replacing NNNNNN with the hash:


To determine the commit count in a working tree (for comparison against
nNNNNNN in the table above), run:

# git rev-list --count --first-parent HEAD

VII. References


The latest revision of this advisory is available at


Reply all
Reply to author
0 new messages