why is pkg_add on 9.0 stable still using packages from packages-9-current?

miyamoto moesasji miyamoto.31b at gmail.com
Fri Jan 6 19:37:13 UTC 2012


On Thu, Jan 5, 2012 at 10:39 PM, Peter <fbsdq at 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=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[
>

Thanks for the response Peter. Still seems strange that this change
has not been made, but I'll indeed set it manually for now.


More information about the freebsd-stable mailing list