From owner-freebsd-ports@FreeBSD.ORG Fri Apr 10 18:05:24 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 8F5D41065673 for ; Fri, 10 Apr 2009 18:05:24 +0000 (UTC) (envelope-from amdmi3@amdmi3.ru) Received: from smtp.timeweb.ru (smtp.timeweb.ru [217.170.79.85]) by mx1.freebsd.org (Postfix) with ESMTP id 4BE148FC12 for ; Fri, 10 Apr 2009 18:05:24 +0000 (UTC) (envelope-from amdmi3@amdmi3.ru) Received: from [213.148.20.85] (helo=hive.panopticon) by smtp.timeweb.ru with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from ) id 1LsL6U-0003yy-4K; Fri, 10 Apr 2009 22:05:26 +0400 Received: from hades.panopticon (hades.panopticon [192.168.0.32]) by hive.panopticon (Postfix) with ESMTP id AF3CBC2CB; Fri, 10 Apr 2009 22:05:37 +0400 (MSD) Received: by hades.panopticon (Postfix, from userid 1000) id 9D99010883E; Fri, 10 Apr 2009 22:05:04 +0400 (MSD) Date: Fri, 10 Apr 2009 22:05:04 +0400 From: Dmitry Marakasov To: Brian Whalen Message-ID: <20090410180504.GE81025@hades.panopticon> References: <486EACE56EE9A4FF9B93958A@utd65257.utdallas.edu> <49DF7A02.80802@brianwhalen.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <49DF7A02.80802@brianwhalen.net> User-Agent: Mutt/1.5.19 (2009-01-05) Cc: freebsd-ports@freebsd.org 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: Fri, 10 Apr 2009 18:05:25 -0000 * Brian Whalen (brian@brianwhalen.net) 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? > > > What about perl-after-upgrade instead of step 3? I havent done this > perl upgrade yet, but normally this is enough. I did this: find /var/db/pkg -name "+CONTENTS" | xargs grep --files-with-match "lib/perl5.*5.8.9" | awk -F/ '{print $5}' then this: for f in `find /usr/local/bin /usr/local/lib /usr/local/libexec /usr/local/sbin -type f`; do ldd $f 2>/dev/null | grep -q libperl && pkg_which $f; done and portupgraded only named ports. No problems so far. -- Dmitry Marakasov . 55B5 0596 FF1E 8D84 5F56 9510 D35A 80DD F9D2 F77D amdmi3@amdmi3.ru ..: jabber: amdmi3@jabber.ru http://www.amdmi3.ru