From owner-freebsd-questions@FreeBSD.ORG Wed Feb 2 13:44:17 2005 Return-Path: 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 64E0E16A4CE for ; Wed, 2 Feb 2005 13:44:17 +0000 (GMT) Received: from orchid.homeunix.org (awe55.neoplus.adsl.tpnet.pl [83.27.64.55]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4501443D3F for ; Wed, 2 Feb 2005 13:44:16 +0000 (GMT) (envelope-from freebsd@orchid.homeunix.org) Received: from [192.168.1.66] (blackacidevil.orchid.homeunix.org [192.168.1.66]) (authenticated bits=0) by orchid.homeunix.org (8.13.1/8.13.1) with ESMTP id j12Di6KS059204 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 2 Feb 2005 14:44:13 +0100 (CET) (envelope-from freebsd@orchid.homeunix.org) Message-ID: <4200D927.5010000@orchid.homeunix.org> Date: Wed, 02 Feb 2005 14:44:07 +0100 From: Karol Kwiatkowski User-Agent: Mozilla Thunderbird 1.0 (X11/20050114) X-Accept-Language: en-us, en MIME-Version: 1.0 To: saravanan ganapathy References: <20050202131936.59448.qmail@web51702.mail.yahoo.com> In-Reply-To: <20050202131936.59448.qmail@web51702.mail.yahoo.com> X-Enigmail-Version: 0.90.0.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV version 0.81, clamav-milter version 0.81b on orchid.homeunix.org X-Virus-Status: Clean cc: freebsd-questions@freebsd.org Subject: Re: keeping freebsd uptodate - doubt X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: freebsd@orchid.homeunix.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Feb 2005 13:44:17 -0000 saravanan ganapathy wrote: > Hai , > > I have installed 5.3 release and want to keep my > system uptodate with the security patches. > > Based on many guides, I have arranged as a doc. Pls > confirm me whether my steps are ok > > 1) Install portupgrade > 2) Sync ports > > Ports-supfile contains as > > *default host=cvsup10.us.freebsd.org > *default base=/var/db > *default prefix=/usr > *default release=cvs tag=. > *default delete use-rel-suffix > ports-all OK > ( or should I change tag=RELENG_5_3 ) No, "tag=." is exactly what is needed for updating ports. > cvsup -g -L 2 /root/ports-supfile OK > 3) portsdb -Uu >From 'man portsdb': > -U > --updateindex Update or create the ports index file called INDEX. from 'man ports': > fetchindex Fetch the INDEX file from the FreeBSD cluster. Generating INDEX with 'portsdb -U' can take a while. Alternatively, you could run 'cd /usr/ports && make fetchindex' which will download that file for you. so point 3) could be like: 3-a) cd /usr/ports 3-b) make fetchindex 3-c) portsdb -u This is *much* faster but, of course, there's nothing wrong with 'portsdb -Uu'. > 4) portversion -v 'portversion -v | grep -v "=" ' is what I use. > Any other steps to do? Above procedure updates (only) your ports tree and installed ports. Subscribe to freebsd-announce and keep your system up-to-date. > What 'make fetchindex' will do? See above (point 3). Regards, Karol -- Karol Kwiatkowski