Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
two php versions conflicts each other in the same emerge
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Duplicate Threads
View previous topic :: View next topic  
Author Message
sorcerer25
n00b
n00b


Joined: 28 Nov 2003
Posts: 54

PostPosted: Sun Feb 19, 2006 10:06 pm    Post subject: two php versions conflicts each other in the same emerge Reply with quote

Code:

emerge -avDC mod_php libswf php

>>> These are the packages that I would unmerge:

--- Couldn't find mod_php to unmerge.

--- Couldn't find libswf to unmerge.

--- Couldn't find php to unmerge.

>>> unmerge: No packages selected for removal.

Code:

emerge -avDu world

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

Calculating world dependencies ...done!
[blocks B     ] dev-php/mod_php (is blocking dev-lang/php-5.0.5-r5)
[blocks B     ] media-libs/libswf (is blocking dev-lang/php-5.0.5-r5)
[blocks B     ] dev-php/php (is blocking dev-lang/php-5.0.5-r5)
[ebuild  N    ] media-libs/libswf-0.99  567 kB
...
!!! Error: The above package list contains packages which cannot be installed
!!!        on the same system.


i tried fixpackages and emerge sync again, still the same error :(
any idea what to do ?


Last edited by sorcerer25 on Mon Feb 20, 2006 2:02 am; edited 1 time in total
Back to top
View user's profile Send private message
Catch-22
Apprentice
Apprentice


Joined: 22 Oct 2004
Posts: 244

PostPosted: Sun Feb 19, 2006 10:16 pm    Post subject: Reply with quote

tried regenworld? (backup your world file first)
Back to top
View user's profile Send private message
sorcerer25
n00b
n00b


Joined: 28 Nov 2003
Posts: 54

PostPosted: Sun Feb 19, 2006 10:34 pm    Post subject: Reply with quote

some more errors now:
Code:

emerge -avDu world

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

Calculating world dependencies   
!!! Packages for the following atoms are either all
!!! masked or don't exist:
media-video/avifile net-p2p/dc-gui
                                                                                                                                   ...done!
[blocks B     ] dev-php/mod_php (is blocking dev-lang/php-5.0.5-r5)
[blocks B     ] media-libs/libswf (is blocking dev-lang/php-5.0.5-r5)
[blocks B     ] dev-php/php (is blocking dev-lang/php-5.0.5-r5)
[ebuild  N    ] media-libs/libswf-0.99  567 kB
...


and strange, emerging manually php is working but it try to emerge php 4 not php 5
but emerge -u world is trying to emerge php 5
Back to top
View user's profile Send private message
sorcerer25
n00b
n00b


Joined: 28 Nov 2003
Posts: 54

PostPosted: Mon Feb 20, 2006 1:18 am    Post subject: Reply with quote

only now i see it:
Code:

emerge -avDu world

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

Calculating world dependencies
!!! Packages for the following atoms are either all
!!! masked or don't exist:
media-video/avifile net-p2p/dc-gui
                                                                                                                                   ...done!
[blocks B     ] dev-php/mod_php (is blocking dev-lang/php-5.0.5-r5)
[blocks B     ] media-libs/libswf (is blocking dev-lang/php-5.0.5-r5)
[blocks B     ] dev-php/php (is blocking dev-lang/php-5.0.5-r5)
[ebuild  N    ] media-libs/libswf-0.99  0 kB
[ebuild  N    ] dev-php/mod_php-4.4.0-r9  +X +apache2 +berkdb +crypt +curl -debug +doc -fdftk -firebird +flash +freetds +gd -gd-external +gdbm +gmp -hardenedphp +imap -informix -ipv6 +java +jpeg +kerberos -ldap +mcal +memlimit +mssql +mysql +nls -oci8 -odbc -pam +png -postgres +snmp +spell +ssl +tiff +truetype +xml2 +yaz 0 kB
[ebuild  N    ] dev-php/php-4.4.0-r4  +X +berkdb +crypt +curl -debug +doc -fdftk -firebird +flash +freetds +gd -gd-external +gdbm +gmp -hardenedphp +imap -informix -ipv6 +java +jpeg +kerberos -ldap +mcal +memlimit +mssql +mysql +ncurses +nls -oci8 -odbc -pam +png -postgres +readline +snmp +spell +ssl +tiff +truetype +xml2 +yaz 0 kB
[ebuild     U ] sys-apps/baselayout-1.11.14-r5 [1.11.14-r3] -bootstrap -build -static +unicode 0 kB
[ebuild     U ] www-client/links-2.1_pre20 [2.1_pre19] +X +directfb +fbcon +gpm +javascript +jpeg -livecd +png +sdl +ssl +svga +tiff +unicode 3,768 kB
[ebuild     U ] sys-apps/usbutils-0.71-r1 [0.11-r5] 159 kB
[ebuild     U ] sys-power/acpid-1.0.4-r3 [1.0.4-r2] +doc +logrotate 22 kB
[ebuild     UD] net-misc/tightvnc-1.2.9-r1 [1.3_alpha5] +java +tcpd 1,697 kB
[ebuild     U ] x11-libs/openmotif-2.2.3-r9 [2.2.3-r8] 5,029 kB
[ebuild     U ] media-gfx/nvidia-cg-toolkit-1.4.0.4 [1.2.0402.1900] 4,126 kB
[ebuild     U ] dev-libs/opensc-0.10.1 [0.9.4] +X -ldap -pcsc-lite 1,275 kB
[ebuild  N    ] net-nds/openldap-2.2.28-r3  +berkdb +crypt -debug +gdbm -ipv6 +kerberos -minimal -odbc +perl +readline +samba +sasl (-selinux) +slp +ssl +tcpd 4,565 kB
[ebuild  N    ] dev-lang/php-5.0.5-r5  -adabas -apache +apache2 +bcmath +berkdb -birdstep +bzip2 +calendar -cdb -cgi -cjk -cli +crypt +ctype +curl +curlwrappers +db2 +dba +dbase +dbmaker -debug -discard-path +doc -empress -empress-bcs -esoob +exif -fdftk -filepro -firebird +flatfile -force-cgi-redirect -frontbase +ftp +gd -gd-external +gdbm +gmp -hardenedphp +hyperwave-api +iconv +imap -informix +inifile -interbase +iodbc -ipv6 -java-external +kerberos +ldap +libedit -mcve +memlimit +mhash +ming +mnogosearch -msql +mssql +mysql +mysqli +ncurses +nls -oci8 -oci8-instant-client -odbc -oracle7 -ovrimos +pcntl +pcre -pdo-external +pfpro -pic +posix -postgres +qdbm +readline +recode -sapdb +sasl +session +sharedext +sharedmem +simplexml +snmp +soap +sockets -solid +spell +spl -sqlite +ssl -sybase -sybase-ct +sysvipc +threads +tidy +tiff +tokenizer +truetype +wddx +xml +xmlrpc +xpm +xsl +yaz +zip +zlib 0 kB
[ebuild  N    ] dev-php5/pecl-yaz-1.0.4  15 kB
[ebuild  N    ] dev-libs/zziplib-0.13.36  +sdl 456 kB
[ebuild  N    ] dev-php5/pecl-zip-1.0  4 kB
[ebuild     U ] net-dns/bind-9.3.2 [9.2.5-r6] +berkdb -dlz +doc +idn -ipv6 -ldap +mysql -odbc -postgres (-selinux) +ssl +threads 5,177 kB
[ebuild     U ] net-dns/bind-tools-9.3.2 [9.2.5] -ipv6 0 kB

Total size of downloads: 26,299 kB

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


how you can see emerge first try to install mod_php and dev-php/php version 4 then dev-lang/php version 5, is this a bug or what ?!?
Back to top
View user's profile Send private message
nmbrthry
Tux's lil' helper
Tux's lil' helper


Joined: 21 Jun 2005
Posts: 80
Location: Urbana-Champaign, IL

PostPosted: Mon Feb 20, 2006 3:47 am    Post subject: Reply with quote

Gentoo is phasing out dev-php/php in favor of dev-lang/php. If you want PHP4, you can install it slotted by doing 'emerge =dev-lang/php-4.<insert version>'. Then use php-select to choose the version to use for different apps (cli, apache, apache2, cgi). See this link for upgrade info: http://www.gentoo.org/proj/en/php/php-upgrading.xml.
Back to top
View user's profile Send private message
sorcerer25
n00b
n00b


Joined: 28 Nov 2003
Posts: 54

PostPosted: Mon Feb 20, 2006 11:09 am    Post subject: Reply with quote

thank you for the link ... BUT ...
that documentation is talking about having PHP 4 and PHP 5 in the same time, that is very nice
BUT that don't seems to work, emerge show conflict between them and updating gentoo (emerge -u world) DON'T WORK be cause of that, so, STILL A BUG !

and yes, i did completely unemerge php 4 first :)
Back to top
View user's profile Send private message
nmbrthry
Tux's lil' helper
Tux's lil' helper


Joined: 21 Jun 2005
Posts: 80
Location: Urbana-Champaign, IL

PostPosted: Mon Feb 20, 2006 10:22 pm    Post subject: Reply with quote

The documentation not only discusses installing both at the same time, but also the fact that php has switched categories. You probably don't want to use anything from dev-php anymore, since it is being (or already has been) integrated into dev-lang/php. So to get PHP4, you need to install the slotted version of dev-lang/php, not dev-php/php. Your 'emerge world' looks like it is trying to pull in both dev-php/php and dev-lang/php, which causes blockage.
Back to top
View user's profile Send private message
sorcerer25
n00b
n00b


Joined: 28 Nov 2003
Posts: 54

PostPosted: Tue Feb 21, 2006 1:32 pm    Post subject: Reply with quote

yes, but it did all by itself, no help from me :)
and ... disturbing, one of few emerge -u world ignored php 4 and installed only php 5
i want php 5, not 4 :) and i manage to work arround it, emerging manually dev-lang/php and then emerge -u world (and it forgot all about php 4)
so, it is solved, thank you for support !
Back to top
View user's profile Send private message
tomk
Bodhisattva
Bodhisattva


Joined: 23 Sep 2003
Posts: 7221
Location: Sat in front of my computer

PostPosted: Tue Feb 21, 2006 10:15 pm    Post subject: Reply with quote

Moved from Portage & Programming to Duplicate Threads, please see this topic.
_________________
Search | Read | Answer | Report | Strip
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Duplicate Threads All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum