if FreeBSD version has form of 4.X-RELEASE-pN, then portupgrade (pkgtools) set OS_RELEASE to this full string and look for packages in ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-4.X-release-pN/All/, where it should actually be ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-4.X-release/All/ in my opinion OS_RELEASE either should be set 4.X-RELEASE or ftp directory name should be constructed differently Fix: in /usr/local/lib/ruby/site_ruby/1.6/pkgtools.rb change pattern to if m = /^(((\d+)(?:\.\d+)+)-(\w+))(?:\S*) (\w+)$/.match(uname) OS_RELEASE, OS_REVISION, OS_MAJOR, OS_BRANCH, OS_PLATFORM = m[1..-1] How-To-Repeat: try to upgrade/install port using packages with the latest portupgrade from ports on FreeBSD with version number of form 4.X-RELEASE-pN
Responsible Changed From-To: freebsd-ports->knu over to the maintainer
State Changed From-To: open->closed Fixed in the latest version of portupgrade, so check it out. Thanks!