Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 6 Jun 2001 18:12:34 +0300
From:      Odhiambo Washington <wash@wananchi.com>
To:        Mario Doria <mariodoria@yahoo.com>
Cc:        FBSD-Q <freebsd-questions@freebsd.org>
Subject:   Re: Update a package using the ports collections
Message-ID:  <20010606181234.R18694@everest.wananchi.com>
In-Reply-To: <00a301c0ee43$d2138cd0$0a00a8c0@midgar>; from "Mario Doria" on Tue, Jun 05, 2001 at 11:47:41PM -0500
References:  <00a301c0ee43$d2138cd0$0a00a8c0@midgar>

next in thread | previous in thread | raw e-mail | index | archive | help
* Mario Doria <mariodoria@yahoo.com> [20010606 07:46]: writing on the subject 'Update a package using the ports collections'
Mario> Hello,
Mario> 
Mario> How do I upgrade an existing, installed package? Let's say I had bind 8.2.5
Mario> and I needed to upgrade to 8.2.3, what would I do using the ports
Mario> collection?
Mario> 
Mario> Do I deinstall and then install with the updated port sources, or do 
Mario> I just "make install" again with the updated port sources? What
Mario> happens with my config files?

Since the config files are basically the same save for the $TTL that is
required for every zone file, you can just do like this, as root of
course!

cd /etc
cp -Rp namedb namedb.BAK	#Keep a backup of your configs

pkg_delete -f /var/db/pkg/bind-8.2.5

Hoping that you have CVSupped and has current ports; BTW Bind9 is what is
now in the ports but doesn't matter. Use what your ports tree has.

cd /usr/ports/net/bind8

make install distclean

But if you install your bind elsewhere than the default, you may want to
look at Makefile in that directory.

HTH

-Wash

--
Odhiambo Washington
Wananchi Online Ltd.,
wash@wananchi.com 1st Flr Loita Hse.
Tel: 254 2 313985 Loita Street.,
Fax: 254 2 313922 PO Box 10286,00100-NAIROBI,KE.

If you cry because the sun has gone out of your life, your tears will prevent 
you from seeing the stars. 

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




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