Bug 290238 - pkgbase: BETA1 bootonly.iso installs 15.0-STABLE 1500500 w/[Packages (Experimental)]
Summary: pkgbase: BETA1 bootonly.iso installs 15.0-STABLE 1500500 w/[Packages (Experim...
Status: Closed FIXED
Alias: None
Product: Base System
Classification: Unclassified
Component: misc (show other bugs)
Version: 15.0-STABLE
Hardware: amd64 Any
: --- Affects Some People
Assignee: freebsd-bugs (Nobody)
URL: https://reviews.freebsd.org/D53214
Keywords:
Depends on:
Blocks:
 
Reported: 2025-10-14 19:23 UTC by Paul Telles (Starcat)
Modified: 2025-10-22 20:22 UTC (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Paul Telles (Starcat) 2025-10-14 19:23:06 UTC
I downloaded https://download.freebsd.org/releases/amd64/amd64/ISO-IMAGES/15.0/FreeBSD-15.0-BETA1-amd64-bootonly.iso and the checksum is correct, however, it is not in fact FreeBSD 15.0-BETA1.

# uname -a
FreeBSD skulltrail 15.0-STABLE FreeBSD 15.0-STABLE stable/15-n280665-6eb4708a84d7 GENERIC amd64
# uname -KrU
15.0-STABLE 1500500 1500500
# pkg -vv | sed -nE -e '/(OSVERSION|ABI)/ p' -e '/^Repositories:/,$ p'
IGNORE_OSVERSION = false;
ABI = "FreeBSD:15:amd64";
ALTABI = "freebsd:15:x86:64";
OSVERSION = "1500500";
Repositories:
  FreeBSD-ports: {
    url             : "pkg+https://pkg.FreeBSD.org/FreeBSD:15:amd64/latest",
    enabled         : yes,
    priority        : 0,
    mirror_type     : "SRV",
    signature_type  : "FINGERPRINTS",
    fingerprints    : "/usr/share/keys/pkg"
  }
  FreeBSD-ports-kmods: {
    url             : "pkg+https://pkg.FreeBSD.org/FreeBSD:15:amd64/kmods_latest",
    enabled         : yes,
    priority        : 0,
    mirror_type     : "SRV",
    signature_type  : "FINGERPRINTS",
    fingerprints    : "/usr/share/keys/pkg"
  }
  FreeBSD-base: {
    url             : "pkg+https://pkg.FreeBSD.org/FreeBSD:15:amd64/base_latest",
    enabled         : yes,
    priority        : 0,
    mirror_type     : "SRV",
    signature_type  : "FINGERPRINTS",
    fingerprints    : "/usr/share/keys/pkg"
  }
#

So I created a /usr/local/etc/pkg/repos/FreeBSD.conf file:
FreeBSD: { enabled: NO }

FreeBSD-base: {
  url: "pkg+https://pkg.freebsd.org/${ABI}/base_release_0",
  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_0",
  mirror_type: "srv",
  signature_type: "fingerprints",
  fingerprints: "/usr/share/keys/pkg",
  enabled: yes
}

FreeBSD-ports: {
  url: "pkg+https://pkg.freebsd.org/${ABI}/latest",
  mirror_type: "srv",
  signature_type: "fingerprints",
  fingerprints: "/usr/share/keys/pkg",
  enabled: yes
}

After running pkg upgrade and restarting the system, I now appear to be running BETA1:
# uname -KrU
15.0-BETA1 1500067 1500067
#
Comment 1 devnull freebsd_committer freebsd_triage 2025-10-14 23:54:18 UTC
Thanks for testing. 

<https://www.reddit.com/r/freebsd/comments/1o4i1a0/comment/njdrcdi/?context=1> may be of interest, 

> The release engineering team's pkgbase repositories aren't up yet, 
> so people are hitting the "nightly build" repositories. Those 
> probably hadn't updated since I marked the tree as "BETA1".
> 
> This will all be solved once I get pkgbase.freebsd.org online.

Also, from <https://www.reddit.com/r/freebsd/comments/1o4i1a0/comment/njj8bz3/?context=3>: 

> … an end result is probably not what's wanted by the majority of users of 
> RELEASE. …

<https://old.reddit.com/r/freebsd/comments/1o4i1a0/freebsd_150beta1_now_available/> and both threads are in the Wayback Machine.
Comment 2 Paul Telles (Starcat) 2025-10-15 14:00:31 UTC
Thank you for the information, but this isn't a repo issue. The ISO image was is labeled as BETA1 when clearly it is not. BETA1 is 1500067 and the ISO is 1500500, If I'm not mistaken, 1500500 is ALPHA5.
Comment 3 Ed Maste freebsd_committer freebsd_triage 2025-10-15 18:37:34 UTC
I just downloaded bootonly.iso from the URL in comment #1 and uname -KrU reports
15.0-BETA1 1500067 1500067
Comment 4 Paul Telles (Starcat) 2025-10-16 03:02:10 UTC
(In reply to Ed Maste from comment #3)
I reinstalled again from the BETA1 media. I left the optical disc in the drive so that I could generate a checksum of the media without question upon first boot from
the SSD:
ptelles@fedora:~/Skulltrail$ ssh root@192.168.0.88
The authenticity of host '192.168.0.88 (192.168.0.88)' can't be established.
ED25519 key fingerprint is SHA256:A3s9G2vX1kW4YCDufr9RcdDXmwzdvGpcXa3bFRO3G9k.
This key is not known by any other names.
Are you sure you want to continue connecting (yes/no/[fingerprint])? yes
Warning: Permanently added '192.168.0.88' (ED25519) to the list of known hosts.
(root@192.168.0.88) Password for root@skulltrail:
Last login: Wed Oct 15 21:32:44 2025
FreeBSD 15.0-STABLE (GENERIC) stable/15-n280665-6eb4708a84d7

Welcome to FreeBSD!

Release Notes, Errata: https://www.FreeBSD.org/releases/
Security Advisories:   https://www.FreeBSD.org/security/
FreeBSD Handbook:      https://www.FreeBSD.org/handbook/
FreeBSD FAQ:           https://www.FreeBSD.org/faq/
Questions List:        https://www.FreeBSD.org/lists/questions/
FreeBSD Forums:        https://forums.FreeBSD.org/

Documents installed with the system are in the /usr/local/share/doc/freebsd/
directory, or can be installed later with:  pkg install en-freebsd-doc
For other languages, replace "en" with a language code like de or fr.

Show the version of FreeBSD installed:  freebsd-version ; uname -a
Please include that output and any error messages when posting questions.
Introduction to manual pages:  man man
FreeBSD directory layout:      man hier

To change this login announcement, see motd(5).
root@skulltrail:~ # dd if=/dev/cd0 bs=2048 count=270657 | sha512sum
270657+0 records in
270657+0 records out
554305536 bytes transferred in 162.540620 secs (3410259 bytes/sec)
50659ef105c836015be9a09c5bafbcf81e6d13c4fd0484fbf8bba7b56a78d1339c1e612e41555c4e122337000903e66eb47f2b75e3fc012286ba192edfeca806  -
root@skulltrail:~ # uname -KrU
15.0-STABLE 1500500 1500500
root@skulltrail:~ #

According to the BETA1 release announcement:
https://lists.freebsd.org/archives/freebsd-stable/2025-October/003383.html

The SHA512 checksum matches FreeBSD-15.0-BETA1-amd64-bootonly.iso
Comment 5 Paul Telles (Starcat) 2025-10-16 03:15:48 UTC
(In reply to Ed Maste from comment #3)
For that matter, my original download also matches the SHA512 checksum in the BETA1 release announcement:
ptelles@fedora:~/Downloads$ uname -a
Linux fedora 6.11.10-200.fc40.x86_64 #1 SMP PREEMPT_DYNAMIC Sat Nov 23 00:53:13 UTC 2024 x86_64 GNU/Linux
ptelles@fedora:~/Downloads$ ls -l FreeBSD-15.0-BETA1-amd64-bootonly.iso
-rw-r--r--. 1 ptelles ptelles 554305536 Oct 14 08:27 FreeBSD-15.0-BETA1-amd64-bootonly.iso
ptelles@fedora:~/Downloads$ sha512sum FreeBSD-15.0-BETA1-amd64-bootonly.iso
50659ef105c836015be9a09c5bafbcf81e6d13c4fd0484fbf8bba7b56a78d1339c1e612e41555c4e122337000903e66eb47f2b75e3fc012286ba192edfeca806  FreeBSD-15.0-BETA1-amd64-bootonly.iso
ptelles@fedora:~/Downloads$
Comment 6 Paul Telles (Starcat) 2025-10-16 22:37:06 UTC
(In reply to Ed Maste from comment #3)
So I decided to boot off the BETA1 media in question and when the FreeBSD Installer Welcome screen appeared, I selected 'Shell' instead of 'Install' to see what release the Installer is using:
# uname -a
FreeBSD  15.0-BETA1 FreeBSD 15.0-BETA1 releng/15.0-n280655-36a923a476dc GENERIC amd64
# cat /var/run/os-release
NAME=FreeBSD
VERSION="15.0-BETA1"
VERSION_ID="15.0"
ID=freebsd
ANSI_COLOR="0;31"
PRETTY_NAME="FreeBSD 15.0-BETA1"
CPE_NAME="cpe:/o:freebsd:freebsd:15.0"
HOME_URL="https://FreeBSD.org/"
BUG_REPORT_URL="https://bugs.FreeBSD.org/"
# uname -KrU
15.0-BETA1 1500067 1500067

It's perhaps important to note that during the two installation attempts documented in this PR, when prompted to select the Installation Type, I have always selected '[Packages (Experimental)]'.
Comment 7 Paul Telles (Starcat) 2025-10-16 22:55:14 UTC
I just installed using the 'Traditional' Installation Type instead and it installed BETA1:
# uname -KrU
15.0-BETA1 1500067 1500067

So the determining factor is the installation type.
Comment 8 Ed Maste freebsd_committer freebsd_triage 2025-10-20 13:13:02 UTC
bsdinstall's Makefile does not have logic to map BETA* and RC* to release images. I've posted a straightforward change to address this in https://reviews.freebsd.org/D53214.
Comment 9 commit-hook freebsd_committer freebsd_triage 2025-10-20 13:30:59 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/src/commit/?id=b0c64ce0ea51dc9774ddb972d28a5cfaeb34465d

commit b0c64ce0ea51dc9774ddb972d28a5cfaeb34465d
Author:     Ed Maste <emaste@FreeBSD.org>
AuthorDate: 2025-10-20 12:38:03 +0000
Commit:     Ed Maste <emaste@FreeBSD.org>
CommitDate: 2025-10-20 13:28:49 +0000

    bsdinstall: Use pkgbase release URL for BETA/RC

    PR:             290238
    Reviewed by:    ivy
    Sponsored by:   The FreeBSD Foundation
    Differential Revision: https://reviews.freebsd.org/D53214

 usr.sbin/bsdinstall/Makefile | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
Comment 10 commit-hook freebsd_committer freebsd_triage 2025-10-22 12:41:14 UTC
A commit in branch stable/15 references this bug:

URL: https://cgit.FreeBSD.org/src/commit/?id=604b6458f3f327206a56da7ba80c2df7965a0761

commit 604b6458f3f327206a56da7ba80c2df7965a0761
Author:     Ed Maste <emaste@FreeBSD.org>
AuthorDate: 2025-10-20 12:38:03 +0000
Commit:     Ed Maste <emaste@FreeBSD.org>
CommitDate: 2025-10-22 12:40:21 +0000

    bsdinstall: Use pkgbase release URL for BETA/RC

    PR:             290238
    Reviewed by:    ivy
    Sponsored by:   The FreeBSD Foundation
    Differential Revision: https://reviews.freebsd.org/D53214

 usr.sbin/bsdinstall/Makefile | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
Comment 11 commit-hook freebsd_committer freebsd_triage 2025-10-22 20:15:55 UTC
A commit in branch releng/15.0 references this bug:

URL: https://cgit.FreeBSD.org/src/commit/?id=90cbdfa9dda1d66d12220dac392a7e49e304abd2

commit 90cbdfa9dda1d66d12220dac392a7e49e304abd2
Author:     Ed Maste <emaste@FreeBSD.org>
AuthorDate: 2025-10-20 12:38:03 +0000
Commit:     Colin Percival <cperciva@FreeBSD.org>
CommitDate: 2025-10-22 20:12:15 +0000

    bsdinstall: Use pkgbase release URL for BETA/RC

    Approved by:    re (cperciva)
    PR:             290238
    Reviewed by:    ivy
    Sponsored by:   The FreeBSD Foundation
    Differential Revision: https://reviews.freebsd.org/D53214

    (cherry picked from commit 604b6458f3f327206a56da7ba80c2df7965a0761)

 usr.sbin/bsdinstall/Makefile | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
Comment 12 Ed Maste freebsd_committer freebsd_triage 2025-10-22 20:22:16 UTC
This is now fixed for BETA3, although it will still give you the latest of the release series (i.e., the BETA3 installer would install BETA4 packages when they exist, if things proceed as is).

The change referenced above will be revisited once per-BETA/RC/release artifact sets are available.