From owner-freebsd-questions@FreeBSD.ORG Wed Nov 10 14:59:29 2010 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 23C2C1065695 for ; Wed, 10 Nov 2010 14:59:29 +0000 (UTC) (envelope-from tobiash@gmail.com) Received: from mail-yx0-f182.google.com (mail-yx0-f182.google.com [209.85.213.182]) by mx1.freebsd.org (Postfix) with ESMTP id D11958FC14 for ; Wed, 10 Nov 2010 14:59:28 +0000 (UTC) Received: by yxf34 with SMTP id 34so417670yxf.13 for ; Wed, 10 Nov 2010 06:59:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type; bh=VW0TDlafbVyEQN2vwfoUVOquwc24Zx75eK7r9JkKS4M=; b=RYV/sMzgUNUWbTgjZrMSjfGtKb18oayoyfAPVmgNL0HF0p0pDffjtfOfdpmnzxyQdz 4MKR6PBwxjL+A7RHhSzSCYEuxvhEIXhmipEVpbBjoI7073zjg6GWoGZP1wdNGMm/+FgM IoAc7Xv3eeE1VM+PL5OaznRAgDNRwCDvR4/MA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=lAR8UZTgKVb3DlSAwfq41X+ybf2NBZJQWK/Fe7zgYPlR5z22wl/Jr8PZUesaaVZF8X iwxUmePBZB5MjlPc4LPCc7sOOgtD3OPn0F6SPtD+GRc8hRoeuN8z112od7ihKrKdOyT1 WgHFAI10+ZR9BXMPpnvAXzlQs0z7mNgi1ehis= MIME-Version: 1.0 Received: by 10.91.63.31 with SMTP id q31mr9000033agk.117.1289401167403; Wed, 10 Nov 2010 06:59:27 -0800 (PST) Received: by 10.100.134.13 with HTTP; Wed, 10 Nov 2010 06:59:27 -0800 (PST) In-Reply-To: References: Date: Wed, 10 Nov 2010 07:59:27 -0700 Message-ID: From: Tobias To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: Package deinstall woes since new portupgrade arrived 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: Wed, 10 Nov 2010 14:59:29 -0000 On Tue, Nov 9, 2010 at 11:50 PM, Tobias wrote: > Howdy freebsd-questions - almost every day I run a "portupgrade --batch > -rav" over my installed packages on my "FreeBSD 8.1-RELEASE #0" system. Two > days ago I noticed that portupgrade itself was updated and that subsequent > packages had troubles updating. > > Here's a sample for a "portupgrade --batch -rav" run: > ... > ===> Building for p5-Set-IntSpan-1.15 > cp IntSpan.pm blib/lib/Set/IntSpan.pm > Manifying blib/man3/Set::IntSpan.3 > ---> Build of math/p5-Set-IntSpan ended at: Tue, 09 Nov 2010 23:38:41 > -0700 (consumed 00:00:01) > ---> Updating dependency info > ---> Uninstallation of p5-Set-IntSpan-1.14 started at: Tue, 09 Nov 2010 > 23:38:45 -0700 > ---> Fixing up dependencies before creating a package > ---> Backing up the old version > ---> Uninstalling the old version > ---> Deinstalling 'p5-Set-IntSpan-1.14' > ** Listing the failed packages (-:ignored / *:skipped / !:failed) > ! p5-Set-IntSpan-1.14 (undefined method `nil' for "":String) > ---> Uninstallation of p5-Set-IntSpan-1.14 ended at: Tue, 09 Nov 2010 > 23:38:56 -0700 (consumed 00:00:11) > ---> Upgrade of math/p5-Set-IntSpan ended at: Tue, 09 Nov 2010 23:38:56 > -0700 (consumed 00:00:16) > ... > > It appears as if the deinstall fails for some (at least to me) unknown > reason. p5-Set-IntSpan was not updated and we end up with lots of stale > dependencies that need to be fixed via "pkgdb -F". If I manually do a "make > deinstall reinstall" in the port-directory then the deinstall does not have > any issues. > > Does anybody know where I should be looking for a solution to the > "(undefined method `nil' for "":String)" problem? > > Thanks - Tobias > Just in case somebody faces the same issue. I used "portdowngrade" to revert portupgrade back to version 2.4.6_4 and then things worked as before. Thanks - Tobias