Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 Dec 2004 10:04:52 +1030
From:      Ian Moore <imoore@picknowl.com.au>
To:        freebsd-questions@freebsd.org
Cc:        Noah <admin2@enabled.com>
Subject:   Re: php4 install has conflicts
Message-ID:  <200412151004.52765.imoore@picknowl.com.au>
In-Reply-To: <200412150956.02613.imoore@picknowl.com.au>
References:  <20041214224750.M18198@enabled.com> <20041214225932.M34944@enabled.com> <200412150956.02613.imoore@picknowl.com.au>

next in thread | previous in thread | raw e-mail | index | archive | help
--nextPart1226502.Q4jO9YU1HG
Content-Type: text/plain;
  charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

On Wed, 15 Dec 2004 09:55, you wrote:
> On Wed, 15 Dec 2004 09:30, Noah wrote:
> > On Tue, 14 Dec 2004 14:52:53 -0800, Derrick Ryalls wrote
> >
> > > > what is the cleanest way to get PHP4 installed here?  There are a l=
ot
> > > > of programs that have dependancies on mod_php4.  how do I update all
> > > > those dependancies to the latest version of mod_php4?  and then how
> > > > do I cleanly remove all those older versions of mod_php4?
> > > >
> > > > --- snip ---
> > > >
> > > > # make install clean
> > > > =3D=3D=3D>  Installing for php4-4.3.9_1
> > > >
> > > > =3D=3D=3D>  php4-4.3.9_1 conflicts with installed package(s):
> > > >      mod_php4-4.3.5_7,1
> > > >      mod_php4-4.3.6_1,1
> > > >      mod_php4-4.3.8_2,1
> > > >      mod_php4-4.3.9_1,1
> > > >
> > > >      They install files into the same place.
> > > >      Please remove them first with pkg_delete(1).
> > > > *** Error code 1
> > > >
> > > > Stop in /usr/ports/lang/php4.
> > >
> > > I recommend trying portupgrade (with the -N flag I believe)
> >
> > I think I am following you correctly here?
> >
> > --- snip ---
> >
> > # portupgrade -N mod_php4-4.3.9_1,1
> > # make install clean
> > =3D=3D=3D>  Installing for php4-4.3.9_1
> >
> > =3D=3D=3D>  php4-4.3.9_1 conflicts with installed package(s):
> >       mod_php4-4.3.5_7,1
> >       mod_php4-4.3.6_1,1
> >       mod_php4-4.3.8_2,1
> >       mod_php4-4.3.9_1,1
> >
> >       They install files into the same place.
> >       Please remove them first with pkg_delete(1).
> > *** Error code 1
> >
> > Stop in /usr/ports/lang/php4.
> >
> > --- snip ---
>
> Try portupgrade -rR php4\*
> The -N flag is for installing new packages, not upgrading existing ones.
> -rR should resolve all dependencies above & below php4. That should also
> remove all the old versions .
>
Oops,
I shouldn't answer things before I've woken up properly!
I missed the fact you had mod_php installed rather than php.
I believe you need to pkg_delete mod_php and then install php, since the=20
Makefile for mod_php says:
CONFLICTS=3D      php4-4* php4-cli-4* php4-cgi-4*

Cheers,

=2D-=20
Ian Moore

GPG Key: http://homepages.picknowl.com.au/imoore/imoore.asc

--nextPart1226502.Q4jO9YU1HG
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (FreeBSD)

iD8DBQBBv3icfITqkXhImmIRAl2NAJ9GBGUygLpKLd5p8bx6Mv6PNBAaUACffybu
mzYjyreX3wAkdzgo9+GiaqE=
=73PX
-----END PGP SIGNATURE-----

--nextPart1226502.Q4jO9YU1HG--



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