Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 Apr 2023 15:30:38 +0300
From:      Odhiambo Washington <odhiambo@gmail.com>
To:        Yuri <yuri@aetern.org>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Problem with left over files from earlier releases
Message-ID:  <CAAdA2WMNWTnb8qsK8VC9AfpK3v1Xky=D-OuQ0uWo1W=Lz0k5hw@mail.gmail.com>
In-Reply-To: <60a9dff4-7820-2d66-1932-9dcf7c8bed01@aetern.org>
References:  <7898912.iDzAj6rjnq@curlew> <1be44824-01e1-b1f8-72e0-73c7c18cda35@aetern.org> <5742951.8T7jmnknE8@curlew> <60a9dff4-7820-2d66-1932-9dcf7c8bed01@aetern.org>

next in thread | previous in thread | raw e-mail | index | archive | help
--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 <yuri@aetern.org> wrote:

> Mike Clarke wrote:
> > 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 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

<div dir=3D"ltr"><div dir=3D"ltr"><br></div><br><div class=3D"gmail_quote">=
<div dir=3D"ltr" class=3D"gmail_attr">On Wed, Apr 19, 2023 at 2:41=E2=80=AF=
PM Yuri &lt;<a href=3D"mailto:yuri@aetern.org">yuri@aetern.org</a>&gt; wrot=
e:<br></div><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0=
.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Mike Clarke w=
rote:<br>
&gt; On Wednesday, 19 April 2023 11:58:00 BST Yuri wrote:<br>
&gt; <br>
&gt;&gt; Mike Clarke wrote:<br>
&gt; <br>
&gt; <br>
&gt; &lt;snip&gt;<br>
&gt; <br>
&gt; <br>
&gt;&gt; &gt; It looks like seven year old /usr/lib/libelf.so.1 is left ove=
r from an<br>
&gt; <br>
&gt;&gt; &gt; old version. Booting from a memstick image confirms there is =
no<br>
&gt; <br>
&gt;&gt; &gt; /usr/lib/libelf.so.1 in &#39;out of the box&#39; FreeBSD 13.1=
 so I deleted it<br>
&gt; <br>
&gt;&gt; &gt; and both programs worked. But this makes me wonder how many r=
edundant<br>
&gt; <br>
&gt;&gt; &gt; old files might be lying around in the base system and potent=
ially<br>
&gt; <br>
&gt;&gt; &gt; causing problems. Is there any easy way to track these down o=
ther than<br>
&gt; <br>
&gt;&gt; &gt; doing a fresh install from scratch? Since I&#39;m intending t=
o upgrade to<br>
&gt; <br>
&gt;&gt; &gt; 13.2 soon this could be a good time to see if there&#39;s mor=
e redundant<br>
&gt; <br>
&gt;&gt; &gt; stuff to clean out.<br>
&gt; <br>
&gt;&gt;<br>
&gt; <br>
&gt;&gt; If you are using source upgrades, check list-old* and delete-old*<=
br>
&gt; <br>
&gt;&gt; targets in /usr/src/Makefile.<br>
&gt; <br>
&gt; <br>
&gt; I usually use freebsd-update but it might be worth going back to<br>
&gt; updating from source this time.<br>
<br>
If you have src installed, and it IS up to date with currently running<br>
release, you could try using those targets anyway.<br>
<br>
OTOH, I don&#39;t know if freebsd-update is supposed to take care of<br>
obsolete files/directories.<br></blockquote><div><br></div><div>The final `=
freebsd-update install` after the reboot, or after rebuilding all your pack=
ages, is supposed to take care of that, IIRC.</div></div><br clear=3D"all">=
<div><br></div><span class=3D"gmail_signature_prefix">-- </span><br><div di=
r=3D"ltr" class=3D"gmail_signature"><div dir=3D"ltr"><div dir=3D"ltr"><div>=
Best regards,<br>Odhiambo WASHINGTON,<br>Nairobi,KE<br>+254 7 3200 0004/+25=
4 7 2274 3223<br>&quot;<span style=3D"font-size:12.8px">Oh, the cruft.</spa=
n><span style=3D"font-size:12.8px">&quot;,=C2=A0</span><span style=3D"font-=
size:12.8px">egrep -v &#39;^$|^.*#&#39;=C2=A0</span><span style=3D"backgrou=
nd-color:rgb(34,34,34);color:rgb(238,238,238);font-family:&quot;Lucida Cons=
ole&quot;,Consolas,&quot;Courier New&quot;,monospace;font-size:13.6px">=C2=
=AF\_(=E3=83=84)_/=C2=AF</span><span style=3D"font-size:12.8px">=C2=A0:-)</=
span></div><div><span style=3D"font-size:12.8px">[How to ask smart question=
s:=C2=A0</span><span style=3D"font-size:12.8px"><a href=3D"http://www.catb.=
org/~esr/faqs/smart-questions.html" target=3D"_blank">http://www.catb.org/~=
esr/faqs/smart-questions.html</a>]</span></div></div></div></div></div>

--00000000000096264a05f9af99e3--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAAdA2WMNWTnb8qsK8VC9AfpK3v1Xky=D-OuQ0uWo1W=Lz0k5hw>