Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 1 Feb 2006 13:12:33 -0500
From:      =?ISO-8859-1?Q?Alvaro_J._Gurdi=E1n?= <AJGurdian@lanoticia.com>
To:        FreeBSD-Questions Questions <freebsd-questions@freebsd.org>
Subject:   Re: Proper FreeBSD installation practices
Message-ID:  <382a16540283fbd71e3bea77dc4935b0@lanoticia.com>
In-Reply-To: <43DFF149.3050903@daleco.biz>
References:  <c78f79e10feecb272db5305e541464ff@lanoticia.com>	<20060131220131.GB38470@dan.emsphone.com> <92a0fa936ee007b04b74bf349f19b21a@lanoticia.com> <43DFF149.3050903@daleco.biz>

next in thread | previous in thread | raw e-mail | index | archive | help
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
>
> <<top-posting comment snipped>>  ;-)
>
> --=20
> In 1869 the waffle iron was invented for people who had wrinkled
> waffles.
>
>




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