Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

Using FreeBSD 8.2-RELEASE. I want to use the latest binary packages rather than the packages at the time of the 8.2 release. That is, I want to use packages in ftp://ftp2.freebsd.org/pub/FreeBSD/ports/i386/packages-8-stable/All/ rather than ftp://ftp2.freebsd.org/pub/FreeBSD/ports/i386/packages-8.2-release/All/.

I'm not interested in compiling a bunch of stuff so I don't want to simply upgrade ports and then be forced to compile everything. For compiling small things it's ok, but I don't want to wait hours to get some of the bigger programs.

How can I get my system to use the stable binary packages (and upgrade ports so everything is in sync)?

share|improve this question

2 Answers 2

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/packages-using.html

"If you want to force pkg_add(1) to download FreeBSD 8-STABLE packages, set PACKAGESITE to ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-8-stable/Latest/."

Note that you will eventually get some brokenness unless you also track STABLE in your base installation.

Ports must be updated separately via, say, portsnap fetch && portsnap update.

share|improve this answer
    
When you say "track STABLE in your base installation", what do you mean by that? –  User Apr 25 '11 at 5:58
    

Long time since I've used FreeBSD, but it looks like you mean pkg_add -r <package>?

As far as I can tell, pkg_add is defaulting to a URL based on uname -r.

So perhaps you should upgrade the base system using the instructions in the handbook (e.g. Rebuilding "world".

Or maybe the PACKAGESITE, PACKAGEROOT, and PKG_ADD_BASE environment variables can help?

share|improve this answer
    
basically I mean if possible, getting my 8.2-RELEASE system to use 8-STABLE pacakages (yes using pkg_add -r). But also I want my ports upgraded to stable so I can compile if I want to and all versions match. –  User Apr 9 '11 at 17:22

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.