[Bug 289631] Repo name handling in /usr/local/etc/pkg/repos/FreeBSD.conf following a major upgrade with pkgbase
Date: Mon, 15 Sep 2025 19:44:01 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=289631
Bug ID: 289631
Summary: Repo name handling in
/usr/local/etc/pkg/repos/FreeBSD.conf following a
major upgrade with pkgbase
Product: Base System
Version: 15.0-STABLE
Hardware: Any
OS: Any
Status: New
Severity: Affects Some People
Priority: ---
Component: conf
Assignee: bugs@FreeBSD.org
Reporter: grahamperrin@gmail.com
Created attachment 263831
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=263831&action=edit
A typescript file with output from 'pkg repos -e' following the successful
major upgrade
1. Perform a minimal installation of 14.3-RELEASE
2. use pkgbasify to convert
3. create /usr/local/etc/pkg/repos/FreeBSD.conf with two overrides:
latest for FreeBSD
kmods_latest for FreeBSD-kmods
4. prepare /usr/local/etc/pkg/repos/FreeBSD-base.conf for a major upgrade:
base_latest
5. upgrade pkg from 2.2.2 to 2.3.1 then lock it
6. perform a major upgrade of FreeBSD-kernel-generic then restart the OS
7. perform a major upgrade (not specific to any package)
8. pkg update
Result:
- failure for two of five repos, the two that have legacy names.
From the attached file:
----
FreeBSD: {
url : "pkg+https://pkg.FreeBSD.org/FreeBSD:15:amd64/latest",
enabled : yes,
priority : 0
}
FreeBSD-kmods: {
url :
"pkg+https://pkg.FreeBSD.org/FreeBSD:15:amd64/kmods_latest",
enabled : yes,
priority : 0
}
--
You are receiving this mail because:
You are the assignee for the bug.