Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 6 Jan 2012 19:37:12 +0000
From:      miyamoto moesasji <miyamoto.31b@gmail.com>
To:        freebsd-stable@freebsd.org
Subject:   Re: why is pkg_add on 9.0 stable still using packages from packages-9-current?
Message-ID:  <CAMGq3BELRGLeaV5rkZ73BD=gzhDocWR3vF_iib9Vbcgh%2BKGVog@mail.gmail.com>
In-Reply-To: <dc8f098cc9090694deacc99a31eb05d8.squirrel@pop.pknet.net>
References:  <CAMGq3BE3-xvQsrhY4ND642xErXMkJ6rvrvS8C3xAkhm=q=OifA@mail.gmail.com> <dc8f098cc9090694deacc99a31eb05d8.squirrel@pop.pknet.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Jan 5, 2012 at 10:39 PM, Peter <fbsdq@peterk.org> 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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAMGq3BELRGLeaV5rkZ73BD=gzhDocWR3vF_iib9Vbcgh%2BKGVog>