7.4 -> 8.2
freebsd at edvax.de
Thu Dec 22 13:24:28 UTC 2011
On Thu, 22 Dec 2011 13:47:09 +0100, Albert Shih wrote:
> Le 24/11/2011 à 16:09:01+0100, Albert Shih a écrit
> > Hi all
> > Almost classic question about updating from 7.4 to 8.2.
> > Anyone known if I can temporally run a 7.4 userland+service with 8.2 kernel
> > ?
> > I've ask this because I've ~ 15 jail on one server. I can update the «host»
> > pretty fast but with the 15 jail I need some time. And I would like to
> > known if durring this time the jail going to work «normally».
> So I answer to myself.
> Some body tell me it's like
> "My gut reaction was "Are you familiar with the game of Russian Roulette?".
> Well....it's work...almost.
> Here what I do :
> Upgrade kernel and userland from 7.4 to 8.2 on the host.
> Upgrade all userland of my all jail to 8.2
> Until now everything work fine.
> Delete old libs/files/man
> and...apache stop working.
> After do a
> portupgrade -fR apache
> everything work again.
> Be careful the
> portupgrade -f apache
> is not enough. I don't known which ports have some problem but I
> got a SSL error. So first I just update apache. It's not good. Then
> apr, etc...finally I upgrade with «-fR» and everything work again.
> For subversion you need to force upgrade neon too.
You should basically be able to run v7 programs in a
partially installed v8 environment as long as the
COMPAT_FREEBSD7 functionality is enabled and the
compat7x-i386-7.3.703000.201008_1 port or package
has been installed. However, kernel and world should
match each other.
After an upgrade from one major version to the next
one, it's the best solution to update _all_ installed
ports. The "man portmaster" manpage contains a nice
example for this situation. It should be similarly
easy to achieve with portupgrade.
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
More information about the freebsd-questions