Re: FreeBSD-set-src package is marked as vital?
- In reply to: Lexi Winter : "Re: FreeBSD-set-src package is marked as vital?"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 17 Oct 2025 10:55:00 UTC
Sent with Proton Mail secure email. On Friday, October 17th, 2025 at 4:17 PM, Lexi Winter <ivy@freebsd.org> wrote: > polyduekes@proton.me wrote in cFqshZqdn372Bs2hGoWll9uJQq2SJ_a4Lkxo24L90lpLasbUPVdK2QoIqNxfm1m9M6uFQo-udJpatkshM1gO9BsSnf88trbgn29FrPry_Vw=@proton.me: > > > On Friday, October 17th, 2025 at 12:52 PM, Lexi Winter ivy@freebsd.org wrote: > > > > > the issue is that if you remove "src", intending to keep "src-sys", pkg > > > will also remove "set-src", then since src-sys was autoinstalled as a > > > dependency of set-src, a later "pkg autoremove" will remove src-sys, > > > something the user probably didn't expect. > > > > if a user wants to keep just the src-sys package they can simply > > remove the set and just pkg install the src-sys package, i am aware > > this isn't applicable to other sets but it quite fits for the src set > > > yes, this is the correct way to approach this for any set. > > although instead of using pkg install, you can just use pkg set -A0 to > mark the package as not autoinstalled. > > > > > i can think of two reasons as to why it shouldn't be marked as vital, > > > > first is that anyone who has deliberately git cloned the base src tree > > > > and deliberately modified it wouldn't want their modifications to get > > > > overwritten anytime and the FreeBSD-src and related packages obviously > > > > overwrite any change anytime they(the packages of FreeBSD-set-src) get > > > > upgraded > > > > > > this is a reason to remove the src packages, not a reason to stop > > > marking them as vital. > > > > the src package seems to be a nice addition for an user that installs > > freebsd with pkgbase and chooses to install the src tree as well, so > > it would be nice if it is possible to keep it only when the user > > chooses to :) > > > i don't follow what you mean here. you just described the steps to > remove FreeBSD-set-src earlier in your email. what else is needed > here? sorry, i misunderstood "this is a reason to remove the src packages" statement, when i saw that i thought that you meant that reason deems to remove the src packages from the freebsd-base repo instead of removal from the user's system since at the time i wrote that i was considering that the src packages are autoinstalled