Date: Fri, 2 Aug 2024 10:12:25 -0400 From: LuMiWa <lumiwa@dismail.de> To: questions@freebsd.org Subject: Re: directory from 14.0 in 14.1 Message-ID: <20240802101225.4228f6a6@dismail.de> In-Reply-To: <fc759fe1-0dc4-44cb-96b9-bfb0fe4fbdd9@app.fastmail.com> References: <20240801184343.52c3e5be@dismail.de> <fc759fe1-0dc4-44cb-96b9-bfb0fe4fbdd9@app.fastmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 02 Aug 2024 06:47:46 +0000 "Dave Cottlehuber" <dch@skunkwerks.at> wrote: > On Thu, 1 Aug 2024, at 22:43, LuMiWa wrote: > > Hi! > > > > I updated FreeBSD 14.0 to 14.1 - RELEASE with freebsd-update > > upgrade. I found in /usr/local directory x86_64-portbld-freebsd14.0 > > and inside are /bin and /lib and in the /lib is /ldscripts > > Why I have it and it is safe to delete, please? Or is some other > > way to solve the "problem"? > > stuff in /usr/local/ is generally (always?) from ports. > > Thus we can use `pkg which $PATH` to find what they belong to, for > files only. > > e.g. on mine: > > $ pkg which /usr/local/x86_64-portbld-freebsd15.0/bin/ar > /usr/local/x86_64-portbld-freebsd15.0/bin/ar was installed by package > binutils-2.40_5,1 > > If there's nothing in the directories you're fine to delete them. > > I'm reasonably sure that binutils uses an ABI naming scheme, so even > if you have 14.1-RELEASE, the package will still be found in > /usr/local directory/x86_64-portbld-freebsd14.0/ ... > > Perhaps somebody else can confirm that. > > A/usr/local/x86_64-portbld-freebsd14.0/bin/ar was installed by > package binutils-2.40_6,1+ Dave > /usr/local/x86_64-portbld-freebsd14.0/bin/ar was installed by package binutils-2.40_6,1 pkg query '%rn' binutils shows gcc13 pkg info shows me binutils-2.40_6,1 If I do pkg upgrade -f binutils (reinstalled pkg) it will be problem solved or better pkg upgrade -f? Thank you. -- “I hate books; they only teach us to talk about things we know nothing about.” ― Jean-Jacques Rousseau
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20240802101225.4228f6a6>
