Re: Upgrading from old version (13.0-RELEASE-p4)
Date: Fri, 22 Sep 2023 07:37:45 UTC
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]