From owner-freebsd-stable Wed Jul 3 12:45: 2 2002 Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5A01337B401 for ; Wed, 3 Jul 2002 12:44:51 -0700 (PDT) Received: from kpt-c-24-159-35-85.chartertn.net (kpt-c-24-159-35-85.chartertn.net [24.159.35.85]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2759543E09 for ; Wed, 3 Jul 2002 12:44:50 -0700 (PDT) (envelope-from ericg@chartertn.net) Received: from zaphod (zaphod.lonesome.org [192.168.1.88]) by sentry.lonesome.org (8.11.6/8.11.6) with ESMTP id g5T0olp85930; Fri, 28 Jun 2002 20:50:55 -0400 (EDT) (envelope-from ericg@chartertn.net) Message-Id: <200206290050.g5T0olp85930@sentry.lonesome.org> From: "Eric Olsen" To: "Stephen L. Palmer" , stable@freebsd.org Date: Fri, 28 Jun 2002 20:50:47 -0400 MIME-Version: 1.0 Subject: Re: pkg_fetch broken on 4.6 stable? Reply-To: ericg@chartertn.net In-reply-to: <20020628191317.C81819-100000@gandalf> X-mailer: Pegasus Mail for Windows (v4.01) Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Content-description: Mail message body Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On 28 Jun 2002 at 19:14, Stephen L. Palmer wrote: > (Sorry if this hits the list multiple times, my mail to the list is > bouncing as '554 Error: no valid recipients', I think I found and fixed > the problem on my end now... sendmail was reporting a wrong hostname..) > > It seems that 'portupgrade -P' won't ever get a package, so it builds > from source every time. On investigation, it seems that pkg_fetch is > getting the directory path wrong. In the example below, the correct path > would have included 'packages-4-stable', not 'packages-4.6-stable', at > least that's how the directory structure on the ftp sites are. Stephen > L. Palmer slpalmer@midearth.org http://bfsrocks.com > example:------------------ root on gandalf:~ % pkg_fetch -v bash2 ---> > Fetching bash2.tgz ++ Will try the following sites in the order named: > ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/i386/packages-4.6-stable > / > ---> Invoking a command: /usr/bin/fetch -o '/var/tmp/bash2.tgz' > 'ftp://ftp.Free > BSD.org/pub/FreeBSD/ports/i386/packages-4.6-stable/Latest/bash2.tgz' > fetch: /var/tmp/bash2.tgz: File unavailable (e.g., file not found, no > access) ** The command returned a non-zero exit status: 1 ** Failed to > fetch ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/i386/packages-4.6-sta > ble/Latest/bash2.tgz ** Failed to fetch bash2.tgz ---> Reporting the > results (+:succeeded / -:ignored / *:skipped / !:failed) > ! bash2 (fetch error) > root on gandalf:~ % > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-stable" in the body of the message > I have noticed the same thing, FWIW, with pkg_update. It somehow inserts that extra "/Latest/" directory in there for some reason, and can't find the package. (This is with 4.6- RELEASE, installed from CD). Eric To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message