php4 install has conflicts
Haulmark, Chris
chris at sigd.net
Tue Dec 14 16:50:40 PST 2004
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.
Chris
More information about the freebsd-questions
mailing list