Date: Thu, 21 Sep 2023 20:54:08 -0300 From: Eduardo Lemos de Sa <eduardo.lemosdesa@gmail.com> To: Johan Helsingius <julf@julf.com>, "freebsd-questions@FreeBSD.org" <freebsd-questions@freebsd.org> Subject: Re: Upgrading from old version (13.0-RELEASE-p4) Message-ID: <CA%2BnjGkutWREK8MgSmOS%2Bj=4QMmU9jQHrEZgzVr1cMOueN6CkAg@mail.gmail.com> In-Reply-To: <73cf476a-d113-f724-8a35-bc6ee6fc88be@Julf.com> References: <73cf476a-d113-f724-8a35-bc6ee6fc88be@Julf.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--000000000000d80e180605e73587 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Dear Johan On Thu, Sep 21, 2023 at 11:40=E2=80=AFAM Johan Helsingius <julf@julf.com> w= rote: > Hi everyone, > > I have a couple of servers (amd64) that have been turned off for > quite a while that I now need to reactivate. They are still running > 13.0-RELEASE-p4, and when I try to update, I get "No mirrors > remaining, giving up". > > Is there any way to upgrade without having to do a full reinstall? > > > Julf > > > My suggestion is: 1) remove all files under /usr/src (including .git etc) 2) git clone --branch releng/13.2 https://git.FreeBSD.org/src.git /usr/src (as described in handbook) 3) cd /usr/src 4) make -j xx buildworld 5) make -j xx buildkernel 6) install them & reboot For future upgrades, I suggest: cd /usr/src git pull followed by steps 4, 5, and so on... My best wishes Eduardo --=20 Eduardo Lemos de Sa Professor Titular Dep. Quimica da Universidade Federal do Paran=C3=A1 fone: +55(41)3361-3300 fax: +55(41)3361-3186 --000000000000d80e180605e73587 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr"><div dir=3D"ltr">Dear Johan</div><br><div class=3D"gmail_q= uote"><div dir=3D"ltr" class=3D"gmail_attr">On Thu, Sep 21, 2023 at 11:40= =E2=80=AFAM Johan Helsingius <<a href=3D"mailto:julf@julf.com">julf@julf= .com</a>> wrote:<br></div><blockquote class=3D"gmail_quote" style=3D"mar= gin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1= ex">Hi everyone,<br> <br> I have a couple of servers (amd64) that have been turned off for<br> quite a while that I now need to reactivate. They are still running<br> 13.0-RELEASE-p4, and when I try to update, I get "No mirrors<br> remaining, giving up".<br> <br> Is there any way to upgrade without having to do a full reinstall?<br> <br> <br> =C2=A0 =C2=A0 =C2=A0 =C2=A0 Julf<br> <br> <br> </blockquote></div><div><br></div><div>My suggestion is:</div><div><br></di= v><div>1) remove all files under /usr/src (including .git etc)</div><div>2)= =C2=A0<span style=3D"background-color:transparent;color:inherit;font-family= :"dejavu sans mono",Menlo,Consolas,Monaco,"Liberation Mono&q= uot;,"Lucida Console",monospace;font-size:0.75rem">git clone --br= anch releng/13.2 <a href=3D"https://git.FreeBSD.org/src.git">https://git.Fr= eeBSD.org/src.git</a> /usr/src (as described in handbook)</span></div><div>= <span style=3D"background-color:transparent;color:inherit;font-family:"= ;dejavu sans mono",Menlo,Consolas,Monaco,"Liberation Mono",&= quot;Lucida Console",monospace;font-size:0.75rem">3) cd /usr/src</span= ></div><div><span style=3D"background-color:transparent;color:inherit;font-= family:"dejavu sans mono",Menlo,Consolas,Monaco,"Liberation = Mono","Lucida Console",monospace;font-size:0.75rem">4) make = -j xx buildworld</span></div><div><span style=3D"background-color:transpare= nt;color:inherit;font-family:"dejavu sans mono",Menlo,Consolas,Mo= naco,"Liberation Mono","Lucida Console",monospace;font-= size:0.75rem">5) make -j xx buildkernel</span></div><div><span style=3D"bac= kground-color:transparent;color:inherit;font-family:"dejavu sans mono&= quot;,Menlo,Consolas,Monaco,"Liberation Mono","Lucida Consol= e",monospace;font-size:0.75rem">6) install them & reboot=C2=A0</sp= an></div><div><span style=3D"background-color:transparent;color:inherit;fon= t-family:"dejavu sans mono",Menlo,Consolas,Monaco,"Liberatio= n Mono","Lucida Console",monospace;font-size:0.75rem"><br></= span></div><div><span style=3D"background-color:transparent;color:inherit;f= ont-family:"dejavu sans mono",Menlo,Consolas,Monaco,"Liberat= ion Mono","Lucida Console",monospace;font-size:0.75rem">For = future upgrades, I suggest:</span></div><div><span style=3D"background-colo= r:transparent;color:inherit;font-family:"dejavu sans mono",Menlo,= Consolas,Monaco,"Liberation Mono","Lucida Console",mono= space;font-size:0.75rem">cd /usr/src</span></div><div><span style=3D"backgr= ound-color:transparent;color:inherit;font-family:"dejavu sans mono&quo= t;,Menlo,Consolas,Monaco,"Liberation Mono","Lucida Console&q= uot;,monospace;font-size:0.75rem">git pull</span></div><div><span style=3D"= background-color:transparent;color:inherit;font-family:"dejavu sans mo= no",Menlo,Consolas,Monaco,"Liberation Mono","Lucida Con= sole",monospace;font-size:0.75rem">followed by steps 4, 5, and so on..= .</span></div><div><span style=3D"background-color:transparent;color:inheri= t;font-family:"dejavu sans mono",Menlo,Consolas,Monaco,"Libe= ration Mono","Lucida Console",monospace;font-size:0.75rem"><= br></span></div><div><span style=3D"background-color:transparent;color:inhe= rit;font-family:"dejavu sans mono",Menlo,Consolas,Monaco,"Li= beration Mono","Lucida Console",monospace;font-size:0.75rem"= >My best wishes</span></div><div><span style=3D"background-color:transparen= t;color:inherit;font-family:"dejavu sans mono",Menlo,Consolas,Mon= aco,"Liberation Mono","Lucida Console",monospace;font-s= ize:0.75rem"><br></span></div><div><span style=3D"background-color:transpar= ent;color:inherit;font-family:"dejavu sans mono",Menlo,Consolas,M= onaco,"Liberation Mono","Lucida Console",monospace;font= -size:0.75rem">Eduardo</span></div><div><span style=3D"background-color:tra= nsparent;color:inherit;font-family:"dejavu sans mono",Menlo,Conso= las,Monaco,"Liberation Mono","Lucida Console",monospace= ;font-size:0.75rem"><br></span></div><div><br></div><span class=3D"gmail_si= gnature_prefix">-- </span><br><div dir=3D"ltr" class=3D"gmail_signature"><d= iv dir=3D"ltr"><div><div dir=3D"ltr"><div>Eduardo Lemos de Sa<br>Professor = Titular<br>Dep. Quimica da Universidade Federal do Paran=C3=A1<br>fone: +55= (41)3361-3300<br>fax: =C2=A0 +55(41)3361-3186<br></div></div></div></div></= div></div> --000000000000d80e180605e73587--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CA%2BnjGkutWREK8MgSmOS%2Bj=4QMmU9jQHrEZgzVr1cMOueN6CkAg>