From owner-freebsd-ports@FreeBSD.ORG Mon May 17 06:14:12 2010 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DACD8106567E for ; Mon, 17 May 2010 06:14:12 +0000 (UTC) (envelope-from ari@ish.com.au) Received: from fish.ish.com.au (eth5921.nsw.adsl.internode.on.net [59.167.240.32]) by mx1.freebsd.org (Postfix) with ESMTP id 36D338FC12 for ; Mon, 17 May 2010 06:14:11 +0000 (UTC) Received: from ip-152.ish.com.au ([203.29.62.152]:55329) by fish.ish.com.au with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from ) id 1ODtaX-0006E8-0q; Mon, 17 May 2010 16:14:05 +1000 Message-ID: <4BF0DEAC.2040605@ish.com.au> Date: Mon, 17 May 2010 16:14:04 +1000 From: Aristedes Maniatis User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.1.9) Gecko/20100317 Lightning/1.0b1 Thunderbird/3.0.4 MIME-Version: 1.0 To: Doug Barton References: <4BDFF264.9090608@ish.com.au> <4BE0434D.5070801@FreeBSD.org> <4BF0B985.7020707@ish.com.au> <4BF0D8DE.6020909@FreeBSD.org> In-Reply-To: <4BF0D8DE.6020909@FreeBSD.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Jurgen Weber , freebsd-ports@freebsd.org Subject: Re: portmaster cannot find package 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: Mon, 17 May 2010 06:14:12 -0000 On 17/05/10 3:49 PM, Doug Barton wrote: > On 05/16/10 20:35, Aristedes Maniatis wrote: >> On 5/05/10 1:54 AM, Doug Barton wrote: >>> Is there an apache-2.2.13 package in packages/All? And what do the links >>> in packages/www and packages/Latest refer to? >> >> I did some more digging in the script itself. You have some code like this: >> >> if [ -r "${LOCAL_PACKAGEDIR}/All/${new_port}.tbz" ]; then >> local_package=${LOCAL_PACKAGEDIR}/All/${new_port}.tbz >> latest_pv=${local_package##*/} >> fi >> >> But I'm guessing the confusion is that we have ..../Latest/apache22.tgz, >> but ...../All/apache-worker-2.2.15.tgz > > No, the Latest doesn't enter into it with --index-only. Perhaps I've confused the threads. But this issue appears to be a simple one: I've installed the www/apache22 port but with certain settings it installs the package called apache-worker. And with the index-only option, it thinks it can see 2.2.13 but that version package doesn't even exist in /All. I'm assuming that ${new_port} is confused between the real package name and the 'other' name, but that could be an incorrect guess on my part. Certainly the problem goes away if I remove the index-only option from portmaster.rc. I've also tried using portsnap fetch update to update to a current INDEX file. If /Latest isn't being used, and portmaster is using the reference in the INDEX file to know which package to try and install, it is certainly finding the right version number, but just failing to find the package I can see sitting right there in /All. Regards Ari -- --------------------------> Aristedes Maniatis ish http://www.ish.com.au Level 1, 30 Wilson Street Newtown 2042 Australia phone +61 2 9550 5001 fax +61 2 9550 4001 GPG fingerprint CBFB 84B4 738D 4E87 5E5C 5EFA EF6A 7D2E 3E49 102A