When attempting to update PHP to the latest version, it wants to install app-admin/eselect-php-0.6.2 and dev-lang/php-5.3.5 but these two packages are blocked by existing packages that I cannot remove. Reproducible: Always Steps to Reproduce: 1. "emerge php" or "emerge -u @world" (which currently has the php upgrade as part of it) Actual Results: Calculating dependencies... done! [ebuild N ] app-admin/eselect-php-0.6.2 [ebuild NS ] dev-lang/php-5.3.5 [5.3.3-r1] USE="(-adabas) apache2 -bcmath -berkdb (-birdstep) bzip2 -calendar cdb -cgi -cjk cli crypt ctype curl -curlwrappers -db2 (-dbmaker) -debug -doc -embed (-empress) (-empress-bcs) -enchant (-esoob) -exif fileinfo filter (-firebird) -flatfile -fpm (-frontbase) ftp -gd -gd-external gdbm -gmp hash iconv imap -inifile -interbase -intl -iodbc -ipv6 json -kerberos -kolab -ldap -ldap-sasl -libedit mhash -mssql mysql mysqli -mysqlnd nls -oci8 -oci8-instant-client -odbc -pcntl -pdo phar -pic posix -postgres -qdbm readline -recode -sapdb session -sharedext -sharedmem simplexml snmp soap sockets (-solid) -spell sqlite sqlite3 ssl -suhosin (-sybase-ct) sysvipc -threads tidy tokenizer -truetype unicode -wddx xml -xmlreader xmlrpc -xmlwriter -xpm -xsl zip zlib" [blocks B ] dev-lang/php:5 ("dev-lang/php:5" is blocking dev-lang/php-5.3.5) [blocks B ] app-admin/php-toolkit ("app-admin/php-toolkit" is blocking app-admin/eselect-php-0.6.2) * Error: The above package list contains packages which cannot be * installed at the same time on the same system. (dev-lang/php-5.3.3-r1, installed) pulled in by dev-lang/php:5 required by @selected (dev-lang/php-5.3.5, ebuild scheduled for merge) pulled in by php (app-admin/php-toolkit-1.0.2, installed) pulled in by app-admin/php-toolkit required by @selected Expected Results: I expected PHP to be upgraded. There's nothing unusual in my make.conf (EMERGE_DEFAULT_OPTS is just "--alphabetical --ask --verbose") & I'm not aware of having ever altered anything that could have an impact on this. I had the same problem with trying to upgrade to 5.3.4 but I thought it might be a problem with that version, so I blocked that hoping that 5.3.5 would fix it, but it has done just the same.
It's just a slot conflict. You need to un-emerge "dev-lang/php:5" and then you should be able to emerge either "dev-lang/php" or, if you prefer to have php5.3 slotted, "emerge dev-lang/php:5.3". I believe minor versions are also supported now as well (ie. "dev-lang/php5.3.4"), though don't quote me on that as I've no need to slot minor revision of any packages on my systems :P
I would rather unmerge php-toolkit if you want to minimize downtime on php. that usually solves that unresolvable block
You probably have php-toolkit in @selected. If you remove it from /var/lib/portage/world, this block should be resolved automatically by the package manager.
I removed php-toolkit from @selected but it was still conflicting with php:5, so I removed that (I've no idea why there's a dev-lang/php and a dev-lang/php:5) and it now seems to be installing fine! Thanks for the help :)