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 <<a href=3D"mailto:yuri@aetern.org">yuri@aetern.org</a>> 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> > On Wednesday, 19 April 2023 11:58:00 BST Yuri wrote:<br> > <br> >> Mike Clarke wrote:<br> > <br> > <br> > <snip><br> > <br> > <br> >> > It looks like seven year old /usr/lib/libelf.so.1 is left ove= r from an<br> > <br> >> > old version. Booting from a memstick image confirms there is = no<br> > <br> >> > /usr/lib/libelf.so.1 in 'out of the box' FreeBSD 13.1= so I deleted it<br> > <br> >> > and both programs worked. But this makes me wonder how many r= edundant<br> > <br> >> > old files might be lying around in the base system and potent= ially<br> > <br> >> > causing problems. Is there any easy way to track these down o= ther than<br> > <br> >> > doing a fresh install from scratch? Since I'm intending t= o upgrade to<br> > <br> >> > 13.2 soon this could be a good time to see if there's mor= e redundant<br> > <br> >> > stuff to clean out.<br> > <br> >><br> > <br> >> If you are using source upgrades, check list-old* and delete-old*<= br> > <br> >> targets in /usr/src/Makefile.<br> > <br> > <br> > I usually use freebsd-update but it might be worth going back to<br> > 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'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>"<span style=3D"font-size:12.8px">Oh, the cruft.</spa= n><span style=3D"font-size:12.8px">",=C2=A0</span><span style=3D"font-= size:12.8px">egrep -v '^$|^.*#'=C2=A0</span><span style=3D"backgrou= nd-color:rgb(34,34,34);color:rgb(238,238,238);font-family:"Lucida Cons= ole",Consolas,"Courier New",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>