Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 Dec 2011 14:24:26 +0100
From:      Polytropon <freebsd@edvax.de>
To:        Albert Shih <Albert.Shih@obspm.fr>
Cc:        questions@freebsd.org
Subject:   Re: 7.4 -> 8.2
Message-ID:  <20111222142426.550b55da.freebsd@edvax.de>
In-Reply-To: <20111222124709.GA48640@pcjas.obspm.fr>
References:  <20111124150901.GK87561@pcjas.obspm.fr> <20111222124709.GA48640@pcjas.obspm.fr>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 22 Dec 2011 13:47:09 +0100, Albert Shih wrote:
>  Le 24/11/2011 =E0 16:09:01+0100, Albert Shih a =E9crit
> > Hi all
> >=20
> > Almost classic question about updating from 7.4 to 8.2.
> >=20
> > Anyone known if I can temporally run a 7.4 userland+service with 8.2 ke=
rnel
> > ?=20
> >=20
> > I've ask this because I've ~ 15 jail on one server. I can update the =
=ABhost=BB
> > 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 =ABnormally=BB.=20
> >=20
> So I answer to myself.=20
>=20
> Some body tell me it's like =20
>=20
> "My gut reaction was "Are you familiar with the game of Russian Roulette?=
".
>=20
> Well....it's work...almost.=20
>=20
> Here what I do :=20
>=20
> 	Upgrade kernel and userland from 7.4 to 8.2 on the host.
>=20
> 	Upgrade all userland of my all jail to 8.2
>=20
> 	Until now everything work fine.
>=20
> 	Delete old libs/files/man=20
>=20
> 	and...apache stop working.=20
>=20
> 	After do a
>=20
> 		portupgrade -fR apache
>=20
> 	everything work again.=20
>=20
> 	Be careful the=20
>=20
> 		portupgrade -f apache
>=20
> 	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 =AB-fR=BB and everything work again.
>=20
> 	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.


--=20
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20111222142426.550b55da.freebsd>