Re: FreeBSD 15.0-ALPHA3 Now Available
- Reply: Lexi Winter : "Re: FreeBSD 15.0-ALPHA3 Now Available"
- Reply: Graham Perrin : "(2522) pkg or pkg-static sqlite error, pkgdb.c:1206 (was: FreeBSD 15.0-ALPHA3 Now Available)"
- In reply to: Colin Percival : "Re: FreeBSD 15.0-ALPHA3 Now Available"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 23 Sep 2025 11:04:53 UTC
My experience may be useful:
I used pkg to upgrade from ALPHA2 to ALPHA3.
First i only successfully upgraded the kernel:
pkg install FreeBSD-kernel-generic
reboot
then:
pkg-static upgrade
failed with:
[190/520] Deleting files for FreeBSD-clang-15.0.a2.20250915072841: 78%
pkg-static: compat-libraries-20250923125253 conflicts with
compat-libraries-20250923125253 (installs files into the same place).
Problematic file: /usr/local/lib/compat/pkg/libclang_rt.asan-x86_64.so
[190/520] Deleting files for FreeBSD-clang-15.0.a2.20250915072841: 90%
pkg-static: compat-libraries-20250923125256 conflicts with
compat-libraries-20250923125256 (installs files into the same place).
Problematic file: /usr/local/lib/compat/pkg/libprivateclang.so.19
[190/520] Deleting files for FreeBSD-clang-15.0.a2.20250915072841: 93%
pkg-static: compat-libraries-20250923125259 conflicts with
compat-libraries-20250923125259 (installs files into the same place).
Problematic file: /usr/local/lib/compat/pkg/libprivatellvm.so.19
[190/520] Deleting files for FreeBSD-clang-15.0.a2.20250915072841: 100%
[191/520] Upgrading FreeBSD-libcompiler_rt-dev from 15.0.a2.20250915072841
to 15.0.a3.20250923101422...
pkg-static: sqlite error while executing BEGIN IMMEDIATE TRANSACTION in
file pkgdb.c:1206: cannot start a transaction within a transaction
A second pkg-static upgrade successfully finish with some warnings:
[1/328] Deleting files for FreeBSD-clang-15.0.a2.20250915072841: 78%
FreeBSD-clang-15.0.a2.20250915072841: missing file
/usr/lib/clang/19/lib/freebsd/libclang_rt.asan-i386.so
[1/328] Deleting files for FreeBSD-clang-15.0.a2.20250915072841: 81%
FreeBSD-clang-15.0.a2.20250915072841: missing file
/usr/lib/clang/19/lib/freebsd/libclang_rt.asan-x86_64.so
[1/328] Deleting files for FreeBSD-clang-15.0.a2.20250915072841: 84%
FreeBSD-clang-15.0.a2.20250915072841: missing file
/usr/lib/clang/19/share/asan_ignorelist.txt
[1/328] Deleting files for FreeBSD-clang-15.0.a2.20250915072841: 87%
FreeBSD-clang-15.0.a2.20250915072841: missing file
/usr/lib/clang/19/share/cfi_ignorelist.txt
[1/328] Deleting files for FreeBSD-clang-15.0.a2.20250915072841: 90%
FreeBSD-clang-15.0.a2.20250915072841: missing file
/usr/lib/clang/19/share/msan_ignorelist.txt
[1/328] Deleting files for FreeBSD-clang-15.0.a2.20250915072841: 93%
FreeBSD-clang-15.0.a2.20250915072841: missing file
/usr/lib/libprivateclang.so.19
[1/328] Deleting files for FreeBSD-clang-15.0.a2.20250915072841: 96%
FreeBSD-clang-15.0.a2.20250915072841: missing file
/usr/lib/libprivatellvm.so.19
[1/328] Deleting files for FreeBSD-clang-15.0.a2.20250915072841: 100%
pkg-static: unlinkat(usr/lib/clang/19/share): No such file or directory
And some packages left:
root# pkg info -x 15.0.a2
FreeBSD-libcompat-man-15.0.a2.20250915072841
FreeBSD-libufs-15.0.a2.20250915072841
FreeBSD-libufs-dev-15.0.a2.20250915072841
FreeBSD-libufs-dev-lib32-15.0.a2.20250915072841
FreeBSD-libufs-lib32-15.0.a2.20250915072841
And I can't delete libufs package because of dependencies:
root# pkg delete FreeBSD-libufs
Checking integrity... done (0 conflicting)
Deinstallation has been requested for the following 65 packages (of 0
packages in the universe):
Installed packages to be REMOVED:
FreeBSD-bsdinstall: 15.0.a3.20250923101422
FreeBSD-bsnmp: 15.0.a3.20250923101422
FreeBSD-bsnmp-dev: 15.0.a3.20250923101422
FreeBSD-bsnmp-dev-lib32: 15.0.a3.20250923101422
FreeBSD-bsnmp-lib32: 15.0.a3.20250923101422
......
Le lun. 22 sept. 2025 à 22:53, Colin Percival <cperciva@freebsd.org> a
écrit :
> On 9/21/25 22:05, Colin Percival wrote:
> > === Upgrading ===
> >
> > Upgrading to 15.0-ALPHA3 is not yet possible using freebsd-update, but
> it is
> > anticipated to become possible shortly. Users intending to test this are
> > encouraged to ensure they have good backups and carefully examine the
> output
> > of "freebsd-update upgrade" to ensure that it is working as intended, as
> this
> > has (at the time this announcement is being written) not yet been tested.
>
> DO NOT USE FREEBSD-UPDATE TO UPGRADE TO 15.0-ALPHA3.
>
> It will break your system by installing a new libc before it installs
> libsys.
>
> We'll fix freebsd-update to install libraries in the right order but until
> that patch (and resulting Errata Notice) comes out this isn't going to
> work.
>
> -- Colin Percival
> FreeBSD Release Engineering Lead & EC2 platform maintainer
> Founder, Tarsnap | www.tarsnap.com | Online backups for the truly paranoid
>
>
>