Will pkg in base break the base?

Baptiste Daroussin bapt at FreeBSD.org
Thu Jan 30 16:28:20 UTC 2020


On Thu, Jan 30, 2020 at 01:20:22AM +0000, Erik Lauritsen wrote:
> Hi,
> 
> I have posted this question on "questions", but realize that maybe this is
> the right place :)
> 
> I have always really liked the FreeBSD separation between base and the
> packages, and I love that you can do a "pkg delete -a" and not worry
> about the kernel or the base system.
> 
> Occasionally on Linux, especially in the past, a failed update to some
> packages renders the entire system unusable, and even Debian with its
> "apt --fix-broken" and "apt install -f" sometimes just runs in an
> unending loop unable to fix some dependency mess.
> 
> With pkg for base, would a "pkg delete -a" then also delete the kernel
> and base etc.?

No we have added a notion of "vital" packages which one are allowed to upgrade
but not to remove, so pkg delete -a will leave a viable system after ward.

Probably smaller than a current base system but still viable. and a users can by
himself flag some packages as vital so if he wants the entire base to be vital
he can.

Does that answer your question?

Best regards,
Bapt
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-pkgbase/attachments/20200130/67ae2fb7/attachment.sig>


More information about the freebsd-pkgbase mailing list