• Re: PKGBASE upgrade from ALPHAxx to BETAxx ['"FreeBSD-base" . . . will be disabled by default, in order to avoid "pkg delete -af" problems' ?]

    From Mark Millard@marklmi@yahoo.com to muc.lists.freebsd.stable on Tue Oct 28 20:08:21 2025
    From Newsgroup: muc.lists.freebsd.stable

    Colin Percival <cperciva_at_tarsnap.com> wrote on
    Date: Thu, 16 Oct 2025 18:04:51 UTC :

    . . .

    I'm planning on putting a "FreeBSD-base" repository configuration into /etc/pkg/FreeBSD.conf in 15. It will be disabled by default, in order
    to avoid "pkg delete -af" problems, but "pkg upgrade -r FreeBSD-base"
    should work out of the box.


    https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=290344#c6

    has examples showing that this does not work (main 16 test
    context, which I forgot to mention there). It is based on
    just using -a (not -f, not -y) and seeing if any FreeBSD-*
    are referenced in the output: there are such involved.

    One of the examples has pkg locked. That does prevent any
    deletion of anything.

    With pkg unlocked things were odder but it asked about if
    FreeBSD-libvmmapi-dev should be removed from the request.

    The examples have the commands and the outputs. That is
    one reason that I reference my comment instead of other
    reports that are around. I'm not the first to report on
    the issue.


    This is separate from my earlier reports that:

    pkg upgrade -r FreeBSD-base

    does not "work out of the box" when FreeBSD-base is
    disabled. Even "pkg update -r FreeBSD-base" does not
    work for that =kind of context.

    ===
    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