From owner-freebsd-questions@freebsd.org Fri Apr 15 10:12:43 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0894CAED32B for ; Fri, 15 Apr 2016 10:12:43 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id E95701D12 for ; Fri, 15 Apr 2016 10:12:42 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: by mailman.ysv.freebsd.org (Postfix) id E85C8AED32A; Fri, 15 Apr 2016 10:12:42 +0000 (UTC) Delivered-To: questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E8057AED329 for ; Fri, 15 Apr 2016 10:12:42 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de (mx01.qsc.de [213.148.129.14]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id B16241D11 for ; Fri, 15 Apr 2016 10:12:42 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r56.edvax.de (port-92-195-71-243.dynamic.qsc.de [92.195.71.243]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx01.qsc.de (Postfix) with ESMTPS id C422C3CD32; Fri, 15 Apr 2016 12:03:47 +0200 (CEST) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id u3FA3j54002048; Fri, 15 Apr 2016 12:03:46 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Fri, 15 Apr 2016 12:03:45 +0200 From: Polytropon To: "Allan Kapoma" Cc: , "'Nalumino Moola'" Subject: Re: Upgrading from FreeBSD 4.1 Message-Id: <20160415120345.ee062152.freebsd@edvax.de> In-Reply-To: <003401d196ee$258ee680$70acb380$@zamnet.zm> References: <003401d196ee$258ee680$70acb380$@zamnet.zm> Reply-To: Polytropon Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Apr 2016 10:12:43 -0000 On Fri, 15 Apr 2016 10:09:34 +0200, Allan Kapoma wrote: > I'm running FreeBSD 4.10 and I want to upgrade the system to a later version > of FreeBSD. This version has reached EOL (end of life) many years ago and is not supported anymore. > However, whenever I run commands to update the system (# freebsd-update), or > install portsnap, or install portmanager, or pkg commands, portsnap fetch > extract, I'm getting the message that command not found That is to be expected. The pkg command has been introduced in FreeBSD 9, where the whole ports infrastructure has been changed as well. The portsnap command also isn't part of FreeBSD 4. So even if you have a working installation of ports tools, they won't work with current ports. > I'm asking for assistance on how I can enable the system (FreeBSD 4.10) to > run these commands and hopefully update my system and packages on it The easiest way I can think of is that you get a new disk and install FreeBSD 10.3 on it, which is the current production release. I would not suggest using FreeBSD 9 (legacy release) except you have _very_ good and valid reasons to do so. Check if you need the 32 bit or the 64 bit version. After installing the OS, install the programs that you need, either via pkg or using the ports collection. Then migrate your configuration data, user accounts, databases, mailboxes or whatever you want to keep from your FreeBSD 4 installation. Do not modify that installation or overwrite it ("implicit backup"), so you can always access it if you think you forgot something. Then continue using the FreeBSD 10 installation which is far easier to keep current than FreeBSD 4. The trouble of an "in-place upgrade" simply isn't worth it (even though it is possible, but still hard work). -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...