From owner-freebsd-questions@FreeBSD.ORG Wed Jul 8 01:07:45 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 374711065686 for ; Wed, 8 Jul 2009 01:07:45 +0000 (UTC) (envelope-from esheesle@shadowlair.com) Received: from rogue.shadowlair.com (mail.shadowlair.com [74.92.153.17]) by mx1.freebsd.org (Postfix) with ESMTP id E0D698FC1F for ; Wed, 8 Jul 2009 01:07:44 +0000 (UTC) (envelope-from esheesle@shadowlair.com) Received: from localhost (unknown [127.0.0.1]) by rogue.shadowlair.com (Postfix) with ESMTP id 2FFA850837; Tue, 7 Jul 2009 21:07:44 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=shadowlair.com; h=content-transfer-encoding:content-type:content-type :in-reply-to:references:subject:subject:mime-version:user-agent :from:from:date:date:message-id:received:received; s=shadowlair; t=1247015263; x=1248829663; bh=kFXQxW/+kaS2eiFRyp3cvWZYknCZw2up m1klrn9tC/E=; b=IXdAUufz8JQrZdZ+Z9/kTNkgEmQKb3bsoHspylNi30A+Hm0L 2ngr+n3eAtvHoug/gHgqKWKsD2hNXCM9knVnhgfO8OylSmHA62fjo4wvtzFBsd0i Rzaq8wV2G6Msq32veRHTpABJp6x8Pr/EYrEIytOlphGdf+NZgaoHxjIw2E8= X-Virus-Scanned: amavisd-new at shadowlair.com Received: from rogue.shadowlair.com ([127.0.0.1]) by localhost (rogue.shadowlair.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id plbw4ddoyDPw; Tue, 7 Jul 2009 21:07:43 -0400 (EDT) Received: from [192.168.1.2] (unknown [10.1.10.82]) by rogue.shadowlair.com (Postfix) with ESMTPSA; Tue, 7 Jul 2009 21:07:43 -0400 (EDT) Message-ID: <4A53F15E.2070201@shadowlair.com> Date: Tue, 07 Jul 2009 21:07:42 -0400 From: Eric Sheesley User-Agent: Thunderbird 2.0.0.22 (Windows/20090605) MIME-Version: 1.0 To: "b. f." , freebsd-questions@FreeBSD.org References: <4A53EA20.5090500@shadowlair.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Subject: Re: Portupgrade not handling dependencies 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, 08 Jul 2009 01:07:45 -0000 Actually, the bsdpan package is not the issue here. I was aware it wouldn't update that(no port for this perl module yet anyway). If you notice, it doesn't proceed to install ffmpeg, i force it to(highlighted by ************): ** Listing the failed packages (-:ignored / *:skipped / !:failed) >> - (bsdpan-Acme-Damn-0.04) >> * multimedia/ffmpeg (ffmpeg-2008.07.27_10) **************>> %portupgrade -a >> ---> Skipping 'bsdpan-Acme-Damn-0.04' because it is held by user >> (specify -f to force) >> ---> Upgrading 'ffmpeg-2008.07.27_10' to 'ffmpeg-2008.07.27_11' >> (multimedia/ffmpeg) It should upgrade ffmpeg automatically, but doesn't and that is the issue. b. f. wrote: > On 7/8/09, Eric Sheesley wrote: >> Well, it has been happening with just about every port(no specific ones) >> that have a dependency which is also being built. An example from today: >> >> ===> Registering installation for libtheora-1.0_1 >> ===> Cleaning for libtheora-1.0_1 >> ---> Cleaning out obsolete shared libraries >> [Updating the pkgdb in /var/db/pkg ... - 456 packages >> found (-0 +1) . done] >> ---> Skipping 'multimedia/ffmpeg' (ffmpeg-2008.07.27_10) because a >> requisite package 'libtheora-1.0' () failed (specify -k to force) >> ** Listing the failed packages (-:ignored / *:skipped / !:failed) >> - (bsdpan-Acme-Damn-0.04) >> * multimedia/ffmpeg (ffmpeg-2008.07.27_10) >> %portupgrade -a >> ---> Skipping 'bsdpan-Acme-Damn-0.04' because it is held by user >> (specify -f to force) >> ---> Upgrading 'ffmpeg-2008.07.27_10' to 'ffmpeg-2008.07.27_11' >> (multimedia/ffmpeg) >> ---> Building '/usr/ports/multimedia/ffmpeg' >> > > I see. In the default /usr/local/etc/pkgtools.conf, there is a sample > line (not commented out) that places any port that matches the glob > bsdpan-* in HOLD_PKGS, meaning that portupgrade will refuse to handle > it. Presumably this is so users can manage their own local tree of > Perl ports that aren't in the regular ports tree. I don't do this, so > I'm not familiar with how the two interact. But portupgrade seems to > have done the right thing here: in the snippet you gave us, it ignored > bsdpan-Acme-Damn and proceeded to begin building ffmpeg after updating > libtheora -- the only problem seems to be that in the intermediate > summary it lists ffmpeg, erroneously, as having been skipped -- but > that seems to just be a cosmetic problem, because it then proceeds to > start updating it. If later on it refuses to update it, then you've > got a problem. In that case, you should try running > > pkgdb -L > pkgdb -F > > to make sure that your pkgdb is in good shape, and then try your > updates again. You might also try instead something like: > > portupgrade -ax bsdpan-* > > If that doesn't work, then you may either have to rip out your > bsdpan-* ports, or just use a another tool for updating -- portmaster, > for example. Or you can roll your own. > > > b.