Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Dec 2004 16:17:20 -0800
From:      "Noah" <admin2@enabled.com>
To:        Ian Moore <imoore@picknowl.com.au>, freebsd-questions@freebsd.org
Subject:   Re: php4 install has conflicts
Message-ID:  <20041215001450.M95343@enabled.com>
In-Reply-To: <200412151004.52765.imoore@picknowl.com.au>
References:  <20041214224750.M18198@enabled.com> <20041214225932.M34944@enabled.com> <200412150956.02613.imoore@picknowl.com.au> <200412151004.52765.imoore@picknowl.com.au>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 15 Dec 2004 10:04:52 +1030, Ian Moore wrote
> 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 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 .
> >
> 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 Makefile for mod_php says: CONFLICTS=      php4-4* php4-cli-4* 
> php4-cgi-4*


Okay, so I remove mod_php, huh - and then reinstall it?

take a look at this.  how do I handle all the packages that Need mod_php?  how
do I do this cleanly?

--- snp ---

# pkg_delete mod_php4-4.3.5_7,1 
pkg_delete: package 'mod_php4-4.3.5_7,1' is required by these other packages
and may not be deinstalled:
gallery-1.4.4.2
gallery-1.4.4.4
php4-bz2-4.3.9_1
php4-gettext-4.3.8_2
php4-mysql-4.3.8_2
php4-pcre-4.3.8_2
php4-session-4.3.8_2
phpMyAdmin-2.5.6_1
phpMyAdmin-2.5.7.1
phpbb-2.0.8_3
squirrelmail-1.4.3a



--- snip ---



> 
> Cheers,
> 
> -- 
> Ian Moore
> 
> GPG Key: http://homepages.picknowl.com.au/imoore/imoore.asc



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