From owner-freebsd-questions@FreeBSD.ORG Mon Jan 31 16:26:37 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 BD3AA16A4CE for ; Mon, 31 Jan 2005 16:26:37 +0000 (GMT) Received: from smtp811.mail.sc5.yahoo.com (smtp811.mail.sc5.yahoo.com [66.163.170.81]) by mx1.FreeBSD.org (Postfix) with SMTP id 420CA43D45 for ; Mon, 31 Jan 2005 16:26:36 +0000 (GMT) (envelope-from donaldj1066@fastmail.fm) Received: from unknown (HELO pres7000.mylan.net) (donaldj@ameritech.net@69.212.18.245 with plain) by smtp811.mail.sc5.yahoo.com with SMTP; 31 Jan 2005 16:26:33 -0000 From: "Donald J. O'Neill" To: freebsd-questions@freebsd.org Date: Mon, 31 Jan 2005 10:25:52 -0600 User-Agent: KMail/1.7.2 References: <20050131135602.85993.qmail@web51703.mail.yahoo.com> In-Reply-To: <20050131135602.85993.qmail@web51703.mail.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200501311025.52684.donaldj1066@fastmail.fm> cc: "Loren M. Lang" cc: Mark Ovens cc: saravanan ganapathy Subject: Re: port update problem - deleted all the ports 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: Mon, 31 Jan 2005 16:26:37 -0000 On Monday 31 January 2005 07:56 am, saravanan ganapathy wrote: > --- Mark Ovens wrote: > > saravanan ganapathy wrote: > > > Hai , > > > > > > I am using 5.3 release and included tag=RELENG_5_3 > > > > to > > > > > my ports-supfile and when I tried to update ports > > > using " cvsup -g -L 2 /root/ports-supfile", it > > > > deleted > > > > > almost all the ports and finally it says > > > ... > > > ... > > > ... > > > Delete ports/x11-wm/yawm/Makefile > > > Delete ports/x11-wm/yawm/distinfo Delete > > > ports/x11-wm/yawm/pkg-descr > > > Shutting down connection to server > > > Finished successfully > > > > > > > > > My ports-supfile looks as > > > > > > *default host=cvsup10.us.freebsd.org > > > *default base=/var/db > > > *default prefix=/usr > > > *default release=cvs tag=RELENG_5_3 > > > *default delete use-rel-suffix > > > ports-all > > > > > > > > > What is the problem? > > > > The ports tree doesn't have tags so you should edit > > the above to > > > > *default release=cvs tag=. > > > > Note the '.'!! > > > > Also are you sure that you want your ports tree in > > /var/db? /usr would > > be more usual. > > > > *default base=/usr > > I need to update to RELENG_5_3 from release. If I > don't include "tag=RELENG_5_3" , then how the server > 'll gets updated to RELENG_5_3? > > I need to update my packages with the latest security > patches. > > I am not sure. Pls correct me if I am wrong > > Sarav > > Sarav, If, as you say, you want to go to RELENG_5_3, it's going to take more than updating your ports tree. With that in mind, I'm going to give you a supfile that will upgrade your sources. supfile: ################################## *default tag=RELENG_5_3 *default host=cvsup10.FreeBSD.org *default prefix=/usr *default base=/var/db *default release=cvs *default delete use-rel-suffix #*default compress src-all ports-all tag=. doc-all ################################### The above will update your sources to what you have asked for, and that's it. You still have to do a buildworld sequence in order to make the necessary updates to the kernal and userland. You still have to upgrade the installed packages. Look at the handbook, read /usr/src/UPDATING and /usr/ports/UPDATING, search the archives and google search the internet. Then ask some more questions. Don -- Donald J. O'Neill donaldj1066@fastmail.fm I'm not totally useless, I can be used as a bad example.