Cannot install binary packages using pkg_add

Problem: Failure to install binary packages in older FreeBSD versions using "pkg_add -r".
Solution: Add these lines to /etc/csh.cshrc (/etc/profile if you are using bash or sh):

[FreeBSD 4.x]
setenv PACKAGESITE ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-4-stable/Latest/
setenv PACKAGELIST

[FreeBSD 5.x] setenv PACKAGESITE ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-5-stable/Latest/
setenv PACKAGELIST

[FreeBSD 6.x]
setenv PACKAGESITE ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages6-stable/Latest/
setenv PACKAGELIST

  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

How to upgrade perl to v5.8.8

Installing and running cPanel 11 require you to have perl v5.8.8. If you run an older version...

How to install Cpanel and Fantastico in a VPS

Problem: Cpanel installs a little bit differantly in a VPS that it does on your traditional...

How to install and troubleshoot Fantastico for Cpanel

Problem: I can not access Fantastico in my WHM, How Do I install Fantastico. Solution: You don't...