From owner-freebsd-questions@FreeBSD.ORG Wed Feb 1 18:12:52 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9406016A427 for ; Wed, 1 Feb 2006 18:12:52 +0000 (GMT) (envelope-from AJGurdian@lanoticia.com) Received: from xbox00.csee.siteprotect.com (xbox00.csee.siteprotect.com [64.41.126.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0345043D49 for ; Wed, 1 Feb 2006 18:12:51 +0000 (GMT) (envelope-from AJGurdian@lanoticia.com) Received: from [192.168.1.127] (rrcs-70-60-124-199.midsouth.biz.rr.com [70.60.124.199]) by xbox00.csee.siteprotect.com (Postfix) with ESMTP id 3886DD80A5 for ; Wed, 1 Feb 2006 12:12:51 -0600 (CST) Mime-Version: 1.0 (Apple Message framework v623) In-Reply-To: <43DFF149.3050903@daleco.biz> References: <20060131220131.GB38470@dan.emsphone.com> <92a0fa936ee007b04b74bf349f19b21a@lanoticia.com> <43DFF149.3050903@daleco.biz> Content-Type: text/plain; charset=ISO-8859-1; delsp=yes; format=flowed Message-Id: <382a16540283fbd71e3bea77dc4935b0@lanoticia.com> Content-Transfer-Encoding: quoted-printable From: =?ISO-8859-1?Q?Alvaro_J._Gurdi=E1n?= Date: Wed, 1 Feb 2006 13:12:33 -0500 To: FreeBSD-Questions Questions X-Mailer: Apple Mail (2.623) Subject: Re: Proper FreeBSD installation practices X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Feb 2006 18:12:52 -0000 I looked at the sysinstall and pkg_add man files and noticed that at =20 least in pkg_add it was looking for updates at =20 ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-6.0-release/=20 Latest/. I made my way over to that address and noticed indeed =20 bind9-9.3.1 was the newest available, then after some browsing I found =20= ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-6-stable/dns/ =20 where the was a bind9-9.3.2. So assumed that both pkg_add and sysinstall were looking up the same =20 location. I tried to tell sysinstall to search a different location: sysinstall =20 _ftpPath=3Dftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-6-=20 stable/dns/ mediaSetFTP configPackages But it just ignored my input and used the same ftp address as it had =20 before. However with pkg_add I had a little further, after setting the =20 environment variable PACKAGEROOT to =20 ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-6-stable/dns/ I =20= was able to type, pkg_add -r bind9-9.3.2, and successfully install. =20= Or at least so I thought. To make sure, I went to /var/db/pkg and saw bind9-9.3.2 listed. Unfortunately when I tried named -v, it replied: version =20 9.3.1........what? How? By now now I am terrible confused. What is the difference between ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-6.0-release/=20 Latest/ and ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-6-stable I thought release was the newest version of stable, and therefore these =20= two directories should point to the same info. Or at least, will they =20= merge some time in the future? Also, I believe I actually installed bind9-9.3.2, if so where is it? =20= If not, how can I? There must be some logical aspect of FreeBSD that I do not understand, =20= because installing a package or a port has never been so hard. Having to set environment variables every time I want to get the newest =20= version of a program should not be the standard way to operate, I am =20 sure it isn't. Thanks. On Jan 31, 2006, at 6:22 PM, Kevin Kinsey wrote: > Alvaro J. Gurdi=E1n wrote: > >> I used sysinstall to look for it: the chose =20 >> configure->packages->ftp->main site->package selection->DNS >> in there I saw several versions of BIND but 9.3.1 was the newest. >> >> What am I doing wrong? I chose FTP to try to get the most up to date = =20 >> info....what happened? >> >> I see 9.3.2 on Fresh ports, why not thru sysinstall? >> > > sysinstall looks for pre-compiled packages; I don't know if packages > have been built that include this version of BIND; someone else =20 > probably > does, or can take time to investigate. > > However, even more telling on this issue: sysinstall uses a > $RELEASENAME variable (correct name??) to look specifically > for packages that match the version of FreeBSD that you have = installed. > This means that if you have installed 6.0-RELEASE, your version of > sysinstall is looking for the packages that were created at the time > that 6.0-RELEASE was compiled, back in the fall. Most likely, at that > time, the lastest BIND was 9.3.1. You can use some obscure part > of sysinstall to set this variable to "ANY" and perhaps get a newer > list of packages. > > It may also be possible to get a later package simply with: > > $pkg_add -r bind9 > > If you have the ports tree installed AND up to date, then: > > $cd /usr/ports/dns/bind9 > $make install clean > > will absolutely get you the latest version of the port. > > For more help on installing ports/packages, see handbook chapter 4. > > For more help on "the latest and greatest", see "The Cutting Edge", > handbook chapter 20. > > Best of luck with FreeBSD! > > Kevin Kinsey > > <> ;-) > > --=20 > In 1869 the waffle iron was invented for people who had wrinkled > waffles. > >