Re: Upgrading from old version (13.0-RELEASE-p4)

From: Eduardo Lemos de Sa <eduardo.lemosdesa_at_gmail.com>
Date: Thu, 21 Sep 2023 23:54:08 UTC
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