From nobody Thu Sep 21 23:54:08 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 4RsC1D36QGz4v9qm for ; Thu, 21 Sep 2023 23:54:24 +0000 (UTC) (envelope-from eduardo.lemosdesa@gmail.com) Received: from mail-lj1-x22e.google.com (mail-lj1-x22e.google.com [IPv6:2a00:1450:4864:20::22e]) (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 4RsC1D1BTMz4Q1r for ; Thu, 21 Sep 2023 23:54:24 +0000 (UTC) (envelope-from eduardo.lemosdesa@gmail.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-lj1-x22e.google.com with SMTP id 38308e7fff4ca-2bfed7c4e6dso26722621fa.1 for ; Thu, 21 Sep 2023 16:54:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1695340460; x=1695945260; darn=freebsd.org; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :from:to:cc:subject:date:message-id:reply-to; bh=BkvDg66qejS1Qy0cqY9LZeeqcp+KsjoLTkWICmL3DTw=; b=f2i5n/lkkiCoOag0dFcnk3G9fP2BlCPnImBE1Y+BCjXXYj2KdO3qTLoDwF2HEWItsG pg3d7TvfNn3zj2SjlbFxwN7D4iLRCaT3XGiMDeM6nDvQhJQh9nP6zQKPYZdLNR8WXdK8 7uJQdaGE1xFRcJEeoaJ14AXv4gFBclPTTBTwGL5VooBHNGsIxGVQeEsn/1C8ephIsbSy QF2+iVuGZXp/yHhT9DHgObqn48VYX1FfycPnLMbZcgIXexMtYgvgDxqelS8bdU3/lNA7 rydCQz1nffgeLUeSHR20cxs8FvRnt0XA4JF7GHs/MLP8iHh9ciyTDFN/ulzgM96wweQZ AQAw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1695340460; x=1695945260; h=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=BkvDg66qejS1Qy0cqY9LZeeqcp+KsjoLTkWICmL3DTw=; b=YTMzFMjjsJbUjOBbPEbYxF5S9kuJVLaXQSF+RmMwr5l3AoAdODrwF8qG2bs8uXVfgA aXgiuMPs22vM+0bczC1bEwkzEkmYq0fhklbMwG1YXE5JJNg4UnUJjqpVd3USqgXPRKoY FH8B00lePEeMI5k/zfDzbj/TDJdi8rE9I9fqNhskQm9g5m3OPFHdOw055I9n/L8nnn6T sHzACE+biNGTvPbFRW/C+rOFvKu3xeyMdGNVsF4xtjEWRXaAf7J94GYjkVFDL6rFCT+o bvJ7oG3rD0cVoiR32oifWuv4KXXfSY74qYsvbVEt2jXC248N/SzeMH8VTbSQFViIUudt Ui0g== X-Gm-Message-State: AOJu0YxMSh2LBMRwpvPzapalC3oPxp9/YhJSXAbilahprrK+7igQDg/7 O8FOgI5sMhA3RRWUozoSd+RnclgQGkJYfYYPUi5jYMZNE30= X-Google-Smtp-Source: AGHT+IEhtMrT7kzUaozf1BGeG/CB/ocPuo5jzlJSub8BXJEuw14Z93NLNGpO3X+m0yn780aE+6yBAIKYEuXFvkOtnKg= X-Received: by 2002:a2e:920f:0:b0:2bc:cff6:f506 with SMTP id k15-20020a2e920f000000b002bccff6f506mr6094356ljg.0.1695340459198; Thu, 21 Sep 2023 16:54:19 -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: <73cf476a-d113-f724-8a35-bc6ee6fc88be@Julf.com> From: Eduardo Lemos de Sa Date: Thu, 21 Sep 2023 20:54:08 -0300 Message-ID: Subject: Re: Upgrading from old version (13.0-RELEASE-p4) To: Johan Helsingius , "freebsd-questions@FreeBSD.org" Content-Type: multipart/alternative; boundary="000000000000d80e180605e73587" X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; TAGGED_FROM(0.00)[] X-Rspamd-Queue-Id: 4RsC1D1BTMz4Q1r --000000000000d80e180605e73587 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Dear Johan On Thu, Sep 21, 2023 at 11:40=E2=80=AFAM Johan Helsingius w= rote: > 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 --=20 Eduardo Lemos de Sa Professor Titular Dep. Quimica da Universidade Federal do Paran=C3=A1 fone: +55(41)3361-3300 fax: +55(41)3361-3186 --000000000000d80e180605e73587 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Dear Johan

On Thu, 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.Fr= eeBSD.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
followed by steps 4, 5, and so on..= .
<= br>
My best wishes

Eduardo


--
Eduardo Lemos de Sa
Professor = Titular
Dep. Quimica da Universidade Federal do Paran=C3=A1
fone: +55= (41)3361-3300
fax: =C2=A0 +55(41)3361-3186
--000000000000d80e180605e73587--