Re: directory from 14.0 in 14.1
- Reply: Dave Cottlehuber: "Re: directory from 14.0 in 14.1"
- Reply: Matthew Seaman : "Re: directory from 14.0 in 14.1"
- In reply to: Dave Cottlehuber: "Re: directory from 14.0 in 14.1"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 02 Aug 2024 14:12:25 UTC
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