Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 22 Sep 2023 10:37:45 +0300
From:      Odhiambo Washington <odhiambo@gmail.com>
To:        Eduardo Lemos de Sa <eduardo.lemosdesa@gmail.com>
Cc:        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:  <CAAdA2WMD2kqXRjLwc3zOMEQ07Fcmsxp5e4RQdO4q7S%2BvOmQUPA@mail.gmail.com>
In-Reply-To: <CA%2BnjGkutWREK8MgSmOS%2Bj=4QMmU9jQHrEZgzVr1cMOueN6CkAg@mail.gmail.com>
References:  <73cf476a-d113-f724-8a35-bc6ee6fc88be@Julf.com> <CA%2BnjGkutWREK8MgSmOS%2Bj=4QMmU9jQHrEZgzVr1cMOueN6CkAg@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
--0000000000005fdfd20605edb14b
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

On Fri, Sep 22, 2023 at 5:20=E2=80=AFAM Eduardo Lemos de Sa <
eduardo.lemosdesa@gmail.com> wrote:

> Dear Johan
>
> On Thu, Sep 21, 2023 at 11:40=E2=80=AFAM Johan Helsingius <julf@julf.com>=
 wrote:
>
>> 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
>

This procedure will change the version from RELEASE to STABLE. I don't
think that is what the OP wants.

--=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]

--0000000000005fdfd20605edb14b
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 Fri, Sep 22, 2023 at 5:20=E2=80=AF=
AM Eduardo Lemos de Sa &lt;<a href=3D"mailto:eduardo.lemosdesa@gmail.com">e=
duardo.lemosdesa@gmail.com</a>&gt; wrote:<br></div><blockquote class=3D"gma=
il_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,2=
04,204);padding-left:1ex"><div dir=3D"ltr"><div dir=3D"ltr">Dear Johan</div=
><br><div class=3D"gmail_quote"><div dir=3D"ltr" class=3D"gmail_attr">On Th=
u, Sep 21, 2023 at 11:40=E2=80=AFAM Johan Helsingius &lt;<a href=3D"mailto:=
julf@julf.com" target=3D"_blank">julf@julf.com</a>&gt; wrote:<br></div><blo=
ckquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left=
:1px solid rgb(204,204,204);padding-left:1ex">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 &quot;No mirrors<br>
remaining, giving up&quot;.<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=
:&quot;dejavu sans mono&quot;,Menlo,Consolas,Monaco,&quot;Liberation Mono&q=
uot;,&quot;Lucida Console&quot;,monospace;font-size:0.75rem">git clone --br=
anch releng/13.2 <a href=3D"https://git.FreeBSD.org/src.git" target=3D"_bla=
nk">https://git.FreeBSD.org/src.git</a>; /usr/src (as described in handbook)=
</span></div><div><span style=3D"background-color:transparent;color:inherit=
;font-family:&quot;dejavu sans mono&quot;,Menlo,Consolas,Monaco,&quot;Liber=
ation Mono&quot;,&quot;Lucida Console&quot;,monospace;font-size:0.75rem">3)=
 cd /usr/src</span></div><div><span style=3D"background-color:transparent;c=
olor:inherit;font-family:&quot;dejavu sans mono&quot;,Menlo,Consolas,Monaco=
,&quot;Liberation Mono&quot;,&quot;Lucida Console&quot;,monospace;font-size=
:0.75rem">4) make -j xx buildworld</span></div><div><span style=3D"backgrou=
nd-color:transparent;color:inherit;font-family:&quot;dejavu sans mono&quot;=
,Menlo,Consolas,Monaco,&quot;Liberation Mono&quot;,&quot;Lucida Console&quo=
t;,monospace;font-size:0.75rem">5) make -j xx buildkernel</span></div><div>=
<span style=3D"background-color:transparent;color:inherit;font-family:&quot=
;dejavu sans mono&quot;,Menlo,Consolas,Monaco,&quot;Liberation Mono&quot;,&=
quot;Lucida Console&quot;,monospace;font-size:0.75rem">6) install them &amp=
; reboot=C2=A0</span></div><div><span style=3D"background-color:transparent=
;color:inherit;font-family:&quot;dejavu sans mono&quot;,Menlo,Consolas,Mona=
co,&quot;Liberation Mono&quot;,&quot;Lucida Console&quot;,monospace;font-si=
ze:0.75rem"><br></span></div><div><span style=3D"background-color:transpare=
nt;color:inherit;font-family:&quot;dejavu sans mono&quot;,Menlo,Consolas,Mo=
naco,&quot;Liberation Mono&quot;,&quot;Lucida Console&quot;,monospace;font-=
size:0.75rem">For future upgrades, I suggest:</span></div><div><span style=
=3D"background-color:transparent;color:inherit;font-family:&quot;dejavu san=
s mono&quot;,Menlo,Consolas,Monaco,&quot;Liberation Mono&quot;,&quot;Lucida=
 Console&quot;,monospace;font-size:0.75rem">cd /usr/src</span></div><div><s=
pan style=3D"background-color:transparent;color:inherit;font-family:&quot;d=
ejavu sans mono&quot;,Menlo,Consolas,Monaco,&quot;Liberation Mono&quot;,&qu=
ot;Lucida Console&quot;,monospace;font-size:0.75rem">git pull</span></div><=
div><span style=3D"background-color:transparent;color:inherit;font-family:&=
quot;dejavu sans mono&quot;,Menlo,Consolas,Monaco,&quot;Liberation Mono&quo=
t;,&quot;Lucida Console&quot;,monospace;font-size:0.75rem">followed by step=
s 4, 5, and so on...</span></div><div><span style=3D"background-color:trans=
parent;color:inherit;font-family:&quot;dejavu sans mono&quot;,Menlo,Consola=
s,Monaco,&quot;Liberation Mono&quot;,&quot;Lucida Console&quot;,monospace;f=
ont-size:0.75rem"><br></span></div><div><span style=3D"background-color:tra=
nsparent;color:inherit;font-family:&quot;dejavu sans mono&quot;,Menlo,Conso=
las,Monaco,&quot;Liberation Mono&quot;,&quot;Lucida Console&quot;,monospace=
;font-size:0.75rem">My best wishes</span></div></div></blockquote><div></di=
v></div><div><br></div>This procedure will change the version from RELEASE =
to STABLE. I don&#39;t think that is what the OP wants.<br clear=3D"all"><d=
iv><br></div><span class=3D"gmail_signature_prefix">-- </span><br><div dir=
=3D"ltr" class=3D"gmail_signature"><div dir=3D"ltr"><div dir=3D"ltr"><div>B=
est regards,<br>Odhiambo WASHINGTON,<br>Nairobi,KE<br>+254 7 3200 0004/+254=
 7 2274 3223<br>&quot;<span style=3D"font-size:12.8px">Oh, the cruft.</span=
><span style=3D"font-size:12.8px">&quot;,=C2=A0</span><span style=3D"font-s=
ize:12.8px">egrep -v &#39;^$|^.*#&#39;=C2=A0</span><span style=3D"backgroun=
d-color:rgb(34,34,34);color:rgb(238,238,238);font-family:&quot;Lucida Conso=
le&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>

--0000000000005fdfd20605edb14b--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAAdA2WMD2kqXRjLwc3zOMEQ07Fcmsxp5e4RQdO4q7S%2BvOmQUPA>