From nobody Fri Sep 22 07:37:45 2023 X-Original-To: freebsd-questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4RsPJf30pGz4vgsL for ; Fri, 22 Sep 2023 07:38:26 +0000 (UTC) (envelope-from odhiambo@gmail.com) Received: from mail-lj1-x22a.google.com (mail-lj1-x22a.google.com [IPv6:2a00:1450:4864:20::22a]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4RsPJd49gZz4SYc for ; Fri, 22 Sep 2023 07:38:25 +0000 (UTC) (envelope-from odhiambo@gmail.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20230601 header.b=Dr2vXZq+; spf=pass (mx1.freebsd.org: domain of odhiambo@gmail.com designates 2a00:1450:4864:20::22a as permitted sender) smtp.mailfrom=odhiambo@gmail.com; dmarc=pass (policy=none) header.from=gmail.com Received: by mail-lj1-x22a.google.com with SMTP id 38308e7fff4ca-2c131ddfeb8so21142921fa.3 for ; Fri, 22 Sep 2023 00:38:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1695368302; x=1695973102; darn=freebsd.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=R7XHTIi/oDavgpOYKws7uDl/iwvH/bULjQWEQj2HNEY=; b=Dr2vXZq+fGD8xON+5DMRzvIShOMK02NSn5jDogryvo7MI35bAr9q1g4JXFH2ilVaWr J3QCqbKyS2jFz3mwhHVhC4s/LErizU4tdZvpoqnmx5QK3lza3+BEGAKbm6NgtNR1kImg x6VIHSc7uwtwbQxMINrVjAtjz2WPQfgaK9shmnhFG5jHDZ3ltfrh71ksnv3ADfr1k4+C bC5ktQ3GcEHEZZFf8JSMa0B8um6uURniBP6bnv8v4UvWuWnOnY+Iu/CgOlM48i21MUo4 KYDdVeW2kPUef1jrepTMX0GN7muX0h0VYsfQJQxeqA+6QvGQ352m5vLVAE9jsYERHBFT jWIQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1695368302; x=1695973102; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=R7XHTIi/oDavgpOYKws7uDl/iwvH/bULjQWEQj2HNEY=; b=RDCaCULSojJ28ftJnkEhKrXhGGgWyv5IYoKNjm8x9coKoZENdaktELn0yti+PomE8h MJdT9XfioqCqv83d2in/Zzftk+9dTy2KrGmrNgo/0jmNSk67dzIrDSlsft67WPZtzbJ9 Jbvt+HI01OtpynlxnYxjyurToat4pBpXnrkdvEJn3TihpEQJCDR5pQF8NYTkop017pO+ yoozvcpPSwgeLJxf75ForK3qf6e4rPqHIktF+kzea6Q+35CzeE5CbVfZ6tBdEIpDGEjA 9mWNOaEPyGQJAatjyNPyaaQpeqO02xH9Yk9/WAV57KmCd9rmeQXe2CT3FQXPU26M+sy1 gI7g== X-Gm-Message-State: AOJu0YzrD7ly+t/LU0SvKsIbmQXyHLW7EFWs023QBf0pQ/bufI6rWdyY l5auJaApgdwZ6ZHPXW5F7bvyBMCpq3ohJMLQG29HVZJY+lgJ+w+H X-Google-Smtp-Source: AGHT+IERpaAgHonS4J9QIzquu3D8QcCezjcNV1LPeb3KhXG7XZ2vPHOjCgSzrwpPLkl+26mjCcKvVw2yqWEljMQR6bs= X-Received: by 2002:a2e:968f:0:b0:2bf:df8c:4e5e with SMTP id q15-20020a2e968f000000b002bfdf8c4e5emr7378981lji.15.1695368301500; Fri, 22 Sep 2023 00:38:21 -0700 (PDT) List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 References: <73cf476a-d113-f724-8a35-bc6ee6fc88be@Julf.com> In-Reply-To: From: Odhiambo Washington Date: Fri, 22 Sep 2023 10:37:45 +0300 Message-ID: Subject: Re: Upgrading from old version (13.0-RELEASE-p4) To: Eduardo Lemos de Sa Cc: Johan Helsingius , "freebsd-questions@FreeBSD.org" Content-Type: multipart/alternative; boundary="0000000000005fdfd20605edb14b" X-Spamd-Bar: --- X-Spamd-Result: default: False [-4.00 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-0.999]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20230601]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; RCPT_COUNT_THREE(0.00)[3]; FROM_HAS_DN(0.00)[]; TO_DN_EQ_ADDR_SOME(0.00)[]; TAGGED_RCPT(0.00)[]; ARC_NA(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::22a:from]; MID_RHS_MATCH_FROMTLD(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; FREEMAIL_FROM(0.00)[gmail.com]; TO_DN_SOME(0.00)[]; RCVD_TLS_LAST(0.00)[]; RCVD_COUNT_ONE(0.00)[1]; FROM_EQ_ENVFROM(0.00)[]; FREEMAIL_TO(0.00)[gmail.com]; FREEMAIL_ENVFROM(0.00)[gmail.com]; MIME_TRACE(0.00)[0:+,1:+,2:~]; MLMMJ_DEST(0.00)[freebsd-questions@freebsd.org] X-Rspamd-Queue-Id: 4RsPJd49gZz4SYc --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 = 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


=
On Fri, Sep 22, 2023 at 5:20=E2=80=AF= AM Eduardo Lemos de Sa <e= duardo.lemosdesa@gmail.com> wrote:
Dear Johan
On Th= u, 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?


=C2=A0 =C2=A0 =C2=A0 =C2=A0 Julf



My suggestion is:

1) remove all files under /usr/src (including .git etc)
2)= =C2=A0git clone --br= anch 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=C2=A0

For future upgrades, I suggest:
cd /usr/src
git pull
<= div>followed by step= s 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.

--
B= est regards,
Odhiambo WASHINGTON,
Nairobi,KE
+254 7 3200 0004/+254= 7 2274 3223
"Oh, the cruft.",=C2=A0egrep -v '^$|^.*#'=C2=A0=C2= =AF\_(=E3=83=84)_/=C2=AF=C2=A0:-)
[How to ask smart question= s:=C2=A0http://www.catb.org/~= esr/faqs/smart-questions.html]
--0000000000005fdfd20605edb14b--