From owner-freebsd-questions@FreeBSD.ORG Sat Jul 16 08:44:58 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3BB7E106566C for ; Sat, 16 Jul 2011 08:44:58 +0000 (UTC) (envelope-from kraduk@gmail.com) Received: from mail-gy0-f182.google.com (mail-gy0-f182.google.com [209.85.160.182]) by mx1.freebsd.org (Postfix) with ESMTP id EDDF68FC14 for ; Sat, 16 Jul 2011 08:44:57 +0000 (UTC) Received: by gyf3 with SMTP id 3so1000953gyf.13 for ; Sat, 16 Jul 2011 01:44:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=PzLJI2M4eSsGWtoIR02CuLUzAn4SW4yNS6kvfQEqUJ8=; b=Ulwiq3wKNGTOsAallDvALWx9M9jYxUTZnb0yyu5OWe2nYVCSHGqUJHMrcmLEXEXT/6 9FrCvjGu2u44Xoc5cV0PmYfD6reL9L5ZXf7c8me7L7XfA7MC7L43QqIZ2Ctqkak1egsL nPvWNRhZZ6q893MQSia73qFNOYgzYKzPseHbM= MIME-Version: 1.0 Received: by 10.236.137.140 with SMTP id y12mr1799683yhi.191.1310805896216; Sat, 16 Jul 2011 01:44:56 -0700 (PDT) Received: by 10.236.103.15 with HTTP; Sat, 16 Jul 2011 01:44:56 -0700 (PDT) In-Reply-To: References: <20110715204615.GB12391@slackbox.erewhon.net> Date: Sat, 16 Jul 2011 09:44:56 +0100 Message-ID: From: krad To: =?ISO-8859-1?B?QmFs4XpzIE3hdOlmZnk=?= Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: FreeBSD Subject: Re: Upgrading very old installation X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 16 Jul 2011 08:44:58 -0000 On 15 July 2011 22:12, Bal=E1zs M=E1t=E9ffy wrote: > On 15 July 2011 22:46, Roland Smith wrote: > > > On Fri, Jul 15, 2011 at 08:20:52AM -0400, Jaime Kikpole wrote: > > > I'm running a FreeBSD 6.x server that hasn't been updated in about 1.= 5 > > years. > > > > > > atlas:~>uname -mprs > > > FreeBSD 6.4-RELEASE-p8 i386 i386 > > > > > I've been using the cvsup/make method of upgrades for years and only > > > used freebsd-upgrade once. I'm not sure if either method can handle = a > > > 6.x to 8.x upgrade. > > > > They are tested for upgrading to the next major version. Who knows if i= t > > will > > work across two major versions? Personally I wouldn't want to be the on= e > ot > > try it out. :-) > > > > > I also have a bunch of ports in this server (e.g. apache, postfix, > > > etc.) Once the OS is updated, should I just portupgrade them all? > > > > Doesn't work reliably across major version updates. When updating to a > > newer > > major version, the best way is to delete all ports (save their config > files > > of course), scrub the /usr/local tree clean and then re-install them. > > > > Matthews advice of re-installing 8.2 on a second harddrive is probably > the > > easiest and safest way to go. > > > > Roland > > -- > > R.F.Smith > http://www.xs4all.nl/~rsmith/ > > [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciate= d] > > pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A72= 5) > > > > Hi, > > I would try to update the split mirror of the 6.4 to 8.2, I did manage to > update couple of years back from Releng6 to Current 8 :). > > Did the usual make kernel / world stuff mergemaster prebuild in the middl= e > and mergemaster after the update then I rebuilt all the ports. > > I recently did a 6.4-STABLE > 8.2-RELEASE-p2 migration to another server, > but without using only some initial old config files from the old system > because I had to build a better environment with other software for the > same > role (almost the same thing that Matt recommended you). For me this is a > longer procedure then updating all the software and checking for maybe no= w > deprecated options and other problems. > > So I think its down to your level of knowledge and personal preference ( > whether you want to check what is to problem in case something goes wrong= - > I > like this because I get to know the system and the inner workings in more > detail). I personally don't like freebsd-update, and if your are new to t= he > build from source way, you should really go with building up from scratch= , > then migrate. > > In case you want to update have a WORKING backup, and do a test run for t= he > update (restore your 6.4 on a test machine and try to update it) before y= ou > bring down the productive system. > > Good luck! > > Regards, > > Balazs. > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" > Also one thing to watch with ports is thing like lang/php tend to jump a point release or a major release. Its kind of anoying in my opinion that lang/php can be php v4, 5.2 or 5.3 depending on what version of the os you run, when there is stall a php52 port in say 8-stable. Makes keeping consistent php versions more difficult. In my experience portmaster is better than portupgrade as it doesnt have to mess around with binary dbs of the ports