Re: php4 install has conflicts
On Dec 15, 2004, at 12:15 PM, Noah wrote: do you know of a command that can show me all the ports that are installed on my machine? is there a nice tutorial that explains how to use the ports efficiently and safetly? cheers, Noah If reading "man 7 ports" leaves you wanting, you might want to check out the following Ports related articles on onlamp.com: http://www.onlamp.com/pub/a/bsd/2003/08/07/FreeBSD_Basics.html http://www.onlamp.com/pub/a/bsd/2003/08/28/FreeBSD_Basics.html http://www.onlamp.com/pub/a/bsd/2003/09/18/FreeBSD_Basics.html I found them quite useful Lapo ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: php4 install has conflicts
On Thu, 16 Dec 2004 06:45, Noah wrote: > > I could be wrong about this, but I don't believe you need to > > reinstall those ports. Just force delete all old versions of mod- > > php4 and then install the new version of php4 or mod-php4 (whichever > > one you actually want). The other ports shouldn't need to be > > reinstalled, because the new version of php installs to the same > > location as the old version. Hence the ports that use it will just > > use the new version automatically. You may also want to clean up the > > duplicate gallery versions by using pkg_delete -f to remove both > > versions and then install just the latest version of gallery. > > > > To avoid this problem in the future, always use portupgrade to > > upgrade your ports. That way you won't get multiple versions installed! > > okay thank you, > > do you know of a command that can show me all the ports that are installed > on my machine? is there a nice tutorial that explains how to use the ports > efficiently and safetly? > cheers, > Noah > pkg_info will show you all the packages installed on your machine, portversion will do this too & show you wether they are up to date or not (assuming you have cvsuped your ports collection). portversion -vL= will show you which ones are not up to date. There is an excellent turorial on portupgrade from Dr. Dru Lavigne at http://www.onlamp.com/pub/a/bsd/2003/08/28/FreeBSD_Basics.html She has lot's of great articles in her FreeBSD basics series, the Big Scary Deamons articles are great too (also at http://www.onlamp.com) > also how do I upgrade and/or install php4? > > --- snip --- > > # portupgrade php4 > ** No such package 'php4' is installed. > # portinstall php4 > ** No such installed package nor such port called 'php4' is found. > > --- snip --- > That's where you need to use portupgrade -N php4-4.3.9_1 (-N means install a new port) or you can just cd to the php4 port directory and use make install clean to install it. Hope that helps. Cheers, -- Ian Moore GPG Key: http://homepages.picknowl.com.au/imoore/imoore.asc pgp4uJ65MQpfM.pgp Description: PGP signature
Re: php4 install has conflicts
Noah wrote: HI, okay one more question. what is the best method to get rid of all the stale dependencies please? --- snip --- Hi, Noah. (Thanks for building that boat all those years ago... :-) Anyway, this helped me in understanding how to answer pkgdb -F: http://www.onlamp.com/pub/a/bsd/2001/11/29/Big_Scary_Daemons.html A companion article from my Bookmarks: http://www.onlamp.com/pub/a/bsd/2003/08/28/FreeBSD_Basics.html Excellent for learning about portupgrade. HTH, Kevin Kinsey ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: php4 install has conflicts
On Wed, 15 Dec 2004 12:15:58 -0800, Noah <[EMAIL PROTECTED]> wrote: > okay thank you, > > do you know of a command that can show me all the ports that are installed on > my machine? % ls /var/db/pkg | more > is there a nice tutorial that explains how to use the ports > efficiently and safetly? http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ports.html and % man portupgrade(1) after you've installed portupgrade, of course ;) -- Joshua Lokken Open Source Advocate ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: php4 install has conflicts
Noah extolled: > > do you know of a command that can show me all the ports that are installed on > my machine? pkg_info >is there a nice tutorial that explains how to use the ports > efficiently and safetly? > > cheers, > > Noah > man (7) ports -- ___ Dan ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: php4 install has conflicts
> > 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* HI, okay one more question. what is the best method to get rid of all the stale dependencies please? --- snip --- # portupgrade -Rr php4\* Stale dependency: php4-bz2-4.3.9_1 --> apache-1.3.33_1 -- manually run 'pkgdb -F' to fix (-O disallowed when -R is given). hurricane# pkgdb -F ---> Checking the package registry database Stale origin: 'devel/autoconf257': perhaps moved or obsoleted. -> The port 'devel/autoconf257' was removed on 2004-07-01 because: "autotools cleanup" -> Hint: autoconf-2.57_1 is not required by any other package -> Hint: checking for overwritten files... -> No files installed by autoconf-2.57_1 have been overwritten by other packages. Deinstall autoconf-2.57_1 ? [no] ^C --- snip --- cheers, Noah > > Cheers, > > -- > Ian Moore > > GPG Key: http://homepages.picknowl.com.au/imoore/imoore.asc ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: php4 install has conflicts
> > I could be wrong about this, but I don't believe you need to > reinstall those ports. Just force delete all old versions of mod- > php4 and then install the new version of php4 or mod-php4 (whichever > one you actually want). The other ports shouldn't need to be > reinstalled, because the new version of php installs to the same > location as the old version. Hence the ports that use it will just > use the new version automatically. You may also want to clean up the > duplicate gallery versions by using pkg_delete -f to remove both > versions and then install just the latest version of gallery. > > To avoid this problem in the future, always use portupgrade to > upgrade your ports. That way you won't get multiple versions installed! > also how do I upgrade and/or install php4? --- snip --- # portupgrade php4 ** No such package 'php4' is installed. # portinstall php4 ** No such installed package nor such port called 'php4' is found. --- snip --- cheers, Noah > Cheers, > -- > Ian Moore > > GPG Key: http://homepages.picknowl.com.au/imoore/imoore.asc ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: php4 install has conflicts
> > I could be wrong about this, but I don't believe you need to > reinstall those ports. Just force delete all old versions of mod- > php4 and then install the new version of php4 or mod-php4 (whichever > one you actually want). The other ports shouldn't need to be > reinstalled, because the new version of php installs to the same > location as the old version. Hence the ports that use it will just > use the new version automatically. You may also want to clean up the > duplicate gallery versions by using pkg_delete -f to remove both > versions and then install just the latest version of gallery. > > To avoid this problem in the future, always use portupgrade to > upgrade your ports. That way you won't get multiple versions installed! okay thank you, do you know of a command that can show me all the ports that are installed on my machine? is there a nice tutorial that explains how to use the ports efficiently and safetly? cheers, Noah > > Cheers, > -- > Ian Moore > > GPG Key: http://homepages.picknowl.com.au/imoore/imoore.asc ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: php4 install has conflicts
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 those ports. Just force delete all old versions of mod-php4 and then install the new version of php4 or mod-php4 (whichever one you actually want). The other ports shouldn't need to be reinstalled, because the new version of php installs to the same location as the old version. Hence the ports that use it will just use the new version automatically. You may also want to clean up the duplicate gallery versions by using pkg_delete -f to remove both versions and then install just the latest version of gallery. To avoid this problem in the future, always use portupgrade to upgrade your ports. That way you won't get multiple versions installed! Cheers, -- Ian Moore GPG Key: http://homepages.picknowl.com.au/imoore/imoore.asc pgpbQgvj96yom.pgp Description: PGP signature
RE: php4 install has conflicts
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 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
RE: php4 install has conflicts
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 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: php4 install has conflicts
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 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: php4 install has conflicts
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* Cheers, -- Ian Moore GPG Key: http://homepages.picknowl.com.au/imoore/imoore.asc pgpiQLWBuGW3z.pgp Description: PGP signature
Re: php4 install has conflicts
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 pgp1bb28uwjVn.pgp Description: PGP signature
Re: php4 install has conflicts
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 --- > ___ > [EMAIL PROTECTED] mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "[EMAIL PROTECTED]" ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: php4 install has conflicts
> 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) ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
php4 install has conflicts
FreeBSD-4.9 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. --- snip --- ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"