From nobody Wed Apr 19 11:41:32 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 4Q1f5D4DTZz45MZd for ; Wed, 19 Apr 2023 11:41:36 +0000 (UTC) (envelope-from yuri@aetern.org) Received: from wout5-smtp.messagingengine.com (wout5-smtp.messagingengine.com [64.147.123.21]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4Q1f5D1D7zz4XSj for ; Wed, 19 Apr 2023 11:41:36 +0000 (UTC) (envelope-from yuri@aetern.org) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=aetern.org header.s=fm2 header.b=bgUHsLej; dkim=pass header.d=messagingengine.com header.s=fm3 header.b="L 5A4G4n"; spf=pass (mx1.freebsd.org: domain of yuri@aetern.org designates 64.147.123.21 as permitted sender) smtp.mailfrom=yuri@aetern.org Received: from compute6.internal (compute6.nyi.internal [10.202.2.47]) by mailout.west.internal (Postfix) with ESMTP id 303D23200902 for ; Wed, 19 Apr 2023 07:41:35 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute6.internal (MEProxy); Wed, 19 Apr 2023 07:41:35 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aetern.org; h=cc :content-transfer-encoding:content-type:content-type:date:date :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:sender:subject:subject:to:to; s=fm2; t= 1681904494; x=1681990894; bh=50nZ/txwdP7KK7fx8QQPo1fDatkRRv40nhI x7t/TwIU=; b=bgUHsLej1x0gavN8b459refewNYxeGV0f2KUEmBaeGH5uRgP+71 5rnULJpgIWsB6PDsVW+fk0F85Jz5Pje5XURUGjnS1TvbJmc4M5MnmzvO9uGSgCKQ HNKJDgNt4kHnDfEGZ2c5zNKPT1cNmFC+OqmT4zs3PgyUqG/71SsBr7Oxm0J7XCuX QVxfJsqN1ai7mcA3uVBH8YDUi82xHD3uNQHloCq3df25wmSiQ8gaRSMwmzZvqdXE IsDUvxIgrbfQcepo3UmY77S3xZzl6ADQiVpX7WyONO5Pd4VrG3oO/b53wvEwvZia tncKkkCnnzlgvrH2dSagO1H5awPKcNlPfXQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t=1681904494; x= 1681990894; bh=50nZ/txwdP7KK7fx8QQPo1fDatkRRv40nhIx7t/TwIU=; b=L 5A4G4nDD2rhJ1ugoBbUtxeCFDtpbhi83DXDrC7pVNrvjtzQGqZJEt6J74hlxAGoY rSuGcRUI7+yDtjc3TcOiAzUotx1/gkbD2yk4SRNXuAR9Kk/VThySCzi9zR4MM9BJ dhAzw7IugxDjtRkjuYnuKYSQX/rs2LaWFIRig1GGzdj0jT5hBjVltXR0xqhWO0GE oQtORyiFpC/924udDdjC0Kdyb6ChWMgi5zfj6uB6QxDX33+4JLertcuXlREn0+hB awlyKE9zL45wrzl8APLbcFIbRla2fSTdQke//SCnFLJsk/Y6+R3tunfbvEjtk4p0 xqBDvwTP9DkeBlyUVuHYg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrfedttddggeefucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefkffggfgfuvfhfhfgjtgfgsehtje ertddtfeejnecuhfhrohhmpegjuhhrihcuoeihuhhrihesrggvthgvrhhnrdhorhhgqeen ucggtffrrghtthgvrhhnpeevvdegledtveekudfhjeeggeffteehueejlefhkeegffethe evveejfefhgffftdenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhl fhhrohhmpeihuhhrihesrggvthgvrhhnrdhorhhg X-ME-Proxy: Feedback-ID: i0d79475b:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA for ; Wed, 19 Apr 2023 07:41:34 -0400 (EDT) Message-ID: <60a9dff4-7820-2d66-1932-9dcf7c8bed01@aetern.org> Date: Wed, 19 Apr 2023 13:41:32 +0200 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 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.10.0 Subject: Re: Problem with left over files from earlier releases Content-Language: en-US To: freebsd-questions@freebsd.org References: <7898912.iDzAj6rjnq@curlew> <1be44824-01e1-b1f8-72e0-73c7c18cda35@aetern.org> <5742951.8T7jmnknE8@curlew> From: Yuri In-Reply-To: <5742951.8T7jmnknE8@curlew> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4Q1f5D1D7zz4XSj X-Spamd-Bar: / X-Spamd-Result: default: False [-0.40 / 15.00]; R_DKIM_ALLOW(-0.20)[aetern.org:s=fm2,messagingengine.com:s=fm3]; R_SPF_ALLOW(-0.20)[+ip4:64.147.123.21:c]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; local_wl_from(0.00)[yuri@aetern.org]; DKIM_TRACE(0.00)[aetern.org:+,messagingengine.com:+]; ASN(0.00)[asn:29838, ipnet:64.147.123.0/24, country:US] X-Rspamd-Pre-Result: action=no action; module=multimap; Matched map: local_wl_from X-ThisMailContainsUnwantedMimeParts: N Mike Clarke wrote: > 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. 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.