freebsd-update problem (on 6.2)

2007-03-28 Thread Miroslav Lachman
I did cvsup to RELENG_6_2 today and make build(world|kernel) 
install(kernel|world)


After mergemaster  reboot uname reports 6.2-RELEASE-p3 but 
`freebsd-update fetch` downloads patches to 6.2-RELEASE-p3 so I 
installed them by `freebsd-update install`.


uname reports 6.2-RELEASE-p2 after reboot!

If I try to run freebsd-update fetch again, I got this:
-
Looking up update.FreeBSD.org mirrors... 1 mirrors found.
Fetching metadata signature from update1.FreeBSD.org... done.
Fetching metadata index... done.
Inspecting system... done.
Preparing to download files... done.

The following files are affected by updates, but no changes have
been downloaded because the files have been modified locally:
/etc/rc.d/jail

No updates needed to update system to 6.2-RELEASE-p3.
--


So there is definitely something wrong - uname reports p2, 
freebsd-update p3 and at last /etc/rc.d/jail seems to it locally 
modified, but it is not! The whole system is GENERIC without any 
modifications.


Miroslav Lachman
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: freebsd-update problem (on 6.2)

2007-03-28 Thread Colin Percival
Miroslav Lachman wrote:
 I did cvsup to RELENG_6_2 today and make build(world|kernel)
 install(kernel|world)
 
 After mergemaster  reboot uname reports 6.2-RELEASE-p3 but
 `freebsd-update fetch` downloads patches to 6.2-RELEASE-p3 so I
 installed them by `freebsd-update install`.
 
 uname reports 6.2-RELEASE-p2 after reboot!

This is correct.  uname(1) reports the kernel version, and the change
from 6.2-RELEASE-p2 to 6.2-RELEASE-p3 did not affect the kernel.

 The following files are affected by updates, but no changes have
 been downloaded because the files have been modified locally:
 /etc/rc.d/jail

This is correct.  The version you have here is not the version which
was distributed with the release -- it's the version in the latest
RELENG_6_2.

Colin Percival
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: freebsd-update problem (on 6.2)

2007-03-28 Thread Colin Percival
Don O'Neil wrote:
Can I use freebsd-update to update from 6.1-STABLE-200608 to the latest
 version? When I try to run the program it says its not compatible... Is
 there a way to force it to update anyway

Only by editing the freebsd-update script or by modifying uname(1).

 and is there any reason I would
 NOT want to force it?

In general it's a bad idea, since FreeBSD Update looks at what files you had
installed from the old release and whether you've modified any of them in
order to decide how to upgrade to the new release.  If you confuse
freebsd-update enough to convince it to upgrade your non-supported installation,
it's likely to overwrite modified configuration files or not update files.

 I'm just trying to figure out the best way to get my machine updated, which
 was installed from a snapshot ISO, without having to do a buildworld.

There isn't any good solution here, yet.  I might add support for the snapshot
ISOs at some point (at least for upgrading to/from them -- there will not be
security updates built for them).

Colin Percival
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: freebsd-update problem (on 6.2)

2007-03-28 Thread Don O'Neil
Colin,
   Can I use freebsd-update to update from 6.1-STABLE-200608 to the latest
version? When I try to run the program it says its not compatible... Is
there a way to force it to update anyway, and is there any reason I would
NOT want to force it?

I'm just trying to figure out the best way to get my machine updated, which
was installed from a snapshot ISO, without having to do a buildworld.

Thanks!
Don 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Colin Percival
Sent: Wednesday, March 28, 2007 11:26 AM
To: Miroslav Lachman
Cc: freebsd-stable@freebsd.org
Subject: Re: freebsd-update problem (on 6.2)

Miroslav Lachman wrote:
 I did cvsup to RELENG_6_2 today and make build(world|kernel)
 install(kernel|world)
 
 After mergemaster  reboot uname reports 6.2-RELEASE-p3 but 
 `freebsd-update fetch` downloads patches to 6.2-RELEASE-p3 so I 
 installed them by `freebsd-update install`.
 
 uname reports 6.2-RELEASE-p2 after reboot!

This is correct.  uname(1) reports the kernel version, and the change from
6.2-RELEASE-p2 to 6.2-RELEASE-p3 did not affect the kernel.

 The following files are affected by updates, but no changes have been 
 downloaded because the files have been modified locally:
 /etc/rc.d/jail

This is correct.  The version you have here is not the version which was
distributed with the release -- it's the version in the latest RELENG_6_2.

Colin Percival
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]

___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]