Date: Thu, 11 Dec 2025 22:25:11 +0100 From: =?utf-8?Q?Peter_Ankerst=C3=A5l?= <peter@pean.org> To: Lexi Winter <ivy@freebsd.org> Cc: freebsd-pkgbase@freebsd.org Subject: Re: Customize what packages get installed Message-ID: <A83ED87A-DA17-4B44-803B-A7EEC5176634@pean.org> In-Reply-To: <aThEmBLESvyQWRQo@amaryllis.le-fay.org> References: <DB0931F1-EF34-4D09-9BE6-468888F0CE30@pean.org> <aThEmBLESvyQWRQo@amaryllis.le-fay.org>
index | next in thread | previous in thread | raw e-mail
> On 9 Dec 2025, at 16:47, Lexi Winter <ivy@freebsd.org> wrote: > > Peter Ankerstål wrote in <DB0931F1-EF34-4D09-9BE6-468888F0CE30@pean.org>: >> > > the only exception to this is if you install a package set, such as > FreeBSD-set-minimal, and new packages are added to that set; in that > case the new packages will be installed. if you want to avoid that, > you can simply not install (or remove) the set package. after doing > that, make sure to mark all the existing packages as not automatically > installed, otherwise pkg autoremove might remove them. Thanks! Of course its the sets that trigger this behavior. I didnt realize that, but yeah, I guess removing the meta package after installation will solve this problem. > >> A side track for this question is security updates. Using 14.3 >> upgrading to a new patch level pkg upgraded all installed FreeBSD-base >> packages at the new patch level. Why couldn’t it just install the >> packages that changed with that patch level? > > i am not sure i understand what you're asking here; could you please > provide an example of the behaviour you're talking about, and also > describe how you think it should work instead? When using freebsd-update and there is a new patchlevel only the affected files are updated. Lets say the patchlevel only contains a fix for unbound. Then freebsd-update will only download and install unbound-files. But when moving from one patchlevel to another using pkgbase all installed packages from FreeBSD-base will be updated. But it would have been enough to just upgrade the FreeBSD-unbound package. /Peter.help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?A83ED87A-DA17-4B44-803B-A7EEC5176634>
