• pkg upgrade segfaults on 15-STABLE

    From Ricardo Branco@rbranco@suse.com to muc.lists.freebsd.stable on Sat Nov 8 14:07:26 2025
    From Newsgroup: muc.lists.freebsd.stable

    --000000000000706e80064314fb65
    Content-Type: text/plain; charset="UTF-8"

    $ pkg --version
    2.3.1

    # pkg upgrade
    ...
    [1/7] Upgrading FreeBSD-utilities from 15.snap20251105170707 to 15.snap20251107233400...
    [1/7] Extracting FreeBSD-utilities-15.snap20251107233400: 0%Child process pid=51001 terminated abnormally: Segmentation fault

    I then tried with pkg-static and got the same error.

    # gdb /usr/local/sbin/pkg-static pkg-static.core
    Reading symbols from /usr/local/sbin/pkg-static...
    [New LWP 101133]
    Core was generated by `pkg-static upgrade'.
    Program terminated with signal SIGSEGV, Segmentation fault.
    Address not mapped to object.
    #0 strcmp_baseline () at /usr/src/lib/libc/amd64/string/strcmp.S:136
    136 movdqu (%rsi, %rdx, 1), %xmm4
    (gdb) bt full
    #0 strcmp_baseline () at /usr/src/lib/libc/amd64/string/strcmp.S:136
    No locals.
    #1 0x00000000006bc5cc in create_regfile ()
    No symbol table info available.
    #2 0x00000000006be317 in do_extract_regfile ()
    No symbol table info available.
    #3 0x00000000006bd870 in do_extract ()
    No symbol table info available.
    #4 0x00000000006ba771 in pkg_add_common ()
    No symbol table info available.
    #5 0x000000000070cf40 in pkg_jobs_execute ()
    No symbol table info available.
    #6 0x00000000005092e2 in exec_upgrade ()
    No symbol table info available.
    #7 0x0000000000501bef in main ()
    No symbol table info available.

    I compiled and installed the latest pkg from ports (2.4.2) and could
    upgrade but got:

    [1/2] Upgrading FreeBSD-runtime from 15.snap20251105215539 to 15.snap20251106170756...
    [1/2] Extracting FreeBSD-runtime-15.snap20251106170756: 6%
    pkg: 3way merge: no checksum for the original local file
    [1/2] Extracting FreeBSD-runtime-15.snap20251106170756: 7%
    pkg: 3way merge: no checksum for the original local file
    [1/2] Extracting FreeBSD-runtime-15.snap20251106170756: 7%
    pkg: 3way merge: no checksum for the original local file
    [1/2] Extracting FreeBSD-runtime-15.snap20251106170756: 7%
    pkg: 3way merge: no checksum for the original local file
    [1/2] Extracting FreeBSD-runtime-15.snap20251106170756: 7%
    pkg: 3way merge: no checksum for the original local file
    [1/2] Extracting FreeBSD-runtime-15.snap20251106170756: 7%
    pkg: 3way merge: no checksum for the original local file
    [1/2] Extracting FreeBSD-runtime-15.snap20251106170756: 8%
    pkg: 3way merge: no checksum for the original local file
    [1/2] Extracting FreeBSD-runtime-15.snap20251106170756: 8%
    pkg: 3way merge: no checksum for the original local file
    [1/2] Extracting FreeBSD-runtime-15.snap20251106170756: 8%
    pkg: 3way merge: no checksum for the original local file
    [1/2] Extracting FreeBSD-runtime-15.snap20251106170756: 8%
    pkg: 3way merge: no checksum for the original local file
    [1/2] Extracting FreeBSD-runtime-15.snap20251106170756: 8%
    pkg: 3way merge: no checksum for the original local file
    [1/2] Extracting FreeBSD-runtime-15.snap20251106170756: 8%
    pkg: 3way merge: no checksum for the original local file
    [1/2] Extracting FreeBSD-runtime-15.snap20251106170756: 9%
    pkg: 3way merge: no checksum for the original local file
    [1/2] Extracting FreeBSD-runtime-15.snap20251106170756: 9%
    pkg: 3way merge: no checksum for the original local file
    [1/2] Extracting FreeBSD-runtime-15.snap20251106170756: 9%
    pkg: 3way merge: no checksum for the original local file
    [1/2] Extracting FreeBSD-runtime-15.snap20251106170756: 10%
    pkg: 3way merge: no checksum for the original local file
    [1/2] Extracting FreeBSD-runtime-15.snap20251106170756: 10%
    pkg: 3way merge: no checksum for the original local file
    [1/2] Extracting FreeBSD-runtime-15.snap20251106170756: 10%
    pkg: 3way merge: no checksum for the original local file
    [1/2] Extracting FreeBSD-runtime-15.snap20251106170756: 10%
    pkg: 3way merge: no checksum for the original local file
    [1/2] Extracting FreeBSD-runtime-15.snap20251106170756: 10%
    pkg: 3way merge: no checksum for the original local file
    [1/2] Extracting FreeBSD-runtime-15.snap20251106170756: 10%
    pkg: 3way merge: no checksum for the original local file
    [1/2] Extracting FreeBSD-runtime-15.snap20251106170756: 11%
    pkg: 3way merge: no checksum for the original local file
    [1/2] Extracting FreeBSD-runtime-15.snap20251106170756: 11%
    pkg: 3way merge: no checksum for the original local file
    [1/2] Extracting FreeBSD-runtime-15.snap20251106170756: 11%
    pkg: 3way merge: no checksum for the original local file
    [1/2] Extracting FreeBSD-runtime-15.snap20251106170756: 11%
    pkg: 3way merge: no checksum for the original local file
    [1/2] Extracting FreeBSD-runtime-15.snap20251106170756: 11%
    pkg: 3way merge: no checksum for the original local file
    [1/2] Extracting FreeBSD-runtime-15.snap20251106170756: 11%
    pkg: 3way merge: no checksum for the original local file
    [1/2] Extracting FreeBSD-runtime-15.snap20251106170756: 12%
    pkg: 3way merge: no checksum for the original local file
    [1/2] Extracting FreeBSD-runtime-15.snap20251106170756: 12%
    pkg: 3way merge: no checksum for the original local file
    [1/2] Extracting FreeBSD-runtime-15.snap20251106170756: 12%
    pkg: 3way merge: no checksum for the original local file
    [1/2] Extracting FreeBSD-runtime-15.snap20251106170756: 12%
    pkg: 3way merge: no checksum for the original local file
    [1/2] Extracting FreeBSD-runtime-15.snap20251106170756: 12%
    pkg: 3way merge: no checksum for the original local file
    [1/2] Extracting FreeBSD-runtime-15.snap20251106170756: 13%
    pkg: 3way merge: no checksum for the original local file
    [1/2] Extracting FreeBSD-runtime-15.snap20251106170756: 16%
    pkg: 3way merge: no checksum for the original local file
    [1/2] Extracting FreeBSD-runtime-15.snap20251106170756: 16%
    pkg: 3way merge: no checksum for the original local file
    [1/2] Extracting FreeBSD-runtime-15.snap20251106170756: 16%
    pkg: 3way merge: no checksum for the original local file
    [1/2] Extracting FreeBSD-runtime-15.snap20251106170756: 89%
    pkg: 3way merge: no checksum for the original local file
    [1/2] Extracting FreeBSD-runtime-15.snap20251106170756: 100%
    [2/2] Upgrading FreeBSD-utilities from 15.snap20251105170707 to 15.snap20251107233400...
    [2/2] Extracting FreeBSD-utilities-15.snap20251107233400: 0%
    pkg: 3way merge: no checksum for the original local file
    [2/2] Extracting FreeBSD-utilities-15.snap20251107233400: 0%
    pkg: 3way merge: no checksum for the original local file
    [2/2] Extracting FreeBSD-utilities-15.snap20251107233400: 0%
    pkg: 3way merge: no checksum for the original local file
    [2/2] Extracting FreeBSD-utilities-15.snap20251107233400: 0%
    pkg: 3way merge: no checksum for the original local file
    [2/2] Extracting FreeBSD-utilities-15.snap20251107233400: 0%
    pkg: 3way merge: no checksum for the original local file
    [2/2] Extracting FreeBSD-utilities-15.snap20251107233400: 0%
    pkg: 3way merge: no checksum for the original local file
    [2/2] Extracting FreeBSD-utilities-15.snap20251107233400: 0%
    pkg: 3way merge: no checksum for the original local file
    [2/2] Extracting FreeBSD-utilities-15.snap20251107233400: 100%

    Cheers,
    Ricardo

    --000000000000706e80064314fb65
    Content-Type: text/html; charset="UTF-8"
    Content-Transfer-Encoding: quoted-printable

    <div dir=3D"ltr"><div>$ pkg --version</div>2.3.1<div><br></div><div># pkg u= pgrade
    <br>...
    <br>[1/7] Upgrading FreeBSD-utilities from 15.snap20251105170707 to=20 15.snap20251107233400...
    <br>[1/7] Extracting FreeBSD-utilities-15.snap20251107233400:=C2=A0 =C2=A00= %Child=20
    process pid=3D51001 terminated abnormally: Segmentation fault</div><div><br= ></div><div>I then tried with pkg-static and got the same error.</div><div>= <br></div><div># gdb=C2=A0/usr/local/sbin/pkg-static pkg-static.core</div><= div>Reading symbols from /usr/local/sbin/pkg-static...<br></div>[New LWP 10= 1133]<br>Core was generated by `pkg-static upgrade&#39;.<br>Program termina= ted with signal SIGSEGV, Segmentation fault.<br>Address not mapped to objec= t.<br>#0 =C2=A0strcmp_baseline () at /usr/src/lib/libc/amd64/string/strcmp.= S:136<br>136 movdqu (%rsi, %rdx, 1), %xmm4<br>(gdb) bt full<br>#0 =C2=A0s=
    trcmp_baseline () at /usr/src/lib/libc/amd64/string/strcmp.S:136<br>No loca= ls.<br>#1 =C2=A00x00000000006bc5cc in create_regfile ()<br>No symbol table = info available.<br>#2 =C2=A00x00000000006be317 in do_extract_regfile ()<br>=
    No symbol table info available.<br>#3 =C2=A00x00000000006bd870 in do_extrac=
    t ()<br>No symbol table info available.<br>#4 =C2=A00x00000000006ba771 in p= kg_add_common ()<br>No symbol table info available.<br>#5 =C2=A00x000000000= 070cf40 in pkg_jobs_execute ()<br>No symbol table info available.<br>#6 =C2= =A00x00000000005092e2 in exec_upgrade ()<br>No symbol table info available.= <br>#7 =C2=A00x0000000000501bef in main ()<br>No symbol table info availabl= e.<br><div><br></div><div>I compiled and installed the latest pkg from port=
    s (2.4.2) and could upgrade but got:</div><div><br></div><div>[1/2] Upgradi=
    ng FreeBSD-runtime from 15.snap20251105215539 to 15.snap20251106170756...<b= r>[1/2] Extracting FreeBSD-runtime-15.snap20251106170756: =C2=A0 6%<br>pkg:=
    3way merge: no checksum for the original local file<br>[1/2] Extracting Fr= eeBSD-runtime-15.snap20251106170756: =C2=A0 7%<br>pkg: 3way merge: no check= sum for the original local file<br>[1/2] Extracting FreeBSD-runtime-15.snap= 20251106170756: =C2=A0 7%<br>pkg: 3way merge: no checksum for the original = local file<br>[1/2] Extracting FreeBSD-runtime-15.snap20251106170756: =C2=
    =A0 7%<br>pkg: 3way merge: no checksum for the original local file<br>[1/2]=
    Extracting FreeBSD-runtime-15.snap20251106170756: =C2=A0 7%<br>pkg: 3way m= erge: no checksum for the original local file<br>[1/2] Extracting FreeBSD-r= untime-15.snap20251106170756: =C2=A0 7%<br>pkg: 3way merge: no checksum for=
    the original local file<br>[1/2] Extracting FreeBSD-runtime-15.snap2025110= 6170756: =C2=A0 8%<br>pkg: 3way merge: no checksum for the original local f= ile<br>[1/2] Extracting FreeBSD-runtime-15.snap20251106170756: =C2=A0 8%<br= >pkg: 3way merge: no checksum for the original local file<br>[1/2] Extracti=
    ng FreeBSD-runtime-15.snap20251106170756: =C2=A0 8%<br>pkg: 3way merge: no = checksum for the original local file<br>[1/2] Extracting FreeBSD-runtime-15= .snap20251106170756: =C2=A0 8%<br>pkg: 3way merge: no checksum for the orig= inal local file<br>[1/2] Extracting FreeBSD-runtime-15.snap20251106170756: = =C2=A0 8%<br>pkg: 3way merge: no checksum for the original local file<br>[1= /2] Extracting FreeBSD-runtime-15.snap20251106170756: =C2=A0 8%<br>pkg: 3wa=
    y merge: no checksum for the original local file<br>[1/2] Extracting FreeBS= D-runtime-15.snap20251106170756: =C2=A0 9%<br>pkg: 3way merge: no checksum = for the original local file<br>[1/2] Extracting FreeBSD-runtime-15.snap2025= 1106170756: =C2=A0 9%<br>pkg: 3way merge: no checksum for the original loca=
    l file<br>[1/2] Extracting FreeBSD-runtime-15.snap20251106170756: =C2=A0 9%= <br>pkg: 3way merge: no checksum for the original local file<br>[1/2] Extra= cting FreeBSD-runtime-15.snap20251106170756: =C2=A010%<br>pkg: 3way merge: =
    no checksum for the original local file<br>[1/2] Extracting FreeBSD-runtime= -15.snap20251106170756: =C2=A010%<br>pkg: 3way merge: no checksum for the o= riginal local file<br>[1/2] Extracting FreeBSD-runtime-15.snap2025110617075=
    6: =C2=A010%<br>pkg: 3way merge: no checksum for the original local file<br= >[1/2] Extracting FreeBSD-runtime-15.snap20251106170756: =C2=A010%<br>pkg: = 3way merge: no checksum for the original local file<br>[1/2] Extracting Fre= eBSD-runtime-15.snap20251106170756: =C2=A010%<br>pkg: 3way merge: no checks=
    um for the original local file<br>[1/2] Extracting FreeBSD-runtime-15.snap2= 0251106170756: =C2=A010%<br>pkg: 3way merge: no checksum for the original l= ocal file<br>[1/2] Extracting FreeBSD-runtime-15.snap20251106170756: =C2=A0= 11%<br>pkg: 3way merge: no checksum for the original local file<br>[1/2] Ex= tracting FreeBSD-runtime-15.snap20251106170756: =C2=A011%<br>pkg: 3way merg=
    e: no checksum for the original local file<br>[1/2] Extracting FreeBSD-runt= ime-15.snap20251106170756: =C2=A011%<br>pkg: 3way merge: no checksum for th=
    e original local file<br>[1/2] Extracting FreeBSD-runtime-15.snap2025110617= 0756: =C2=A011%<br>pkg: 3way merge: no checksum for the original local file= <br>[1/2] Extracting FreeBSD-runtime-15.snap20251106170756: =C2=A011%<br>pk=
    g: 3way merge: no checksum for the original local file<br>[1/2] Extracting = FreeBSD-runtime-15.snap20251106170756: =C2=A011%<br>pkg: 3way merge: no che= cksum for the original local file<br>[1/2] Extracting FreeBSD-runtime-15.sn= ap20251106170756: =C2=A012%<br>pkg: 3way merge: no checksum for the origina=
    l local file<br>[1/2] Extracting FreeBSD-runtime-15.snap20251106170756: =C2= =A012%<br>pkg: 3way merge: no checksum for the original local file<br>[1/2]=
    Extracting FreeBSD-runtime-15.snap20251106170756: =C2=A012%<br>pkg: 3way m= erge: no checksum for the original local file<br>[1/2] Extracting FreeBSD-r= untime-15.snap20251106170756: =C2=A012%<br>pkg: 3way merge: no checksum for=
    the original local file<br>[1/2] Extracting FreeBSD-runtime-15.snap2025110= 6170756: =C2=A012%<br>pkg: 3way merge: no checksum for the original local f= ile<br>[1/2] Extracting FreeBSD-runtime-15.snap20251106170756: =C2=A013%<br= >pkg: 3way merge: no checksum for the original local file<br>[1/2] Extracti=
    ng FreeBSD-runtime-15.snap20251106170756: =C2=A016%<br>pkg: 3way merge: no = checksum for the original local file<br>[1/2] Extracting FreeBSD-runtime-15= .snap20251106170756: =C2=A016%<br>pkg: 3way merge: no checksum for the orig= inal local file<br>[1/2] Extracting FreeBSD-runtime-15.snap20251106170756: = =C2=A016%<br>pkg: 3way merge: no checksum for the original local file<br>[1= /2] Extracting FreeBSD-runtime-15.snap20251106170756: =C2=A089%<br>pkg: 3wa=
    y merge: no checksum for the original local file<br>[1/2] Extracting FreeBS= D-runtime-15.snap20251106170756: 100%<br>[2/2] Upgrading FreeBSD-utilities = from 15.snap20251105170707 to 15.snap20251107233400...<br>[2/2] Extracting = FreeBSD-utilities-15.snap20251107233400: =C2=A0 0%<br>pkg: 3way merge: no c= hecksum for the original local file<br>[2/2] Extracting FreeBSD-utilities-1= 5.snap20251107233400: =C2=A0 0%<br>pkg: 3way merge: no checksum for the ori= ginal local file<br>[2/2] Extracting FreeBSD-utilities-15.snap2025110723340=
    0: =C2=A0 0%<br>pkg: 3way merge: no checksum for the original local file<br= >[2/2] Extracting FreeBSD-utilities-15.snap20251107233400: =C2=A0 0%<br>pkg=
    : 3way merge: no checksum for the original local file<br>[2/2] Extracting F= reeBSD-utilities-15.snap20251107233400: =C2=A0 0%<br>pkg: 3way merge: no ch= ecksum for the original local file<br>[2/2] Extracting FreeBSD-utilities-15= .snap20251107233400: =C2=A0 0%<br>pkg: 3way merge: no checksum for the orig= inal local file<br>[2/2] Extracting FreeBSD-utilities-15.snap20251107233400=
    : =C2=A0 0%<br>pkg: 3way merge: no checksum for the original local file<br>= [2/2] Extracting FreeBSD-utilities-15.snap20251107233400: 100%<br></div><di= v><br></div><div>Cheers,</div><div>Ricardo</div></div>

    --000000000000706e80064314fb65--


    --
    Posted automagically by a mail2news gateway at muc.de e.V.
    Please direct questions, flames, donations, etc. to news-admin@muc.de
    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From Christos Margiolis@christos@freebsd.org to muc.lists.freebsd.stable on Sat Nov 8 14:49:02 2025
    From Newsgroup: muc.lists.freebsd.stable

    On Sat Nov 8, 2025 at 2:07 PM CET, Ricardo Branco wrote:
    $ pkg --version
    2.3.1

    # pkg upgrade
    ...
    [1/7] Upgrading FreeBSD-utilities from 15.snap20251105170707 to 15.snap20251107233400...
    [1/7] Extracting FreeBSD-utilities-15.snap20251107233400: 0%Child process pid=51001 terminated abnormally: Segmentation fault
    (CC'ing bapt@ and markj@)
    Been having the same problem since yesterday, exactly at the extraction
    stage, like you:
    [...]
    [1/15] Upgrading FreeBSD-openssl from 15.0.b4.20251105194318 to 15.0.b5.20251107060943...
    [1/15] Extracting FreeBSD-openssl-15.0.b5.20251107060943: 0%Child process pid=5894 terminated abnormally: Segmentation fault
    Christos
    --
    Posted automagically by a mail2news gateway at muc.de e.V.
    Please direct questions, flames, donations, etc. to news-admin@muc.de
    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From Lexi Winter@ivy@freebsd.org to muc.lists.freebsd.stable on Sat Nov 8 13:57:12 2025
    From Newsgroup: muc.lists.freebsd.stable


    --ggxEtIjjln4ony9S
    Content-Type: text/plain; charset=us-ascii
    Content-Disposition: inline
    Content-Transfer-Encoding: quoted-printable

    Christos Margiolis wrote in <DE3D09D5MHFK.2GP6VDWDK2ZT@freebsd.org>:
    On Sat Nov 8, 2025 at 2:07 PM CET, Ricardo Branco wrote:
    $ pkg --version
    2.3.1

    # pkg upgrade
    ...
    [1/7] Upgrading FreeBSD-utilities from 15.snap20251105170707 to 15.snap20251107233400...
    [1/7] Extracting FreeBSD-utilities-15.snap20251107233400: 0%Child pro=
    cess
    pid=3D51001 terminated abnormally: Segmentation fault
    =20
    Been having the same problem since yesterday, exactly at the extraction stage, like you:
    =20
    [...]
    [1/15] Upgrading FreeBSD-openssl from 15.0.b4.20251105194318 to 15.0.b5.2=
    0251107060943...
    [1/15] Extracting FreeBSD-openssl-15.0.b5.20251107060943: 0%Child proce=
    ss pid=3D5894 terminated abnormally: Segmentation fault

    i also ran into this and found it was fixed in pkg 2.4.99, which
    probably means it's fixed in 2.4.[01] as well. to recover a broken
    system, you could (build, and) copy over a pkg-static from another
    system.

    i mentioned this to Colin, and it's apparently too late to get pkg 2.4
    into the 15.0 release, but it should be on pkg.f.o before the release,
    which means 'pkg upgrade' will pick it up before running the upgrade.

    --ggxEtIjjln4ony9S
    Content-Type: application/pgp-signature; name=signature.asc

    -----BEGIN PGP SIGNATURE-----

    iHUEABYKAB0WIQSyjTg96lp3RifySyn1nT63mIK/YAUCaQ9MNAAKCRD1nT63mIK/ YPt8AP9RkVYD8f1nltkVOpaMIEfBuc+pKjA3nqrnzIQabtvFsAD7BidSVPAHiii+ MHE8/Yqu1KxH6HIIXIf7gA0h1fkhqwU=
    =z0W1
    -----END PGP SIGNATURE-----

    --ggxEtIjjln4ony9S--


    --
    Posted automagically by a mail2news gateway at muc.de e.V.
    Please direct questions, flames, donations, etc. to news-admin@muc.de
    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From Nick Price@nick@spun.io to muc.lists.freebsd.stable on Sat Nov 8 08:07:18 2025
    From Newsgroup: muc.lists.freebsd.stable


    On Sat, Nov 8, 2025, at 5:57 AM, Lexi Winter wrote:
    Christos Margiolis wrote in <DE3D09D5MHFK.2GP6VDWDK2ZT@freebsd.org>:
    On Sat Nov 8, 2025 at 2:07 PM CET, Ricardo Branco wrote:
    $ pkg --version
    2.3.1

    # pkg upgrade
    ...
    [1/7] Upgrading FreeBSD-utilities from 15.snap20251105170707 to 15.snap20251107233400...
    [1/7] Extracting FreeBSD-utilities-15.snap20251107233400: 0%Child process
    pid=51001 terminated abnormally: Segmentation fault

    Been having the same problem since yesterday, exactly at the extraction stage, like you:

    [...]
    [1/15] Upgrading FreeBSD-openssl from 15.0.b4.20251105194318 to 15.0.b5.20251107060943...
    [1/15] Extracting FreeBSD-openssl-15.0.b5.20251107060943: 0%Child process pid=5894 terminated abnormally: Segmentation fault

    i also ran into this and found it was fixed in pkg 2.4.99, which
    probably means it's fixed in 2.4.[01] as well. to recover a broken
    system, you could (build, and) copy over a pkg-static from another
    system.

    i mentioned this to Colin, and it's apparently too late to get pkg 2.4
    into the 15.0 release, but it should be on pkg.f.o before the release,
    which means 'pkg upgrade' will pick it up before running the upgrade.


    *Attachments:*
    rCo signature.asc
    I think this was fixed here - 2.4.1 seemed to resolve it for me https://github.com/freebsd/pkg/commit/dec5e78058729933d31bc252127818a31bf0201a --
    Posted automagically by a mail2news gateway at muc.de e.V.
    Please direct questions, flames, donations, etc. to news-admin@muc.de
    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From Mark Millard@marklmi@yahoo.com to muc.lists.freebsd.stable on Sat Nov 8 22:10:58 2025
    From Newsgroup: muc.lists.freebsd.stable

    Lexi Winter <ivy_at_freebsd.org> wrote on
    Date: Sat, 08 Nov 2025 13:57:12 UTC :
    Christos Margiolis wrote in <DE3D09D5MHFK.2GP6VDWDK2ZT@freebsd.org>:
    On Sat Nov 8, 2025 at 2:07 PM CET, Ricardo Branco wrote:
    $ pkg --version
    2.3.1

    # pkg upgrade
    ...
    [1/7] Upgrading FreeBSD-utilities from 15.snap20251105170707 to 15.snap20251107233400...
    [1/7] Extracting FreeBSD-utilities-15.snap20251107233400: 0%Child process pid=51001 terminated abnormally: Segmentation fault

    Been having the same problem since yesterday, exactly at the extraction stage, like you:

    [...]
    [1/15] Upgrading FreeBSD-openssl from 15.0.b4.20251105194318 to 15.0.b5.20251107060943...
    [1/15] Extracting FreeBSD-openssl-15.0.b5.20251107060943: 0%Child process pid=5894 terminated abnormally: Segmentation fault

    i also ran into this and found it was fixed in pkg 2.4.99, which
    probably means it's fixed in 2.4.[01] as well. to recover a broken
    system, you could (build, and) copy over a pkg-static from another
    system.

    i mentioned this to Colin, and it's apparently too late to get pkg 2.4
    into the 15.0 release, but it should be on pkg.f.o before the release,
    which means 'pkg upgrade' will pick it up before running the upgrade.
    Will it be clear to folks without internet access that they
    should avoid the pkgbase technical preview selection? Does
    the problem exist even if the only use is port-packages?
    ===
    Mark Millard
    marklmi at yahoo.com
    --
    Posted automagically by a mail2news gateway at muc.de e.V.
    Please direct questions, flames, donations, etc. to news-admin@muc.de
    --- Synchronet 3.21a-Linux NewsLink 1.2