Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 Oct 2025 20:08:21 -0700
From:      Mark Millard <marklmi@yahoo.com>
To:        Colin Percival <cperciva@tarsnap.com>, Lexi Winter <ivy@freebsd.org>, FreeBSD-pkgbase@freebsd.org, FreeBSD-STABLE Mailing List <freebsd-stable@freebsd.org>
Cc:        Baptiste Daroussin <bapt@FreeBSD.org>
Subject:   Re: PKGBASE upgrade from ALPHAxx to BETAxx ['"FreeBSD-base" . . . will be disabled by default, in order to avoid "pkg delete -af" problems' ?]
Message-ID:  <09CA14D2-6A50-4725-B353-5C0D1C93AF41@yahoo.com>
References:  <09CA14D2-6A50-4725-B353-5C0D1C93AF41.ref@yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?09CA14D2-6A50-4725-B353-5C0D1C93AF41>