Marian Hercek wrote:
GLSA 200603-22 suggests to update PHP.

All PHP 4.x users should upgrade to the latest version:

    # emerge --sync
    # emerge --ask --oneshot --verbose ">=dev-lang/php-4.4.2"

I used
    # emerge --ask --oneshot --verbose "=dev-lang/php-4.4.2"
beacuse with '>' PHP5 would be emerged.

So after previous command I got this error:

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[blocks B     ] dev-php/php-cgi (is blocking dev-lang/php-4.4.2)
[blocks B     ] dev-php/mod_php (is blocking dev-lang/php-4.4.2)
[blocks B     ] dev-php/php (is blocking dev-lang/php-4.4.2)
[ebuild  N    ] app-admin/php-toolkit-1.0-r2  0 kB
[ebuild     U ] sys-devel/m4-1.4.4 [1.4.2-r1] +nls 299 kB
[ebuild  N    ] dev-lang/php-4.4.2  {cut ...USE flags here...}

Total size of downloads: 4,581 kB

!!! Error: The above package list contains packages which cannot be installed on the same system.


It seems there's something messed up with PHP.

Any idea how resolve that?

need to unmerge the offending packages before, dev-php/php-cgi, dev-php/mod_php, dev-php/php .

Also prepare /etc/portage/package.use , more use flags have been created, some of this are important, an extract of mine:

apache2 berkdb crypt fastbuild reflection session sharedext sharedmem sockets ssl tokenizer xml

this new ebuild is used to install also cgi and cli stuff so you may want to add also the "cgi" and "cli" use flags

If downtime is a problem you could try some trick with "--buildpkgonly" "--nodeps", ie.

emerge --buildpkgonly --nodeps dev-lang/php
emerge -C dev-php/php-cgi dev-php/mod_php  dev-php/php
emerge --usepkg app-admin/php-toolkit dev-lang/php

rgds,
Francesco
--
[email protected] mailing list

Reply via email to