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

[-- Attachment #1 --]
On Fri, Sep 22, 2023 at 5:20 AM Eduardo Lemos de Sa <
eduardo.lemosdesa@gmail.com> wrote:

> Dear Johan
>
> On Thu, Sep 21, 2023 at 11:40 AM 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.

-- 
Best regards,
Odhiambo WASHINGTON,
Nairobi,KE
+254 7 3200 0004/+254 7 2274 3223
"Oh, the cruft.", egrep -v '^$|^.*#' ¯\_(ツ)_/¯ :-)
[How to ask smart questions:
http://www.catb.org/~esr/faqs/smart-questions.html]

[-- Attachment #2 --]
<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Sep 22, 2023 at 5:20 AM Eduardo Lemos de Sa &lt;<a href="mailto:eduardo.lemosdesa@gmail.com">eduardo.lemosdesa@gmail.com</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr">Dear Johan</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Sep 21, 2023 at 11:40 AM Johan Helsingius &lt;<a href="mailto:julf@julf.com" target="_blank">julf@julf.com</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="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>
        Julf<br>
<br>
<br>
</blockquote></div><div><br></div><div>My suggestion is:</div><div><br></div><div>1) remove all files under /usr/src (including .git etc)</div><div>2) <span style="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">git clone --branch releng/13.2 <a href="https://git.FreeBSD.org/src.git" target="_blank">https://git.FreeBSD.org/src.git</a>; /usr/src (as described in handbook)</span></div><div><span style="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">3) cd /usr/src</span></div><div><span style="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">4) make -j xx buildworld</span></div><div><span style="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">5) make -j xx buildkernel</span></div><div><span style="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 </span></div><div><span style="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"><br></span></div><div><span style="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">For future upgrades, I suggest:</span></div><div><span style="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">cd /usr/src</span></div><div><span style="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">git pull</span></div><div><span style="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">followed by steps 4, 5, and so on...</span></div><div><span style="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"><br></span></div><div><span style="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">My best wishes</span></div></div></blockquote><div></div></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="all"><div><br></div><span class="gmail_signature_prefix">-- </span><br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div dir="ltr"><div>Best regards,<br>Odhiambo WASHINGTON,<br>Nairobi,KE<br>+254 7 3200 0004/+254 7 2274 3223<br>&quot;<span style="font-size:12.8px">Oh, the cruft.</span><span style="font-size:12.8px">&quot;, </span><span style="font-size:12.8px">egrep -v &#39;^$|^.*#&#39; </span><span style="background-color:rgb(34,34,34);color:rgb(238,238,238);font-family:&quot;Lucida Console&quot;,Consolas,&quot;Courier New&quot;,monospace;font-size:13.6px">¯\_(ツ)_/¯</span><span style="font-size:12.8px"> :-)</span></div><div><span style="font-size:12.8px">[How to ask smart questions: </span><span style="font-size:12.8px"><a href="http://www.catb.org/~esr/faqs/smart-questions.html" target="_blank">http://www.catb.org/~esr/faqs/smart-questions.html</a>]</span></div></div></div></div></div>;

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