pkg_add looking in the wrong location

Hi guys, I've just installed FreeBSD on my PPC emac and I'm trying to get pkg_add working.
If I do, for example: "pkg_add -r xorg", it returns the error:
unable to get ftp://ftp.freebsd.org/pub/FreeBSD/ports/powerpc/packages-9.0-release/Latest/xorg.tbz: File unavailable. (e.g., file not found, no access)

and I have noticed that if I got on to that FTP server, the dir packages-9.0-release doesn't exist. packages-9-stable does, however. Is this a known issue, or at least is it possible to change the pkg_add search location?
 
Set PACKAGESITE to the -stable package directory. You don't want to use the -release packages, they are never updated. See pkg_add(1).
 
SirDice said:
Set PACKAGESITE to the -stable package directory. You don't want to use the -release packages, they are never updated. See pkg_add(1).

Thanks, just tried that. But it's still looking in the -release directory.
 
And replace powerpc with the arch of your system, e.g. amd64. The handbook could be little bit more explicit about that the -stable packages are in fact the ones you want for updating when using packages.
 
Back
Top