From owner-freebsd-stable@FreeBSD.ORG Mon Jan 5 20:26:49 2009 Return-Path: Delivered-To: FreeBSD-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 430B3106566B for ; Mon, 5 Jan 2009 20:26:49 +0000 (UTC) (envelope-from brooks@lor.one-eyed-alien.net) Received: from lor.one-eyed-alien.net (lor.one-eyed-alien.net [69.66.77.232]) by mx1.freebsd.org (Postfix) with ESMTP id EE17F8FC0C for ; Mon, 5 Jan 2009 20:26:48 +0000 (UTC) (envelope-from brooks@lor.one-eyed-alien.net) Received: from lor.one-eyed-alien.net (localhost [127.0.0.1]) by lor.one-eyed-alien.net (8.14.3/8.14.3) with ESMTP id n05KPPTS013626; Mon, 5 Jan 2009 14:25:25 -0600 (CST) (envelope-from brooks@lor.one-eyed-alien.net) Received: (from brooks@localhost) by lor.one-eyed-alien.net (8.14.3/8.14.3/Submit) id n05KPPp6013625; Mon, 5 Jan 2009 14:25:25 -0600 (CST) (envelope-from brooks) Date: Mon, 5 Jan 2009 14:25:25 -0600 From: Brooks Davis To: Brian Duke Message-ID: <20090105202525.GB11721@lor.one-eyed-alien.net> References: <49600E2E.7070601@avioc.org> <3163F769-48B0-4CFC-8842-BBBDDAE78B51@gmail.com> <20090105032657.GA1842@cdnetworks.co.kr> <4961FACE.4060203@avioc.org> <008b01c96f65$517a9d60$f46fd820$@com> <20090105193555.GA11721@lor.one-eyed-alien.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="eJnRUKwClWJh1Khz" Content-Disposition: inline In-Reply-To: <20090105193555.GA11721@lor.one-eyed-alien.net> User-Agent: Mutt/1.5.17 (2007-11-01) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-3.0 (lor.one-eyed-alien.net [127.0.0.1]); Mon, 05 Jan 2009 14:25:25 -0600 (CST) Cc: FreeBSD-stable@freebsd.org Subject: Re: cvsup freebsd 6_2 to freebsd 7_1 not upgrading? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Jan 2009 20:26:49 -0000 --eJnRUKwClWJh1Khz Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable OK, now I feel like an idiot, I completely misread the middle of your e-mail. You might still want to check out freebsd-update since it's a lot quicker than rebuilding, but that's not your issue here. On Mon, Jan 05, 2009 at 01:35:55PM -0600, Brooks Davis wrote: > [This question would be better to ask on the freebsd-questions list, but = see > below.] >=20 > On Mon, Jan 05, 2009 at 11:41:40AM -0700, Brian Duke wrote: > > Hello List, > > I'm trying to upgrade my system from 6_2 to 7_1 and cannot seem to do i= t. > > Perhaps I'm missing something. Here is the basic procedure I'm followin= g. > >=20 > > #cp /usr/share/examples/cvsup/standard-supfile /root/stand_sup > > #vi /root/stand_sup > > << > >>>host=3Dcvsup15.us.FreeBSD.org > > << > >>>tag=3DRELENG_7_1 > >=20 > > #cd /usr/src Was /usr/src empty or populated before you did the initial cvsup? =20 If it was populated, you need to adopt it before updating. http://www.cvsup.org/faq.html#caniadopt I personally just nuke the old tree in most cases. If you want to try an source update, this is probably a good option. > > #cvsup -g -L2 /root/stand_sup > > ... > > #make -j4 buildworld; make -j4 buildkernel; make installkernel Given a lack of a reboot here, you're lucky cvsup isn't working right. If it was, you'd mostly likely have an unusable system part way through the installworld below. > > ... (come back a hour or so later) > > #make installworld; reboot > >=20 > > After system is back up log in as root and... > >=20 > > # uname -a > > FreeBSD lazerus.box201.com 6.2-RELEASE FreeBSD 6.2-RELEASE #0: Fri Jan = 12 > > 11:05:30 UTC 2007 root@dessler.cse.buffalo.edu:/usr/obj/usr/src/sys= /SMP > > i386 > >=20 > > I cannot understand why this system will not upgrade. Even with the > > mergemaster -p commands added this system always boots to FreeBSD > > 6.2-RELEASE. I've tried this in various ways about 20 times and slowly = I'm > > corrupting the 6.2 build. I have the install disks but the Upgrade Free= BSD > > detects the /usr/src and refuses to over-write the directory. The make > > commands always finish perfectly. Would someone give this apparent noob= a > > hand? You might try removing the directory entirely and extracting over it. You = can also do that manually by cating tall the split files into tar. -- Brooks >=20 > You have misunderstood the purpose of csup/cvsup. It will upgrade > your source tree and allow you to compile a new kernel and userspace, > but it will not upgrade your system for your. What you appear to want > to do (binary upgrade) can be accomplished using freebsd-update. See > the Updating and Upgrading FreeBSD chapter of the FreeBSD Handbook, > particularly the FreeBSD Update section for more details: >=20 > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/updating-upgrad= ing.html --eJnRUKwClWJh1Khz Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (FreeBSD) iD8DBQFJYmy0XY6L6fI4GtQRAmjsAJ98aLgdVDZcF2uczyPVCjRGaXp3JgCfSBP+ 5JfKbBD9D/COmGL8jiu4GDM= =AwEE -----END PGP SIGNATURE----- --eJnRUKwClWJh1Khz--