Skip site navigation (1)Skip section navigation (2)
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

[-- Attachment #1 --]
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

Eduardo


-- 
Eduardo Lemos de Sa
Professor Titular
Dep. Quimica da Universidade Federal do Paraná
fone: +55(41)3361-3300
fax:   +55(41)3361-3186

[-- Attachment #2 --]
<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">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">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><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">Eduardo</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><br></div><span class="gmail_signature_prefix">-- </span><br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div>Eduardo Lemos de Sa<br>Professor Titular<br>Dep. Quimica da Universidade Federal do Paraná<br>fone: +55(41)3361-3300<br>fax:   +55(41)3361-3186<br></div></div></div></div></div></div>

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CA%2BnjGkutWREK8MgSmOS%2Bj=4QMmU9jQHrEZgzVr1cMOueN6CkAg>