From owner-freebsd-questions@FreeBSD.ORG Thu Oct 15 00:05:50 2009 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 7BA811065676 for ; Thu, 15 Oct 2009 00:05:50 +0000 (UTC) (envelope-from amvandemore@gmail.com) Received: from mail-yx0-f184.google.com (mail-yx0-f184.google.com [209.85.210.184]) by mx1.freebsd.org (Postfix) with ESMTP id 300548FC0A for ; Thu, 15 Oct 2009 00:05:50 +0000 (UTC) Received: by yxe14 with SMTP id 14so1003558yxe.7 for ; Wed, 14 Oct 2009 17:05:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=CK1wDMNG2tKmcXj8Rx1t2c5Evh/S9iGlm2nOCiwyBBY=; b=L7gHN6kyBb+EbT5TSoNHfmdpK24woB6UDnTmbCiNo2W4mV2YFbEeTS3VGtnzVFVi0d sEFruFr6A/Gj8SOtr9zxEZFcTaDhgMlMIo9nQwm6ynA+oO4aYnVhUA0ESHr0sy3v0iZr j6ZIk+Dj7u7hQoa4umpk2PK+op70N6Os6AAs8= 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 :cc:content-type; b=jCBXgJXQlXni/9iK6CJe9tJNFtjELetZWdh0V3/kb5mSxkk4Egt0+Mc+0iw4ljmhuO ru+vBhiilkRoXwZ8xZeNMmy4F9xGDn3bzqeWZTPx0psO0aOmtdWWDrNXX06CN6VsGl7N ayHpN+dXz+W4Phx95ffRaOyYtkYD5N/Xeopaw= MIME-Version: 1.0 Received: by 10.150.239.1 with SMTP id m1mr16027513ybh.152.1255565149485; Wed, 14 Oct 2009 17:05:49 -0700 (PDT) In-Reply-To: <4AD65812.20303@palaceofretention.ca> References: <4AD65812.20303@palaceofretention.ca> Date: Wed, 14 Oct 2009 19:05:49 -0500 Message-ID: <6201873e0910141705q43c521b4k90be881f368c2dcc@mail.gmail.com> From: Adam Vande More To: Vinny Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: FreeBSD Mailing List Subject: Re: Experiencing blank @pkgdep entries 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: Thu, 15 Oct 2009 00:05:50 -0000 On Wed, Oct 14, 2009 at 6:00 PM, Vinny < vinny-mail-01+f.questions20091014@palaceofretention.ca > wrote: > Hi, > > I tried to do some port maintenance, specifically, > updating python and its ports to 2.6. I used > the instructions in UPDATING for portmaster: > > 20090608: > AFFECTS: users of lang/python* and py-* > AUTHOR: miwi@FreeBSD.org > > The default version of Python has been changed from 2.5.x to 2.6.x. > ... > > # portmaster -o lang/python26 lang/python25 > > I did not retain 2.5 as the default, so I did not create > the make.conf variable entry, nor did I run the 'portupgrade -R > python' command (I deduced the portupgrade -R command was for > those who wish to retain 2.5, was that correct?). > > Anyway, I ran: > > # cd /usr/ports/lang/python && make upgrade-site-packages -DUSE_PORTMASTER > > Aside: From memory, I saw some complaints about libtool15/22 pass by. > Must one follow the UPDATING's timeline in reverse when doing an > upgrade that might touch many files? I.e. should I have run the > libtool/libtldl upgrade before python's? > Yes, but you're more likely to run into these dependencies issues the longer you wait between upgrades. > > To continue: It chugged along (while annoyingly asking me about > deleting distfiles) man portmaster > until it hung on a fetch (net issues). I hit > CTRL-C and reran the above make command. It continued and ended > after a while with a status report of quite a few update failures > with 'uninstall errors'. > > These were due to pkg_delete or 'make deinstall' dumping core > on blank @pkgdep lines in various ports' +CONTENTS files. > > These blank pkgdep entries weren't there before I started the > upgrade process, as evidenced by my current backup of the > /var/db/pkg database, which has no blank entries in any +CONTENTS > files. I got a nice command line from the net somewhere: > > grep -E '^@(pkgdep|name)[[:space:]]*$' /var/db/pkg/*/+CONTENTS > > I don't believe hitting CTRL-C during the fetch could have > caused ALL these blank @pkgdep lines. There were upwards > of 50 ports with this problem after running the make commands. > > Is this a know problem? I've only seen a couple of threads > and they were one-off's (i.e. one port affected only). > > I restored from backup, but I'd still like to upgrade python. > Hopefully, I can achieve this without corrupting my port > databases. > I have run into issues with both portupgrade and portmaster. I prefer portmaster but it doesn't always work and neither does portupgrade. As noted by the UPDATING entry, portupgrade does a smoother on the python upgrade. > > Anyone have any information or comments? Thanks a lot! > > Vinny > > > > _______________________________________________ > 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" > -- Adam Vande More