From owner-freebsd-questions@FreeBSD.ORG Wed Feb 2 14:02:23 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 E1D6016A4CF for ; Wed, 2 Feb 2005 14:02:22 +0000 (GMT) Received: from mail.gmx.net (mail.gmx.de [213.165.64.20]) by mx1.FreeBSD.org (Postfix) with SMTP id 5CD3F43D76 for ; Wed, 2 Feb 2005 14:02:19 +0000 (GMT) (envelope-from Shadow333@gmx.at) Received: (qmail invoked by alias); 02 Feb 2005 14:02:10 -0000 Received: from unknown (HELO there) (62.218.246.180) by mail.gmx.net (mp024) with SMTP; 02 Feb 2005 15:02:10 +0100 X-Authenticated: #1027147 Content-Type: text/plain; charset="iso-8859-1" From: Oliver Leitner Organization: none To: saravanan ganapathy , freebsd-questions@freebsd.org Date: Wed, 2 Feb 2005 14:56:48 +0100 X-Mailer: KMail [version 1.3.2] References: <20050202135728.22036.qmail@web51703.mail.yahoo.com> In-Reply-To: <20050202135728.22036.qmail@web51703.mail.yahoo.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Y-GMX-Trusted: 0 Message-Id: <20050202140219.5CD3F43D76@mx1.FreeBSD.org> Subject: Re: keeping freebsd uptodate - doubt X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Feb 2005 14:02:23 -0000 On Wednesday 02 February 2005 14:57, saravanan ganapathy wrote: > --- Karol Kwiatkowski > > wrote: > > 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). > > Thx for ur responses > > I have done the above steps to update my system and > when I run 'portversion -v | grep -v "=" ', I am > gettin g the perl package only. > > freebsd# portversion -v | grep -v "=" > perl-5.8.5 < needs updating (port has 5.8.6_1) > > freebsd# portupgrade perl > ---> Upgrading 'perl-5.8.5' to 'perl-5.8.6_1' > (lang/perl5.8) > ---> Building '/usr/ports/lang/perl5.8' > ===> Cleaning for perl-5.8.6_1 > ===> perl-5.8.6_1 has known vulnerabilities: > => perl -- File::Path insecure file/directory > permissions. > Reference: > e.html> => Please update your ports tree and try again. > *** Error code 1 > > Stop in /usr/ports/lang/perl5.8. > ** Command failed [exit code 1]: /usr/bin/script -qa > /tmp/portupgrade5864.0 make > ** Fix the problem and try again. > ** Listing the failed packages (*:skipped / !:failed) > ! lang/perl5.8 (perl-5.8.5) (unknown build > error) > ---> Packages processed: 0 done, 0 ignored, 0 skipped > and 1 failed > > How to solve this problem? portupgrade -f portname... > > Sarav > > > > __________________________________ > Do you Yahoo!? > Yahoo! Mail - now with 250MB free storage. Learn more. > http://info.mail.yahoo.com/mail_250 > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" -- By reading this mail you agree to the following: using or giving out the email address and any other info of the author of this email is strictly forbidden. By acting against this agreement the author of this mail will take possible legal actions against the abuse.