Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 15 Feb 2013 11:03:27 +0100
From:      Eduardo Morras <emorrasg@yahoo.es>
To:        freebsd-questions@freebsd.org
Subject:   pkg_add problems after upgrading to 9.1-RELEASE and a fix
Message-ID:  <20130215110327.4b718a95deb5dd9b521b3c23@yahoo.es>

next in thread | raw e-mail | index | archive | help

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@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@yahoo.es>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20130215110327.4b718a95deb5dd9b521b3c23>