From owner-freebsd-ports@FreeBSD.ORG Sat Apr 11 15:00:07 2009 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 359D2106564A for ; Sat, 11 Apr 2009 15:00:07 +0000 (UTC) (envelope-from david@vizion2000.net) Received: from dns1.vizion2000.net (77-99-36-42.cable.ubr04.chap.blueyonder.co.uk [77.99.36.42]) by mx1.freebsd.org (Postfix) with ESMTP id E27D48FC15 for ; Sat, 11 Apr 2009 15:00:06 +0000 (UTC) (envelope-from david@vizion2000.net) Received: by dns1.vizion2000.net (Postfix, from userid 1007) id E2D951CC1D; Sat, 11 Apr 2009 08:35:14 -0700 (PDT) From: David Southwell Organization: Voice and Vision To: freebsd-ports@freebsd.org Date: Sat, 11 Apr 2009 08:35:14 -0700 User-Agent: KMail/1.9.10 References: <486EACE56EE9A4FF9B93958A@utd65257.utdallas.edu> <29774DBA177D06A982491ADD@utd65257.utdallas.edu> <49DF9355.8030807@gmail.com> In-Reply-To: <49DF9355.8030807@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200904110835.14672.david@vizion2000.net> Cc: Paul Schmehl , "kimelto@gmail.com" Subject: Re: Can I resume the perl upgrade? X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 11 Apr 2009 15:00:07 -0000 On Friday 10 April 2009 11:43:33 kimelto@gmail.com wrote: > Paul Schmehl wrote: > > --On Friday, April 10, 2009 11:17:00 -0500 Paul Schmehl > > > > wrote: > >> According to /usr/ports/UPDATING, if you want to upgrade to perl5.10, > >> you do > >> the following: > >> > >> Portupgrade users: > >> 0) Fix pkgdb.db (for safety): > >> pkgdb -Ff > >> > >> 1) Reinstall perl with new 5.10: > >> portupgrade -o lang/perl5.10 -f perl-5.8.\* > >> > >> 2) Reinstall everything that depends on Perl: > >> portupgrade -fr perl > >> > >> My machine got rebooted right in the middle of step 3. Is there a > >> way to > >> resume where I left off? Or do I just start over? > > > > Let me rephrase. I don't see a way in portupgrade to start over where > > I left off. However, pkg_info -R lang/perl* shows that all my ports > > depend on 5.10 and no ports are still depending upon 5.8. Is it safe > > to assume that the reboot happened after portupgrade had finished? > > Nope. With this info you can assume that step 2/3 worked. Not the step 3/3. > I dont know how to restart at the stage it was before reboot as I dont > use portupgrade. > Personnaly, as portmaster failed with some ports and abort the whole > update process, I wrote a simple sh script which loop over the packages > which need perl (got via the via pkg_info -R, need reordering > thought...), exec portmaster ${PKG}, and keep a list of which reinstall > succeed and which failed. > > Regards I hope it is not too far off topic but: Can anyone tell me how to fix this one: Stale dependency: bsdpan-Pod-Perldoc-3.15 -> perl-5.8.9_2 (lang/perl5.8): can't convert nil into string My update to 10 seems to be OK except for this.. I cannot find its origin so do not know what to deinstall and reinstall It would also be great to get all bsdpan into the pkgdb with their origins.. is there any way to do that? Thanks in advance David