From owner-freebsd-questions@FreeBSD.ORG Wed May 31 14:57:21 2006 Return-Path: X-Original-To: questions@FreeBSD.org 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 94C7316B109 for ; Wed, 31 May 2006 14:57:21 +0000 (UTC) (envelope-from dev@freedomcircle.net) Received: from vms040pub.verizon.net (vms040pub.verizon.net [206.46.252.40]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3AFF143D55 for ; Wed, 31 May 2006 14:57:21 +0000 (GMT) (envelope-from dev@freedomcircle.net) Received: from [192.169.1.2] ([71.101.6.8]) by vms040.mailsrvcs.net (Sun Java System Messaging Server 6.2-4.02 (built Sep 9 2005)) with ESMTPA id <0J04006G4XJK4A54@vms040.mailsrvcs.net> for questions@FreeBSD.org; Wed, 31 May 2006 09:57:20 -0500 (CDT) Date: Wed, 31 May 2006 10:58:05 -0400 From: Joe In-reply-to: <20060531004426.GA36958@xor.obsecurity.org> To: Kris Kennaway Message-id: <447DAEFD.6030908@freedomcircle.net> Organization: Freedom Circle, LLC MIME-version: 1.0 Content-type: text/plain; charset=ISO-8859-1; format=flowed Content-transfer-encoding: 7bit References: <447B86F3.6070500@freedomcircle.net> <20060530002535.GA94917@xor.obsecurity.org> <447CB067.1080309@freedomcircle.net> <20060530213344.GA34025@xor.obsecurity.org> <447CC3C8.9020300@freedomcircle.net> <20060530222808.GA34725@xor.obsecurity.org> <447CDF69.4030704@freedomcircle.net> <20060531004426.GA36958@xor.obsecurity.org> User-Agent: Thunderbird 1.5.0.2 (Windows/20060308) Cc: questions@FreeBSD.org Subject: Re: pkg_upgrade? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 May 2006 14:57:28 -0000 Kris Kennaway wrote: > On Tue, May 30, 2006 at 08:12:25PM -0400, Joe wrote: >> The .ko files have a Nov 3 2005 date, whereas the files in /boot >> including the kernel directory have a May 6 2006 date. I take it that >> Nov 3 means 6.0-RELEASE since the announcement was done on Nov 4. So, I >> guess I'm back to the question of how to do a binary upgrade from 6.0 to >> 6.1 (and particularly where is this documented). Should I attempt >> another sysinstall Upgrade? > > Show me > > sysctl kern.version > > and the output of a failed package fetch. Here is the output of "portupgrade -PP -v expat": ---> Session started at: Wed, 31 May 2006 09:21:25 -0400 ---> Checking for the latest package of 'textproc/expat2' ---> Found a package of 'textproc/expat2': /usr/ports/packages/All/expat-1.95.8_3.tbz (expat-1.95.8_3) ---> Fetching the package(s) for 'expat-2.0.0_1' (textproc/expat2) ---> Fetching expat-2.0.0_1 ++ Will try the following sites in the order named: ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/i386/packages-6.0-release/ ---> Invoking a command: /usr/bin/fetch -o '/var/tmp/portupgrade8rSLsPlD/expat-2.0.0_1.tbz' 'ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/i386/packages-6.0-release/All/expat-2.0.0_1.tbz' fetch: ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/i386/packages-6.0-release/All/expat-2.0.0_1.tbz: File unavailable (e.g., file not found, no access) ** The command returned a non-zero exit status: 1 ** Failed to fetch ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/i386/packages-6.0-release/All/expat-2.0.0_1.tbz ---> Invoking a command: /usr/bin/fetch -o '/var/tmp/portupgrade8rSLsPlD/expat-2.0.0_1.tgz' 'ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/i386/packages-6.0-release/All/expat-2.0.0_1.tgz' fetch: ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/i386/packages-6.0-release/All/expat-2.0.0_1.tgz: File unavailable (e.g., file not found, no access) ** The command returned a non-zero exit status: 1 ** Failed to fetch ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/i386/packages-6.0-release/All/expat-2.0.0_1.tgz ** Failed to fetch expat-2.0.0_1 ---> Listing the results (+:done / -:ignored / *:skipped / !:failed) ! expat-2.0.0_1 (fetch error) ---> Packages processed: 0 done, 0 ignored, 0 skipped and 1 failed ---> Fetching the latest package(s) for 'expat' (textproc/expat2) ---> Fetching expat ++ Will try the following sites in the order named: ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/i386/packages-6.0-release/ ---> Invoking a command: /usr/bin/fetch -o '/var/tmp/portupgradeKe8LJnQa/expat.tbz' 'ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/i386/packages-6.0-release/Latest/expat.tbz' /var/tmp/portupgradeKe8LJnQa/expat.tbz 0% of 137 kB 0 Bps/var/tmp/portupgradeKe8LJnQa/expat.tbz 2% of 137 kB 32 kBps/var/tmp/portupgradeKe8LJnQa/expat.tbz 98% of 137 kB 126 kBps/var/tmp/portupgradeKe8LJnQa/expat.tbz 100% of 137 kB 128 kBps ---> Downloaded as expat.tbz ---> Identifying the package /var/tmp/portupgradeKe8LJnQa/expat.tbz ---> Saved as /usr/ports/packages/All/expat-1.95.8_3.tbz ---> Listing the results (+:done / -:ignored / *:skipped / !:failed) + expat@ ---> Packages processed: 1 done, 0 ignored, 0 skipped and 0 failed ** Ignoring the package, which is the same version as is installed (1.95.8_3) ** No package available: textproc/expat2 ---> Found a package of 'textproc/expat2': /usr/ports/packages/All/expat-1.95.8_3.tbz (expat-1.95.8_3) ---> Located a package version 1.95.8_3 (/usr/ports/packages/All/expat-1.95.8_3.tbz) ---> Listing the results (+:done / -:ignored / *:skipped / !:failed) ! textproc/expat2 (expat-1.95.8_3) (package not found) ---> Packages processed: 0 done, 0 ignored, 0 skipped and 1 failed ---> Session ended at: Wed, 31 May 2006 09:21:34 -0400 (consumed 00:00:08) I tried running another sysinstall Upgrade without installing X.org and now I didn't have any errors. 'kernels' was one of the distributions selected (by default) so I was wondering how *does* the kernel get swapped while it's still running. So I ran another sysinstall but this time from the 6.0-RELEASE CD-ROM. I chose 6.1-RELEASE from Options, FTP from ftp.freebsd.org as the source of the distribution, and didn't install X.org. It went OK as the previous one did, but upon reboot I still have a 6.0-RELEASE kernel. So I'm back to wondering how do those 6.0 .ko objects get replaced by 6.1 .ko's in the upgrade process ... Joe