From owner-freebsd-stable@FreeBSD.ORG Fri Jan 6 19:37:13 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 BD472106564A for ; Fri, 6 Jan 2012 19:37:13 +0000 (UTC) (envelope-from miyamoto.31b@gmail.com) Received: from mail-tul01m020-f182.google.com (mail-tul01m020-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id 834528FC18 for ; Fri, 6 Jan 2012 19:37:13 +0000 (UTC) Received: by obbwd18 with SMTP id wd18so3201734obb.13 for ; Fri, 06 Jan 2012 11:37:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; bh=NZMtlFDyDp2thZWo+3ScHcKbzhL+S4K3StHqDK2YHfY=; b=Q8VCPL4sPgf80Z6bjJrPATmWshuEuQ9GMVzpRmgJWwkZKt6BlufQ0QiVUmJPMvjIzc 2kEbuq55SliRbOHaa8e10ADJ2D16AT9jENvmNLLE3cqDuFx3ogeZJ9Ngov2BX0ntDUej MvR79U0/O5aZAuwq5/Ec2F1vx0z9bSUjBPM20= MIME-Version: 1.0 Received: by 10.182.197.104 with SMTP id it8mr5951222obc.17.1325878632915; Fri, 06 Jan 2012 11:37:12 -0800 (PST) Received: by 10.182.41.229 with HTTP; Fri, 6 Jan 2012 11:37:12 -0800 (PST) In-Reply-To: References: Date: Fri, 6 Jan 2012 19:37:12 +0000 Message-ID: From: miyamoto moesasji To: freebsd-stable@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable 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: Fri, 06 Jan 2012 19:37:13 -0000 On Thu, Jan 5, 2012 at 10:39 PM, Peter wrote: >> 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= =3D225757&r2=3D225756&pathrev=3D225757 >> 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.htm= l > =A0and > pkbsdpkg:#pwd > /usr/src/usr.sbin/pkg_install > pkbsdpkg:#grep -R packages-9 * > add/main.c: =A0 =A0 { 900000, 900499, "/packages-9.0-release" }, > add/main.c: =A0 =A0 { 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]. =A0I'm just setting > PACKAGESITE=3Dftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-9-st= able/Latest/ > manually. > > ]Peter[ > Thanks for the response Peter. Still seems strange that this change has not been made, but I'll indeed set it manually for now.