pkg_add problems after upgrading to 9.1-RELEASE and a fix

Eduardo Morras emorrasg at yahoo.es
Fri Feb 15 10:03:27 UTC 2013


Hi all, yesterday i updated my server to 9.1-RELEASE from 8.3. After that, while recompiling the ports and packages i get a lot off errors trying to get 9.1-RELESASE packages and all recompiled from ports. 

The problem is that there's no 9.1-RELEASE directory in ftp.freebsd.org server. I solved it after changing the path to fetch from 9-STABLE instead. A better fix i think it's to add that directory or make a ln to stable.

The url where add the fault directory is:

ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/

the fault directoy is :

ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-9.1-release/

An example of the error is:

root at camibar:/usr/ports/www # pkg_add -r zen-cart
Error: Unable to get ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-9.1-release/Latest/zen-cart.tbz: File unavailable (e.g., file not found, no access)
pkg_add: unable to fetch 'ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-9.1-release/Latest/zen-cart.tbz' by URL

I made the recompilation of ports with portmaster as noted in 'man portmaster' with this options (from memory, it's not a c&p)

#portmaster -P -R -D `cat /root/installed_ports_list`

Thanks In Advance

---   ---
Eduardo Morras <emorrasg at yahoo.es>


More information about the freebsd-questions mailing list