Date: Thu, 20 Apr 2023 09:33:53 +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: <5782671.Zv9zXsTiuT@curlew> In-Reply-To: <60a9dff4-7820-2d66-1932-9dcf7c8bed01@aetern.org> References: <7898912.iDzAj6rjnq@curlew> <5742951.8T7jmnknE8@curlew> <60a9dff4-7820-2d66-1932-9dcf7c8bed01@aetern.org>
next in thread | previous in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format. --nextPart2630766.TYJnH3iKXO Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="UTF-8" On Wednesday, 19 April 2023 12:41:32 BST Yuri wrote: > Mike Clarke wrote: > > On Wednesday, 19 April 2023 11:58:00 BST Yuri wrote: > >> Mike Clarke wrote: <snip> > >> > 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. > > 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. Thanks. I ran make 'check list-old' and it came up with 150 items, some dating back as far as 2010! So I booted into a new BE and ran delete-old and delete-old-libs to get rid of them. Everything seems to be working fine now. Some of the old files might have even been the cause of a few random crashes I've sometimes had with a couple of programs. But if problems arise over the next few daya or weeks I can revert to the earlier BE with all the files present. -- Mike Clarke --nextPart2630766.TYJnH3iKXO 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 12:41:32 BST Yuri wrote:</p> <br /><p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> Mike Clarke wrote:</p> <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;">> >> > 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> <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 have src installed, and it IS up to date with currently running</p> <p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> release, you could try using those targets anyway.</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;">> OTOH, I don't know if freebsd-update is supposed to take care of</p> <p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> obsolete files/directories.</p> <br /><p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">Thanks. I ran make 'check list-old' and it came up with 150 items, some dating back as far as 2010! So I booted into a new BE and ran delete-old and </p> <p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;"> delete-old-libs to get rid of them.</p> <br /><p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">Everything seems to be working fine now. Some of the old files might have even been the cause of a few random crashes I've sometimes had with a couple of programs. But if problems arise over the next few daya or weeks I can revert to the earlier BE with all the files present.</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> --nextPart2630766.TYJnH3iKXO--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5782671.Zv9zXsTiuT>