Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 Dec 2004 18:20:42 +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:  <200412151820.53919.imoore@picknowl.com.au>
In-Reply-To: <20041215011800.M29112@enabled.com>
References:  <6FC9F9894A9F8C49A722CF9F2132FC2202A7A4BF@ms05.mailstreet2003.net> <20041215011800.M29112@enabled.com>

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

On Wed, 15 Dec 2004 11:49, Noah wrote:
> On Tue, 14 Dec 2004 19:50:15 -0500, Haulmark, Chris wrote
>
> > Someone broke the silence:
> > > 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
> >
> > Use -f for pkg_delete when you want to delete a package without any
> > worry about the dependencies.
> >
> > What I would do is:
> >
> > pkg_delete -f mod_php4-4.3.5_7,1
> > portinstall mod_php4
> >
> > Then you can be safe if you reinstall the rest of them with your
> > previous reinstall method.
>
> Okay cool.  let me be sure that I am on the same page as you.
>
> do I need to go and reinstall the gallery, php4-bz2 proggies?  is that
> wahat you are saying here?
>
> cheers,
>
> Noah
>
> > Chris

I could be wrong about this, but I don't believe you need to reinstall thos=
e=20
ports.
Just force delete all old versions of mod-php4 and then install the new=20
version of php4 or mod-php4 (whichever one you actually want). The other=20
ports shouldn't need to be reinstalled, because the new version of php=20
installs to the same location as the old version. Hence the ports that use =
it=20
will just use the new version automatically.
You may also want to clean up the duplicate gallery versions by using=20
pkg_delete -f to remove both versions and then install just the latest=20
version of gallery.

To avoid this problem in the future, always use portupgrade to upgrade your=
=20
ports. That way you won't get multiple versions installed!

Cheers,
=2D-=20
Ian Moore

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

--nextPart3804649.jlrz8Ci01z
Content-Type: application/pgp-signature

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

iD8DBQBBv+zdfITqkXhImmIRAotjAJ99GOcz2RHC4Id4bchLXeBC+TLT1ACgsCAE
bh918qbA2cB/iXe8p/b/55Y=
=jHQH
-----END PGP SIGNATURE-----

--nextPart3804649.jlrz8Ci01z--



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