From owner-freebsd-ports@FreeBSD.ORG Tue Aug 28 22:52:18 2012 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 990311065670 for ; Tue, 28 Aug 2012 22:52:18 +0000 (UTC) (envelope-from matthias.andree@gmx.de) Received: from mailout-de.gmx.net (mailout-de.gmx.net [213.165.64.22]) by mx1.freebsd.org (Postfix) with SMTP id DC8568FC0C for ; Tue, 28 Aug 2012 22:52:17 +0000 (UTC) Received: (qmail invoked by alias); 28 Aug 2012 22:52:10 -0000 Received: from g227128186.adsl.alicedsl.de (EHLO mandree.no-ip.org) [92.227.128.186] by mail.gmx.net (mp028) with SMTP; 29 Aug 2012 00:52:10 +0200 X-Authenticated: #428038 X-Provags-ID: V01U2FsdGVkX18RuO8jwbMRUOhH3T7FRaMmVaBQXjTBDMfSM3izoQ z2h+9xDNhECTnY Received: from [127.0.0.1] (localhost.localdomain [127.0.0.1]) by apollo.emma.line.org (Postfix) with ESMTP id 49E3623CEBF for ; Wed, 29 Aug 2012 00:52:08 +0200 (CEST) Message-ID: <503D4B98.1010704@gmx.de> Date: Wed, 29 Aug 2012 00:52:08 +0200 From: Matthias Andree User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:14.0) Gecko/20120714 Thunderbird/14.0 MIME-Version: 1.0 To: freebsd-ports@freebsd.org References: <5039B6E9.90503@paz.bz> In-Reply-To: <5039B6E9.90503@paz.bz> X-Enigmail-Version: 1.5a1pre Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 Subject: Re: upgrading ports with a lot of dependencies 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: Tue, 28 Aug 2012 22:52:18 -0000 Am 26.08.2012 07:40, schrieb Jim Pazarena: > My question is a general one, with the following specific example. > > I wanted to re-compile the latest phpmyadmin > but when I tried that, I get a "you must have the latest php5" (5.4.6) > > when I try php5 > I get a dependency of devel/pkgconf > > when I compile pkgconf, it conflicts with devel/pkg-config > > Upon investigation it looks like pkg-config is replaced with pkgconf > however attempting to remove it show dozens of dependencies preventing > the removal. > > I find this series of challenges frequently as installs move along > in age, and usually wind up re-loading the entire server to beat the > challenge. > > There must be an easier way. Advice would be greatly appreciated. Beyond what Matthew stated, use an upgrade tool, and do not do upgrades manually. I found that (a) using portmaster, while at the same time (b) watching /usr/ports/UPGRADING has given me smooth upgrades. portmaster sorts out the "if a requisite port was upgraded, rebuild it first" and the dependency management hassles. There are other tools that I have less experience with. I stopped using portupgrade a while ago, but now that it has got a new active maintainer, chances are that a new attempt is worthwhile.