Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 29 Apr 2026 11:35:06 -0700
From:      Mark Millard <marklmi@yahoo.com>
To:        Anton Shterenlikht <lists@cmplx.uk>
Cc:        pkgbase@freebsd.org
Subject:   Re: [HEADS UP] stable/15: new base packages for PAM, zstd
Message-ID:  <5c69753a-ca42-4796-a63f-fa6883e91ab8@yahoo.com>
In-Reply-To: <afJFH6BjM1vY4xWy@cmplx.uk>
References:  <aeedOZ7VcQAOsQCV@cmplx.uk> <3847a70c-f2d8-4c4a-a5f0-56a4a90168b0@yahoo.com> <aeh6ddAuDClL4YFn@cmplx.uk> <aek7L4X26D0zQTU-@amaryllis.le-fay.org> <aenUvAuAGC8SgpKi__40328.3866167598$1776932059$gmane$org@cmplx.uk> <700c882a-ae24-403a-a8e0-5ceffed569ae@yahoo.com> <aeslKG5UCOmV0ROY@cmplx.uk> <351d3db5-19d0-4652-a44e-b029a8105937@yahoo.com> <afIlbEf1NGIJkko9@cmplx.uk> <23d5deac-c35c-44f0-9469-7a22772dd54c@yahoo.com> <afJFH6BjM1vY4xWy@cmplx.uk>

index | next in thread | previous in thread | raw e-mail

On 4/29/26 10:51, Anton Shterenlikht wrote:
> On Wed, Apr 29, 2026 at 09:32:44AM -0700, Mark Millard wrote:
>>>
>>> I get this:
>>>
>>> # /home/as/pkgbasify.lua 
>>> Error: The system is already using pkgbase.
>>> Pass --force to run pkgbasify anyway, for example to fix a partial conversion.
>>>
>>> I don't remember invoking pkgbasify before.
>>>
>>> should I --force it?
>>
>> Note: I have never used the force option.
>>
>> A basic question that would direct what you should do . . .
>>
>> Which do you want as the basis for your environment:
>>
>> ) pkgbase?
>>
>> ) What you had before (reverting the partial pkgbase install to no
>> longer be registered as pkgbase materials)?
>>
>> You have the choice of which direction to go.
> 
> don't mind really... if pkgbase will be the default soon(?)
> then probably I'd like to go ahead rather than back.

The old way is not being removed until FreeBSD 16.0-RELEASE. So pkgbase
is not required for 15.*-RELEASE at all: both ways will exist.

15.0-RELEASE classified pkgbase as a technology preview, as I remember
how it was presented.

So which?

> But most importantly I want to be able to install
> security updates, either with pkg or with freebsd-update.
> 
> Right now neither work --- pkg upgrade does not pull security patches,

Until you have a full pkgbase install with everything registered, likely
pkgbase only gives partial coverage: just what is registered as having
been installed via pkg.

> and freebsd-update no longer work:
> 
> # pkg upgrade

That will only upgrade the FreeBSD-* base packages that you have
installed. For pkgbase use, you would need the results of the forced
pkgbasify to get all the relevant *.pkg installations in place --and at
this point that likely would install the SE/EN updated versions of the
rest for 15.0-RELEASE.

> Updating FreeBSD-ports repository catalogue...
> FreeBSD-ports repository is up to date.
> Updating FreeBSD-ports-kmods repository catalogue...
> FreeBSD-ports-kmods repository is up to date.
> Updating FreeBSD-base repository catalogue...
> FreeBSD-base repository is up to date.
> All repositories are up to date.
> Checking for upgrades (1 candidates): 100%
> Processing candidates (1 candidates): 100%
> Checking integrity... done (0 conflicting)
> Your packages are up to date.
> 
> # freebsd-version -kru
> 15.0-RELEASE-p4
> 15.0-RELEASE-p4
> 15.0-RELEASE-p7
> root@aob:~ # 
> 
> I was expecting the kernel to be upgraded by "pkg upgrade" to p7 too.

upgrade requires you to already have a installed *.pkg file to upgrade
to the newer version of the same *.pkg file's content. (Might generate
*.pkgnew files.)

install puts in place *.pkg based materials that need not have been
installed. (Might generate *.pkgsave files.)

(pkgbasify deals with more issues than either of those in order to do
a conversion.)

If you are to use pkgbase, you need to deal with running the forced
pkgbasify.

Otherwise you will need to unregsiter the base *.pkg files that you have
installed.

> 
> 
> # freebsd-update fetch
> freebsd-update is incompatible with the use of packaged base.  Please see
> https://wiki.freebsd.org/PkgBase for more information.

You need to get to the point that you do not have a odd mix of materials.

So, if you want to finish switching to pkgbase, do the forced pkgbasify.

You may want to make sure that you having independent copies of
important system configuration files first --or a full backup that you
could use if needed.

> 
> Thank you
> 
> Anton
> 
> 


-- 
===
Mark Millard
marklmi at yahoo.com


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5c69753a-ca42-4796-a63f-fa6883e91ab8>