From owner-freebsd-questions@FreeBSD.ORG Thu Oct 27 07:11:21 2005 Return-Path: X-Original-To: questions@freebsd.org Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B041D16A41F for ; Thu, 27 Oct 2005 07:11:21 +0000 (GMT) (envelope-from infofarmer@gmail.com) Received: from zproxy.gmail.com (zproxy.gmail.com [64.233.162.207]) by mx1.FreeBSD.org (Postfix) with ESMTP id 32C0E43D45 for ; Thu, 27 Oct 2005 07:11:20 +0000 (GMT) (envelope-from infofarmer@gmail.com) Received: by zproxy.gmail.com with SMTP id 34so211847nzf for ; Thu, 27 Oct 2005 00:11:20 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=owd6dxlzSO4ExwH0540lf/1EXfC2zNQ6Ms5ytCq5BD9OHxEhFYTW+pl4vJv0UTEru9glEQHjzBLNSuJ2Wgi7aHbTx+D24MTn70ryNnc2zzwAsd1VakjIr8evINWMZPvotrF9ppKfvw8lo7BV08J7HPOA9j+CsMFNP3wkvHAckVg= Received: by 10.36.68.10 with SMTP id q10mr1572362nza; Thu, 27 Oct 2005 00:11:20 -0700 (PDT) Received: by 10.37.20.34 with HTTP; Thu, 27 Oct 2005 00:11:20 -0700 (PDT) Message-ID: Date: Thu, 27 Oct 2005 11:11:20 +0400 From: "Andrew P." To: John DeStefano In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: Cc: FreeBSD Questions Subject: Re: portupgrade stale 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: Thu, 27 Oct 2005 07:11:21 -0000 On 10/27/05, John DeStefano wrote: <...snip...> > > After clearing out the ports, updating ports (with portsnap) and > source, and rebuilding the system and kernel... it seemed the ultimate > problem was actually a dependency of the package to apache1.3. After I > ran 'pkgdb -F' and "fixed" this dependency to point to apache2.1, but > I still had trouble installing ports. > > 'portsdb -Uu' would not run, so I ran 'make fetchindex' and > 'portupdate -a'. From what I've read, this _should_ create an index > and update all out-of-date ports and their dependencies, but it never > has worked for me. I just tried this combination again, and it > (again) punts during portupdate. This time, 38 ports were skipped and > 7 failed, the first failure being a strange compiler error in updating > from apache-2.0.48. > > I've been fighting with ports for long enough now to have become a bit > frustrated with them. If you have any thoughts or suggestions on how > to troubleshoot them, please pass them on. > > Thanks, > ~John > Do not fix dependencies if you're not sure that they are really broken. Don't use apache21 unless 2.0 is absolutely inappropriate. The proper way to change dependencies from apache1 to apache2 is to add "WITH_APACHE2=3Dtrue" to /etc/make.conf (or to /usr/local/etc/pkgtools.conf, but that's an advanced topic). If you have portsdb utility, don't use make fetchindex, just add -F to portsdb: "portsdb -uUF" will work fine. You cann add -k to portupgrade, so that it doesn't skip ports (but it won't fix the failed ones). John, you'll have to spend a few hours reading ports documentation before you find them really great (which they really are).