From nobody Thu Apr 20 08:33:53 2023 X-Original-To: freebsd-questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Q29tH5g48z46WGL for ; Thu, 20 Apr 2023 08:33:59 +0000 (UTC) (envelope-from jmc-freebsd2@milibyte.co.uk) Received: from cp160176.hpdns.net (cp160176.hpdns.net [91.238.160.176]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4Q29tG4NVLz4Nd2 for ; Thu, 20 Apr 2023 08:33:58 +0000 (UTC) (envelope-from jmc-freebsd2@milibyte.co.uk) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=milibyte.co.uk header.s=default header.b=UI87shmK; spf=pass (mx1.freebsd.org: domain of jmc-freebsd2@milibyte.co.uk designates 91.238.160.176 as permitted sender) smtp.mailfrom=jmc-freebsd2@milibyte.co.uk; dmarc=none DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=milibyte.co.uk; s=default; h=Content-Transfer-Encoding:Content-Type: MIME-Version:References:In-Reply-To:Message-ID:Date:Subject:To:From:Sender: Reply-To:Cc:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=hRMXYe8Tr80uRkCvrldnmOcml4YtT/21nM0bF/X4Dtc=; b=UI87shmKsb99Z0SgrgbDy8EjdL sC9Zk8OhNAg66B8Brhc67RM/65wy3gEGoMQKi7IhfqVDrhkMnFZinN9uFNAhJAQeawxbqAOVe2oTQ NTvdWsVDqqiFrlVAoKV4/GzoewGRFTl5wX8KkD2YO6ONnYyJvEoEEQ2yamfh7Oj3wjjwIBUmWyIUT M+aAC2/nZI9yHUeK2TiFCe4K5bWhjg1++kTsIAkDTCyi0zLG+J9O9R3FGniZf/jbAERbOgiqkT2cv hDWA2HQHuDkleXFCIK+EG5tIg8c9SnXslSJsMXYLaYHG6jxCOULTN7oBn5uFmzv2tokNDIWFGkFKp qkOROIzg==; Received: from [149.86.189.206] (port=35944 helo=curlew.milibyte.co.uk) by cp160176.hpdns.net with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1ppPjn-000Jj7-20 for freebsd-questions@freebsd.org; Thu, 20 Apr 2023 09:33:53 +0100 Received: from [127.0.0.1] (helo=curlew.localnet) by curlew.milibyte.co.uk with esmtp (Exim 4.95) (envelope-from ) id 1ppPjl-00010x-AL for freebsd-questions@freebsd.org; Thu, 20 Apr 2023 09:33:53 +0100 From: Mike Clarke To: freebsd-questions@freebsd.org Subject: Re: Problem with left over files from earlier releases Date: Thu, 20 Apr 2023 09:33:53 +0100 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> List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="nextPart2630766.TYJnH3iKXO" Content-Transfer-Encoding: 7Bit X-SA-Exim-Connect-IP: 127.0.0.1 X-SA-Exim-Mail-From: jmc-freebsd2@milibyte.co.uk X-SA-Exim-Scanned: No (on curlew.milibyte.co.uk); SAEximRunCond expanded to false X-YourOrg-MailScanner-Information: Please contact the ISP for more information X-YourOrg-MailScanner-ID: 1ppPjn-000Jj7-20 X-YourOrg-MailScanner: Found to be clean X-YourOrg-MailScanner-SpamCheck: X-YourOrg-MailScanner-From: jmc-freebsd2@milibyte.co.uk X-Spam-Status: No X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - cp160176.hpdns.net X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - milibyte.co.uk X-Get-Message-Sender-Via: cp160176.hpdns.net: authenticated_id: mailpool@milibyte.co.uk X-Authenticated-Sender: cp160176.hpdns.net: mailpool@milibyte.co.uk X-Source: X-Source-Args: X-Source-Dir: X-Spamd-Result: default: False [-2.38 / 15.00]; NEURAL_HAM_SHORT(-1.00)[-0.998]; NEURAL_HAM_MEDIUM(-1.00)[-0.997]; NEURAL_HAM_LONG(-0.88)[-0.882]; CTE_CASE(0.50)[]; MID_RHS_NOT_FQDN(0.50)[]; R_DKIM_ALLOW(-0.20)[milibyte.co.uk:s=default]; R_SPF_ALLOW(-0.20)[+a]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; DMARC_NA(0.00)[milibyte.co.uk]; FROM_HAS_DN(0.00)[]; HAS_X_GMSV(0.00)[mailpool@milibyte.co.uk]; TO_MATCH_ENVRCPT_ALL(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; ARC_NA(0.00)[]; RCVD_TLS_LAST(0.00)[]; MLMMJ_DEST(0.00)[freebsd-questions@freebsd.org]; RCVD_COUNT_THREE(0.00)[3]; TO_DN_NONE(0.00)[]; HAS_X_SOURCE(0.00)[]; HAS_X_AS(0.00)[mailpool@milibyte.co.uk]; DKIM_TRACE(0.00)[milibyte.co.uk:+]; FROM_EQ_ENVFROM(0.00)[]; HAS_X_ANTIABUSE(0.00)[]; ASN(0.00)[asn:52148, ipnet:91.238.160.0/22, country:GB]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RCVD_VIA_SMTP_AUTH(0.00)[] X-Rspamd-Queue-Id: 4Q29tG4NVLz4Nd2 X-Spamd-Bar: -- X-ThisMailContainsUnwantedMimeParts: N 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: > >> > 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"

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--