Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 20 Mar 2004 12:37:46 -0800 (PST)
From:      samy lancher <washville2003@yahoo.com>
To:        Jorn Argelo <jorn@wcborstel.nl>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: php installation problems; PortUpgrade Question...
Message-ID:  <20040320203746.15002.qmail@web60309.mail.yahoo.com>
In-Reply-To: <20040320100237.9268C1705E@www.wcborstel.nl>

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

Hello,

I have installed portupgrade tool on my system. I need some clarification before i use it. At present, my system has mysql3.23,Apache1.3 and no php. 

Earlier, My system had php4.2.2 but when i used "pkg_update php4.2.2" ; php4-4.2.2 got uninstalled and  new version php4-4.3.3 was not  installed because it needed upgradation of mysql.

Anyways, Now I want to install php4-4.3.3.1 in my system using portupgrade without manually upgrading mysql. When i gave "pkg_info | grep php" i did not get any output since i do not have php installed on my system. So, I am not sure what should i specify after -NRr in "portupgrade -NRr ??????". 

Will the command " portupgrade -NRr php4-4.3.3.1" work? Will this command install php4-4.3.3.1 and also upgrade all its dependencies(if necessary). 

I would really appreciate any help.

 

Thanks,

Naveen.
Jorn Argelo <jorn@wcborstel.nl> wrote:

Why don't you use portupgrade instead? You can install it via
/usr/ports/sysutils/portupgrade if you don't have it. Though I am not
certain if it works or even exists for FreeBSD 4.5

Anyway, if you do have it, try this:

pkg_info | grep php
portupgrade -Rr 

Cheers,

Jorn

On 3/19/2004, "samy lancher" wrote:

>
>Hello All,
>
>I have FreeBSD 4.5, apache 1.3.26_3 and mod_php4-4.2.2 . i wanted to upgrade php to php4-4.3.3.1 so i downloaded php4-4.3.3,1.tgz to usr/ports/distfiles and gave the command
>
>port_update -r mod_php4-4.2.2 php4-4.3.3,1.tgz
>
>I noticed that php old version got uninstalled and the new one did not get installed. Then in usr/ports/distfiles when i gave the command "pkg_add php4-4.3.3,1.tgz" i got an error
>
>read_plist: bad command '@conflicts php4-4*'
>
>I guess it is something to do with package version and their dependencies but I am not sure what exactly the problem is.
>
>I would also like to know if there is a way i can find out all the dependencies for a particular package before actually installing it.
>
>I would appreciate if some one could help me.
>
>Thanks,
>
>Naveen.
>
>
>Do you Yahoo!?
>Yahoo! Mail - More reliable, more storage, less spam
>_______________________________________________
>freebsd-questions@freebsd.org mailing list
>http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"

Do you Yahoo!?
Yahoo! Finance Tax Center - File online. File on time.



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