Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 Dec 2004 09:55:54 +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:  <200412150956.02613.imoore@picknowl.com.au>
In-Reply-To: <20041214225932.M34944@enabled.com>
References:  <20041214224750.M18198@enabled.com> <d5eb95fc041214145239df4f23@mail.gmail.com> <20041214225932.M34944@enabled.com>

next in thread | previous in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
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 lot
> > > 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
> > > ===>  Installing for php4-4.3.9_1
> > >
> > > ===>  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
> ===>  Installing for php4-4.3.9_1
>
> ===>  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 .

Cheers,
-- 
Ian Moore

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

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (FreeBSD)

iD8DBQBBv3aKfITqkXhImmIRAnsKAKCd2CIcrzdODCgy22NWp80weqTI8ACcCVem
uCnvCa4bEwwCzkbALD3VCIo=
=zkwe
-----END PGP SIGNATURE-----

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