Newbie question 8.2-rc2

I just installed FreeBSD following the handbook and when I try this simple operation I got an error:

Code:
core# pkg_add -r lsof
Error: Unable to get [url]ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-8.2-release/Latest/lsof.tbz:[/url] File unavailable (e.g., file 
not found, no access)
pkg_add: unable to fetch 'ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-8.2-release/Latest/lsof.tbz' by URL

I checked this ftp address and there is not 8.2 directory ?
 
mzmzmz said:
I just installed FreeBSD following the handbook and when I try this simple operation I got an error:

Code:
core# pkg_add -r lsof
Error: Unable to get [url]ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-8.2-release/Latest/lsof.tbz:[/url] File unavailable (e.g., file 
not found, no access)
pkg_add: unable to fetch 'ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-8.2-release/Latest/lsof.tbz' by URL

I checked this ftp address and there is not 8.2 directory ?

As to the original topic: 8.2 has not been officially released, so the 8.2-release directory on the FTP server does not yet exist, and no packages have been built for it (since it doesn't exist), thus you can't use "pkg_add -r" until the release happens.

You can set the PACKAGESITE environment variable to point to 8-stable instead of 8.2-release directory, as a temporary workaround.

See the pkg_add() man page for more information.
 
Back
Top