From owner-freebsd-stable@FreeBSD.ORG Thu Jan 5 23:04:54 2012 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 93FCE106566C for ; Thu, 5 Jan 2012 23:04:54 +0000 (UTC) (envelope-from fbsdq@peterk.org) Received: from poshta.pknet.net (poshta.pknet.net [216.241.167.213]) by mx1.freebsd.org (Postfix) with ESMTP id 519458FC12 for ; Thu, 5 Jan 2012 23:04:53 +0000 (UTC) Received: (qmail 50897 invoked by uid 89); 5 Jan 2012 22:39:30 -0000 Received: from localhost (HELO pop.pknet.net) (127.0.0.1) by poshta.pknet.net with ESMTP; 5 Jan 2012 22:39:30 -0000 Received: from 74.63.162.21 (SquirrelMail authenticated user fbsdq@peterk.org) by pop.pknet.net with HTTP; Thu, 5 Jan 2012 15:39:30 -0700 Message-ID: In-Reply-To: References: Date: Thu, 5 Jan 2012 15:39:30 -0700 From: "Peter" To: "miyamoto moesasji" User-Agent: SquirrelMail/1.4.21 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal Cc: freebsd-stable@freebsd.org Subject: Re: why is pkg_add on 9.0 stable still using packages from packages-9-current? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Jan 2012 23:04:54 -0000 > I've just updated from 9.0RC3 to 9.0-stable r229626 after a clean > install. However when trying to add the first packages I noticed that > pkg_add is installing packages from > ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-9-current/ and > not from package-9-stable which I would expect. In particular because > the package-9-stable directory does now exist on the server. > > Using Google this appears to have to do with > /usr/src/usr.sbin/pkg_install/add/main.c in which the following > revision appears to include the link: > http://svnweb.freebsd.org/base/head/usr.sbin/pkg_install/add/main.c?r1=225757&r2=225756&pathrev=225757 > However if I look at this specific source file on my system line 98 > that brings in the link to packages-9-stable is missing (The file has > packages-9.0-release, but not packages-9-stable) > > Any suggestion on what I am doing wrong would be highly appreciated as > I don't understand this. > > *) uname -a shows 9.0-stable r229626; the update to latest stable has > been done according to handbook. No variables that could affect this > have been changed as it was a clean install using the 9.0RC3 bootdisk > Should have stayed at -release :) I just had the same question and after doing some further research, the issue is this: http://www.freebsd.org/doc/en/books/porters-handbook/freebsd-versions.html and pkbsdpkg:#pwd /usr/src/usr.sbin/pkg_install pkbsdpkg:#grep -R packages-9 * add/main.c: { 900000, 900499, "/packages-9.0-release" }, add/main.c: { 900000, 999000, "/packages-9-current" }, They haven't updated main.c for -stable yet and -stable is at 900500 per sys/sys/param.h [or URL]. I'm just setting PACKAGESITE=ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-9-stable/Latest/ manually. ]Peter[