Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 5 Jan 2012 15:39:30 -0700
From:      "Peter" <fbsdq@peterk.org>
To:        "miyamoto moesasji" <miyamoto.31b@gmail.com>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: why is pkg_add on 9.0 stable still using packages from packages-9-current?
Message-ID:  <dc8f098cc9090694deacc99a31eb05d8.squirrel@pop.pknet.net>
In-Reply-To: <CAMGq3BE3-xvQsrhY4ND642xErXMkJ6rvrvS8C3xAkhm=q=OifA@mail.gmail.com>
References:  <CAMGq3BE3-xvQsrhY4ND642xErXMkJ6rvrvS8C3xAkhm=q=OifA@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
> 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[




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?dc8f098cc9090694deacc99a31eb05d8.squirrel>