From nobody Wed Apr 19 12:30:38 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 4Q1gBY4ZcYz45QDb for ; Wed, 19 Apr 2023 12:31:17 +0000 (UTC) (envelope-from odhiambo@gmail.com) Received: from mail-lj1-x22b.google.com (mail-lj1-x22b.google.com [IPv6:2a00:1450:4864:20::22b]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Q1gBY1n4sz3Pnq for ; Wed, 19 Apr 2023 12:31:17 +0000 (UTC) (envelope-from odhiambo@gmail.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-lj1-x22b.google.com with SMTP id h8so18141559ljf.3 for ; Wed, 19 Apr 2023 05:31:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1681907475; x=1684499475; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=kVasJ5IPNNjaFlPH3DkjK6YQvNqMzE5oH+iA2/qhZ4k=; b=N6Q/7w1+2WRpkqYdv9+w+XT+IoQKZN6wTDiMnSryPAgbphD83Do6OCJ+nC5Z7xSbbv sfLIKGR3Gd4C5+TuCL4mazsZ6Eu7PgJcCk7S/GNvqfFtJVtuhnnfoxYRSu83403X6ir9 6glLroiDFapOgREb6lQHT9Svdva1GidIblTr6J1wOGqukCXd7PZoSq3T1742JwKxyZJn vb/YkLnvC2yKOK6qWAI3R89942c6JBYcERe1FZxMQ+DcL5D4D3FzutlOGi8j7UTBv8/X IVBVZBsGnoUqLAMuylfkVqQlnQY/nkYKoSeGdylxlL28KAO8glUOOqw5z5Zkj4FEngCI saQQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1681907475; x=1684499475; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=kVasJ5IPNNjaFlPH3DkjK6YQvNqMzE5oH+iA2/qhZ4k=; b=XI6WwX8giKff+tTAlp8hq9jqH5JykQA2kqxwnMam9Qw0bzD+xa1bI8bbfwg/IrYcD3 l4HjOnIdMaCHuzZtrrS68y/aNlSelFni13YMTrL3z8Z6/PUCjpmOMHojx0KAz72nQdA1 0B+V2GfWiVET8QFDZYHQnKJcg9H28IqDIq2Nm2dcC3cLqbo/unbuH3Q6KWMqFGl0/e8d i5tiwbQ9OhMWbaHbXnQ6Yjql2JxN7IPBkUXseLezEtDmndTXrHprUBDFTZDVrxhXCQK3 rV+O7B93w52KiChTiL0zuAh7BGCAPU+oPn6qgzMpi+7lwBNkIu+EsVGS0EwUOeUe5mPS oplQ== X-Gm-Message-State: AAQBX9eaH64Z9GZmGP/uZtual7eS37LITPapHUylvMDHJhvTYzuLN0R3 6WWyT5MOpIMzkaIS4owdnUx3zPpAmuOWp20iF0cke8RSstU7dQ== X-Google-Smtp-Source: AKy350bZyOMgVyqkkAF3lvqfoqxU/Q6gw6ammbmQEPaC5kgGnxixv1ENicvc1FqhvoUPigW4MHOtmzapM5g1SuY1dk8= X-Received: by 2002:a2e:9bd4:0:b0:2a7:71a1:62a3 with SMTP id w20-20020a2e9bd4000000b002a771a162a3mr1928892ljj.10.1681907474899; Wed, 19 Apr 2023 05:31:14 -0700 (PDT) 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 References: <7898912.iDzAj6rjnq@curlew> <1be44824-01e1-b1f8-72e0-73c7c18cda35@aetern.org> <5742951.8T7jmnknE8@curlew> <60a9dff4-7820-2d66-1932-9dcf7c8bed01@aetern.org> In-Reply-To: <60a9dff4-7820-2d66-1932-9dcf7c8bed01@aetern.org> From: Odhiambo Washington Date: Wed, 19 Apr 2023 15:30:38 +0300 Message-ID: Subject: Re: Problem with left over files from earlier releases To: Yuri Cc: freebsd-questions@freebsd.org Content-Type: multipart/alternative; boundary="00000000000096264a05f9af99e3" X-Rspamd-Queue-Id: 4Q1gBY1n4sz3Pnq X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US] X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-ThisMailContainsUnwantedMimeParts: N --00000000000096264a05f9af99e3 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Wed, Apr 19, 2023 at 2:41=E2=80=AFPM Yuri wrote: > 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 i= t > > > >> > and both programs worked. But this makes me wonder how many redundan= t > > > >> > old files might be lying around in the base system and potentially > > > >> > causing problems. Is there any easy way to track these down other th= an > > > >> > doing a fresh install from scratch? Since I'm intending to upgrade t= o > > > >> > 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. > The final `freebsd-update install` after the reboot, or after rebuilding all your packages, is supposed to take care of that, IIRC. --=20 Best regards, Odhiambo WASHINGTON, Nairobi,KE +254 7 3200 0004/+254 7 2274 3223 "Oh, the cruft.", egrep -v '^$|^.*#' =C2=AF\_(=E3=83=84)_/=C2=AF :-) [How to ask smart questions: http://www.catb.org/~esr/faqs/smart-questions.html] --00000000000096264a05f9af99e3 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


=
On Wed, Apr 19, 2023 at 2:41=E2=80=AF= PM Yuri <yuri@aetern.org> wrot= e:
Mike Clarke w= rote:
> 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 ove= r 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 r= edundant
>
>> > old files might be lying around in the base system and potent= ially
>
>> > causing problems. Is there any easy way to track these down o= ther than
>
>> > doing a fresh install from scratch? Since I'm intending t= o upgrade to
>
>> > 13.2 soon this could be a good time to see if there's mor= e redundant
>
>> > stuff to clean out.
>
>>
>
>> If you are using source upgrades, check list-old* and delete-old*<= br> >
>> 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.

The final `= freebsd-update install` after the reboot, or after rebuilding all your pack= ages, is supposed to take care of that, IIRC.

=

--
= Best regards,
Odhiambo WASHINGTON,
Nairobi,KE
+254 7 3200 0004/+25= 4 7 2274 3223
"Oh, the cruft.",=C2=A0egrep -v '^$|^.*#'=C2=A0=C2= =AF\_(=E3=83=84)_/=C2=AF=C2=A0:-)
[How to ask smart question= s:=C2=A0http://www.catb.org/~= esr/faqs/smart-questions.html]
--00000000000096264a05f9af99e3--