From nobody Wed Apr 19 11:34:01 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 4Q1dwZ5qXnz45M1c for ; Wed, 19 Apr 2023 11:34:06 +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 4Q1dwY4jZRz4Jqp for ; Wed, 19 Apr 2023 11:34:05 +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="Qyc/rynO"; 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=QAFlEpARgzYhqjzZ058BaSWQPArou2AdMY56eTtFv2U=; b=Qyc/rynOxJCxtKg5fcVNLApoVz lEGmaN1vKbTqEuP0n4sfjbTT4oCLY2STGg0qFrPTqXwBNKb375+MBOKswvB0EPUDjeNKHHVlDSa9z 3q2wSMBxvORFvaqp5aVPhG1CrpOgTmlOwNfkQ0uthPgh4Q5tFNHhsTEVKQPQ/XrVZDs5/uocbGlME J2sS6UqKHQS5kHbN7xyCy2v6AiIZARWQh2yQJCGbVluDEI8hcbk3TigyTPqTcHIpHS+zb8MfgQTSb vCwv7BsifDvss0xmvKJujM6Pa9e6Z585hIBF/NJaY3ZCFv7FRfeljSpIA5E8sfGW0m1zieb9Zlbit mZniKkEg==; Received: from [149.86.189.206] (port=17237 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 1pp64Y-001lP1-30 for freebsd-questions@freebsd.org; Wed, 19 Apr 2023 12:34:01 +0100 Received: from [127.0.0.1] (helo=curlew.localnet) by curlew.milibyte.co.uk with esmtp (Exim 4.95) (envelope-from ) id 1pp64W-0001Q7-D4 for freebsd-questions@freebsd.org; Wed, 19 Apr 2023 12:34:01 +0100 From: Mike Clarke To: freebsd-questions@freebsd.org Subject: Re: Problem with left over files from earlier releases Date: Wed, 19 Apr 2023 12:34:01 +0100 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> 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="nextPart4036008.O2WMGSuNBG" 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: 1pp64Y-001lP1-30 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 [-0.62 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.99)[-0.994]; NEURAL_SPAM_MEDIUM(0.87)[0.875]; CTE_CASE(0.50)[]; MID_RHS_NOT_FQDN(0.50)[]; R_SPF_ALLOW(-0.20)[+a]; R_DKIM_ALLOW(-0.20)[milibyte.co.uk:s=default]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; FROM_HAS_DN(0.00)[]; DMARC_NA(0.00)[milibyte.co.uk]; TO_MATCH_ENVRCPT_ALL(0.00)[]; HAS_X_GMSV(0.00)[mailpool@milibyte.co.uk]; 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: 4Q1dwY4jZRz4Jqp X-Spamd-Bar: / X-ThisMailContainsUnwantedMimeParts: N 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: > > 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"

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