Re: Problem with left over files from earlier releases
- Reply: Mike Clarke : "Re: Problem with left over files from earlier releases"
- In reply to: Yuri : "Re: Problem with left over files from earlier releases"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 19 Apr 2023 12:30:38 UTC
On Wed, Apr 19, 2023 at 2:41 PM Yuri <yuri@aetern.org> wrote: > Mike Clarke wrote: > > On Wednesday, 19 April 2023 11:58:00 BST Yuri wrote: > > > >> Mike Clarke wrote: > > > > > > <snip> > > > > > >> > It looks like seven year old /usr/lib/libelf.so.1 is left over from an > > > >> > old version. Booting from a memstick image confirms there is no > > > >> > /usr/lib/libelf.so.1 in 'out of the box' FreeBSD 13.1 so I deleted it > > > >> > and both programs worked. But this makes me wonder how many redundant > > > >> > old files might be lying around in the base system and potentially > > > >> > causing problems. Is there any easy way to track these down other than > > > >> > doing a fresh install from scratch? Since I'm intending to upgrade to > > > >> > 13.2 soon this could be a good time to see if there's more redundant > > > >> > stuff to clean out. > > > >> > > > >> If you are using source upgrades, check list-old* and delete-old* > > > >> targets in /usr/src/Makefile. > > > > > > I usually use freebsd-update but it might be worth going back to > > updating from source this time. > > If you have src installed, and it IS up to date with currently running > release, you could try using those targets anyway. > > OTOH, I don't know if freebsd-update is supposed to take care of > obsolete files/directories. > The final `freebsd-update install` after the reboot, or after rebuilding all your packages, is supposed to take care of that, IIRC. -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254 7 3200 0004/+254 7 2274 3223 "Oh, the cruft.", egrep -v '^$|^.*#' ¯\_(ツ)_/¯ :-) [How to ask smart questions: http://www.catb.org/~esr/faqs/smart-questions.html]