pkg_upgrade?
Joe
dev at freedomcircle.net
Wed May 31 07:57:28 PDT 2006
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
More information about the freebsd-questions
mailing list