Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 351263 - Cannot update to dev-lang/php-5.3.5 due to conflict with dev-lang/php:5
Summary: Cannot update to dev-lang/php-5.3.5 due to conflict with dev-lang/php:5
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: PHP Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-01-10 01:24 UTC by Nik Warburton
Modified: 2011-01-10 19:36 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nik Warburton 2011-01-10 01:24:18 UTC
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.
Comment 1 Chris Shymanik (mousee) 2011-01-10 01:39:43 UTC
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
Comment 2 Ole Markus With (RETIRED) gentoo-dev 2011-01-10 05:55:14 UTC
I would rather unmerge php-toolkit if you want to minimize downtime on php. that usually solves that unresolvable block
Comment 3 Dustin Polke 2011-01-10 06:35:47 UTC
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.
Comment 4 Nik Warburton 2011-01-10 19:36:58 UTC
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 :)