Re: Pkgbase removing all third party pkgs nukes system
Jessica Clarke <[email protected]>
| Newsgroups | gmane.os.freebsd.architechture |
|---|---|
| Message-ID | <[email protected]> |
On 30 Jul 2025, at 03:02, TheComputerCollector <[email protected]> wrote: > > This should not be shipped. Removing all third party packages with > pkg(8) nukes the system, deleting everything but a few libraries. > Pkgbase should be handled by a seperate pkgbase(8) command. I belive > that all packages that make up a traditional base should have a flag > that only lets them be manipulated by pkgbase(8), while everything else > can be manipulated by pkg, even though the new command is a frontend > for the same system. I also belive that you should be able to add that > flag to normal packages, for example if I want ftpd back. I also belive > this would be good for stopping forced system updates when updating > software, which is something I hate about Linux. Base and ports-built packages are separate repositories (FreeBSD-base for pkgbase, now poorly-named FreeBSD for ports), so you can pass -r FreeBSD to pkg upgrade if you just want to update third-party packages. Each minor FreeBSD release is a separate repository. The only system updates at risk of being “forced” on you are for security advisories and errata notices. Updating from X.Y to X.(Y+1) or (X+1).0 requires explicit action to use the new repository. Jessica