Page 1 of 1

Dependencies issue when installing zend-pe over zend-ce

Posted: Tue Mar 10, 2009 6:36 pm
by illarane
Hi,

Not sure where's best to post this, as I can't find a bugtracker. If you add the zend-ce repository to sources.list and install zend-ce, then replace that repo with the pe one and install zend-pe, you get something like this:

Code: Select all

root@benjamin-ubuntu-804-zend:/home/benjamin# apt-get install zend-pe php-exif-zend-pe php-bz2-zend-pe php-sockets-zend-pe zend-pe-doc
Reading package lists... Done
Building dependency tree       
Reading state information... Done
zend-pe is already the newest version.
The following packages were automatically installed and are no longer required:
  libnet-daemon-perl linux-headers-2.6.27-7 php-mbstring-zend-ce libdbi-perl libdbd-mysql-perl linux-headers-2.6.27-7-generic
  mysql-server-5.0 mysql-client-5.0 zend-ce-doc libplrpc-perl mysql-server phpmyadmin php-bz2-zend-ce php-sockets-zend-ce php-exif-zend-ce
Use 'apt-get autoremove' to remove them.
The following NEW packages will be installed
  php-bz2-zend-pe php-exif-zend-pe php-sockets-zend-pe zend-pe-doc
0 upgraded, 4 newly installed, 0 to remove and 1 not upgraded.
53 not fully installed or removed.
Need to get 0B/79.1kB of archives.
After this operation, 426kB of additional disk space will be used.
(Reading database ... 125797 files and directories currently installed.)
Unpacking php-exif-zend-pe (from .../php-exif-zend-pe_5.2.8+b15_i386.deb) ...
dpkg: error processing /var/cache/apt/archives/php-exif-zend-pe_5.2.8+b15_i386.deb (--unpack):
 trying to overwrite `/usr/local/zend/lib/php_extensions/exif.so', which is also in package php-exif-zend-ce
Unpacking php-bz2-zend-pe (from .../php-bz2-zend-pe_5.2.5+b16_i386.deb) ...
dpkg: error processing /var/cache/apt/archives/php-bz2-zend-pe_5.2.5+b16_i386.deb (--unpack):
 trying to overwrite `/usr/local/zend/lib/php_extensions/bz2.so', which is also in package php-bz2-zend-ce
Unpacking php-sockets-zend-pe (from .../php-sockets-zend-pe_5.2.8+b15_i386.deb) ...
dpkg: error processing /var/cache/apt/archives/php-sockets-zend-pe_5.2.8+b15_i386.deb (--unpack):
 trying to overwrite `/usr/local/zend/lib/php_extensions/sockets.so', which is also in package php-sockets-zend-ce
Unpacking zend-pe-doc (from .../zend-pe-doc_4.0.2+b20_all.deb) ...
dpkg: error processing /var/cache/apt/archives/zend-pe-doc_4.0.2+b20_all.deb (--unpack):
 trying to overwrite `/usr/local/zend/doc/EULA', which is also in package zend-ce-doc
No apport report written because MaxReports is reached already
                                                              Errors were encountered while processing:
 /var/cache/apt/archives/php-exif-zend-pe_5.2.8+b15_i386.deb
 /var/cache/apt/archives/php-bz2-zend-pe_5.2.5+b16_i386.deb
 /var/cache/apt/archives/php-sockets-zend-pe_5.2.8+b15_i386.deb
 /var/cache/apt/archives/zend-pe-doc_4.0.2+b20_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
If you try to install zend-pe again without the extra package names, it does this:

Code: Select all

root@benjamin-ubuntu-804-zend:/home/benjamin# apt-get install zend-pe
Reading package lists... Done
Building dependency tree       
Reading state information... Done
zend-pe is already the newest version.
You might want to run ‘apt-get -f install’ to correct these:
The following packages have unmet dependencies.
  php5-common-extensions-zend-pe: Depends: php-exif-zend-pe but it is not going to be installed
                                  Depends: php-bz2-zend-pe but it is not going to be installed
                                  Depends: php-sockets-zend-pe but it is not going to be installed
  zend-pe: Depends: zend-pe-doc but it is not going to be installed
E: Unmet dependencies. Try ‘apt-get -f install’ with no packages (or specify a solution).
Ben.

Re: Dependencies issue when installing zend-pe over zend-ce

Posted: Tue Mar 10, 2009 7:28 pm
by jess04
Hello Ben,

First, thanks for your report.
This scenario was actually well tested so I am very interested in understand what went wrong..

Let me just write the steps you've taken as I understand them so you can confirm be sure I got this right:
0. You installed ce from the following repo: deb http://repos.zend.com/deb/ce ce non-free
1. You then added deb http://repos.zend.com/deb/pe pe non-free and ran: # apt-get install zend-pe

Is this correct? Assuming it is, could you please tell me how old was the CE installation or did you upgrade to the latest CE before running the zend-pe installation? Not doing so can be the reason behind the issue..

Also, I'd recommend you use aptitude over apt-get, Debian and Ubuntu also recommend that.

Looking forward to hearing from you and thanks!

Re: Dependencies issue when installing zend-pe over zend-ce

Posted: Wed Jul 20, 2011 1:01 pm
by lotuspec
0. You installed ce from the following repo: deb http://repos.zend.com/deb/ce ce non-free
1. You then added deb http://repos.zend.com/deb/pe pe non-free and ran: # apt-get install zend-pe
sseems to be correct

Re: Dependencies issue when installing zend-pe over zend-ce

Posted: Fri Oct 28, 2011 9:50 am
by schnapsten
Hi every one,
I've added the zend rep to my source.list , there is no problem , the packages have been added to my synaptic.
My problem is that I don't know which packages do I have to install to run Zend Server. I tried with zend-pe (as mentioned in developer website) and all its dependencies .
Installation succeeded but I don't know if this is the correct way to install , or there is another way. If what I've done was right can you tell me how to run it ? is it a GUI ?
and thank so so much!!

Re: Dependencies issue when installing zend-pe over zend-ce

Posted: Fri Oct 28, 2011 3:15 pm
by rbzend
schnapsten,
This does not really belong to this thread. Anyway, I suggest that you start with the documentation - DEB Installation

Re: Dependencies issue when installing zend-pe over zend-ce

Posted: Tue Nov 08, 2011 8:31 am
by diane10
You posted a very helpful information. I could finally fix my challenge. Great work guys:)