From owner-freebsd-doc@FreeBSD.ORG Wed May 28 05:44:39 2008 Return-Path: Delivered-To: freebsd-doc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B4C471065672 for ; Wed, 28 May 2008 05:44:39 +0000 (UTC) (envelope-from sonicy@otenet.gr) Received: from kane.otenet.gr (kane.otenet.gr [195.170.0.77]) by mx1.freebsd.org (Postfix) with ESMTP id 1A5488FC1C for ; Wed, 28 May 2008 05:44:38 +0000 (UTC) (envelope-from sonicy@otenet.gr) Received: from aquarius.dyndns.org (athedsl-08121.home.otenet.gr [87.202.31.247]) by kane.otenet.gr (8.13.8/8.13.8/Debian-3) with ESMTP id m4S5iaEU023904; Wed, 28 May 2008 08:44:36 +0300 Message-ID: <483CF195.6030506@otenet.gr> Date: Wed, 28 May 2008 08:45:57 +0300 From: Manolis Kiagias User-Agent: Thunderbird 2.0.0.14 (X11/20080501) MIME-Version: 1.0 To: Oren Almog References: <483CE73C.6080502@gmail.com> In-Reply-To: <483CE73C.6080502@gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-doc@freebsd.org Subject: Re: Downloading packages X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 May 2008 05:44:39 -0000 Oren Almog wrote: > I've been looking at > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/packages-using.html > and it is stated there and given as an example that if you want to > change the default download site of packages for your version, you > need to change the PACKAGESITE variable to > ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-5.4-release/Latest/ > (5.4 is given as an example). Isn't it supposed to /ALL instead of > /Latest ? > > I am a FreeBSD beginner so I there a chance that I am doing things > wrong, I am just trying to make sure. > > Oren The information in the handbook is correct. The /Latest directory simply contains links to the latest versions of the packages in the /All directory. In this way you don't need to know and specify the exact version of the package you want to install. For example, with PACKAGESITE set to /Latest, you could do something like: pkg_add -r xorg and you would get the latest version of Xorg server. With PACKAGESITE set to All, you should do something like: pkg_add -r xorg-7.3_1 but you would need to look the exact package name beforehand (e.g. by using Firefox or an ftp program to visit the ftp site). Please note these type of questions are better answered in the freebsd-questions list, which is the primary technical support list. You may wish to use it for any further queries.