Date: Wed, 19 Apr 2023 12:34:01 +0100 From: Mike Clarke <jmc-freebsd2@milibyte.co.uk> To: freebsd-questions@freebsd.org Subject: Re: Problem with left over files from earlier releases Message-ID: <5742951.8T7jmnknE8@curlew> In-Reply-To: <1be44824-01e1-b1f8-72e0-73c7c18cda35@aetern.org> References: <7898912.iDzAj6rjnq@curlew> <1be44824-01e1-b1f8-72e0-73c7c18cda35@aetern.org>
next in thread | previous in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format. --nextPart4036008.O2WMGSuNBG Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="UTF-8" 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. -- Mike Clarke --nextPart4036008.O2WMGSuNBG Content-Transfer-Encoding: 7Bit Content-Type: text/html; charset="UTF-8" <html> <head> <meta http-equiv="content-type" content="text/html; charset=UTF-8"> </head> <body><p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">On Wednesday, 19 April 2023 11:58:00 BST Yuri wrote:</p> <p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> Mike Clarke wrote:</p> <br /><p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;"><snip></p> <br /><p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> > It looks like seven year old /usr/lib/libelf.so.1 is left over from an</p> <p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> > old version. Booting from a memstick image confirms there is no</p> <p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> > /usr/lib/libelf.so.1 in 'out of the box' FreeBSD 13.1 so I deleted it</p> <p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> > and both programs worked. But this makes me wonder how many redundant</p> <p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> > old files might be lying around in the base system and potentially</p> <p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> > causing problems. Is there any easy way to track these down other than</p> <p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> > doing a fresh install from scratch? Since I'm intending to upgrade to</p> <p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> > 13.2 soon this could be a good time to see if there's more redundant</p> <p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> > stuff to clean out.</p> <p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> </p> <p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> If you are using source upgrades, check list-old* and delete-old*</p> <p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> targets in /usr/src/Makefile.</p> <br /><p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">I usually use freebsd-update but it might be worth going back to updating from source this time.</p> <br /><p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">-- </p> <p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">Mike Clarke</p> </body> </html> --nextPart4036008.O2WMGSuNBG--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5742951.8T7jmnknE8>