From owner-freebsd-questions@FreeBSD.ORG Fri Jun 16 21:10:20 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A48BF16A479 for ; Fri, 16 Jun 2006 21:10:20 +0000 (UTC) (envelope-from chris@childeric.freeserve.co.uk) Received: from smtp-out2.blueyonder.co.uk (smtp-out2.blueyonder.co.uk [195.188.213.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id 08B3043D45 for ; Fri, 16 Jun 2006 21:10:17 +0000 (GMT) (envelope-from chris@childeric.freeserve.co.uk) Received: from [172.23.170.144] (helo=anti-virus03-07) by smtp-out2.blueyonder.co.uk with smtp (Exim 4.52) id 1FrLa4-0008DU-BV for freebsd-questions@freebsd.org; Fri, 16 Jun 2006 22:10:16 +0100 Received: from [82.35.115.93] (helo=[192.168.10.60]) by asmtp-out1.blueyonder.co.uk with esmtpa (Exim 4.52) id 1FrLa3-0008QK-ND for freebsd-questions@freebsd.org; Fri, 16 Jun 2006 22:10:15 +0100 Message-ID: <44931E36.7070701@childeric.freeserve.co.uk> Date: Fri, 16 Jun 2006 22:10:14 +0100 From: Chris Whitehouse User-Agent: Thunderbird 1.5 (X11/20060417) MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <448C5861.5010901@rzweb.com> <20060613215032.P12687@tripel.monochrome.org> In-Reply-To: <20060613215032.P12687@tripel.monochrome.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: Upgrading Ports on 5.3 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: Fri, 16 Jun 2006 21:10:20 -0000 Chris Hill wrote: > On Sun, 11 Jun 2006, Ron wrote: > >> Is there a way to use the current ports system if I am still running 5.3? > > That's the only way. > >> I really need to update subversion, mysql, plus make sure I'm running >> the latest versions of other software, but since 5.4 came out (and now >> 5.5 and 6.0), I am no longer been able to get new ports. >> >> If change my cvs-supfile to be: >> >> ------ >> *default tag=RELENG_5_4 > > I second what Bill Moran said: "tag=." for ports. I keep two separate > supfiles - one for the system, another for ports. (I'm also running 5.4 > on this machine.) I'll send them to you off-list if you want. > > If you still have the original ports tree from when you installed 5.4, > it's kind of long in the tooth by now and there may initially be a > certain amount of dependency hell, but I'd bite the bullet and do it > anyway when you have a free Saturday; it will fix a lot of problems, and > will be less trouble down the road. > >> If someone can point me to some specific information that will help, I >> would be very appreciative. > > What I usually do is > > # cvsup -g /etc/cvsupfile.ports <- my ports supfile with "tag=." I've found the very excellent portmanager walks through most complex updates. It will only upgrade ports that need it but if yours are old that probably means most so it's going to take time. portmanager -s will tell you what needs to be done portmanager -u -l will do it. If you are upgrading jdk14 run make -n in the java/jdk14 directory and manually fetch any files it wants into distfiles/. Also I run portmanager -s > some.file to get a list of what needs doing, then use some.file to make a script that looks in each port directory that's going to get upgraded and does make config - then portmanager can pretty well run unattended. (I'm still experimenting with the make config bit so ymmv) Chris > # pkgdb -aF <- may throw a lot of errors, esp. > <- if you have an old ports tree. > <- Fix manually if needed! > # cd /usr/ports > # portsdb -u > # portsclean -C > # pkgdb -u > # portversion -v | grep needs <- see what "needs" to be upgraded > > ...and then > > # portupgrade -Rr > > or if I really have a lot of time, > > # portupgrade -aRr > > ...which will upgrade everything, but may take many hours even on a fast > machine. > > HTH. > > -- > Chris Hill chris@monochrome.org > ** [ Busy Expunging <|> ] > _______________________________________________ > 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" > >