Posts Tagged ‘Zend’
After a long battle a solution is here!
Disclaimer: Use at your own risk! Worked on clean 12.04 install.
First of all we used a script taken from: http://ubuntuforums.org/showthread.php?t=636724&page=2
#!/bin/bash #modded by japzone if [[ -z "$1" ]]; then echo "Syntax: $0 debfile" exit 1 fi DEBFILE="$1" TMPDIR=`mktemp -d /tmp/deb.XXXXXXXXXX` || exit 1 OUTPUT=`basename "$DEBFILE" .deb`.modfied.deb if [[ -e "$OUTPUT" ]]; then echo "$OUTPUT exists." rm -r "$TMPDIR" exit 1 fi dpkg-deb -x "$DEBFILE" "$TMPDIR" dpkg-deb --control "$DEBFILE" "$TMPDIR"/DEBIAN if [[ ! -e "$TMPDIR"/DEBIAN/control ]]; then echo DEBIAN/control not found. rm -r "$TMPDIR" exit 1 fi CONTROL="$TMPDIR"/DEBIAN/control MOD=`stat -c "%y" "$CONTROL"` gedit "$CONTROL" read -p "Press any key once you've finished editing and saved" if [[ "$MOD" == `stat -c "%y" "$CONTROL"` ]]; then echo Not modfied. else echo Building new deb... dpkg -b "$TMPDIR" "$OUTPUT" fi rm -r "$TMPDIR"
The script above saved as debedit.sh and given execute permissions by
chmod u+x debedit.sh
Packages downloaded by:
apt-get download libpq4 php-5.3-imap-zend-server
Then edited dependencies by:
./debedit.sh libpq4_8.1.17-0etch1_amd64.deb ./debedit.sh php-5.3-imap-zend-server_5.3.9+b260_amd64.deb
In the “Depends” line of each of them changed libkrb53 to libkrb5-3
After that installed each of the modified packages:
dpkg -i libpq4_8.1.17-0etch1_amd64.modfied.deb dpkg -i php-5.3-imap-zend-server_5.3.9+b260_amd64.modfied.deb
And then, finally, installed the zend server by:
apt-get install zend-server-ce-php-5.3
WOW! It Works!!!
This is continued from: Zend Server broken on Ubuntu 12.04
User brinleyang on Zend forums has posted a temporary fix for the bug Zend introduced in their server on Ubuntu 12.04.
What he did is he created a quick hack and removed the dependency on libkrb in libpq and php-5.3-imap-zend-server deb packages and manually installed the packages after which installing zend server ce should work.
However, this will most likely break postgres and imap zend modules so it may not be the solution for people who require those modules.
You can follow the post here:
To all of us using Zend Server on Ubuntu DONT update to the latest version 12.04 (at least until they will fix it!).
As of now, although they have this posted as a bug from January it’s impossible to use Zend Server 5.6 on Ubuntu 12.04 LTS.
The following packages have unmet dependencies:
zend-server-php-5.3 : Depends: php-5.3-common-extensions-zend-server but it is not going to be installed
The problem is seams is in libkrb53 which was a dummy for libkrb5-3 in previous versions and is no longer supported.
There is no known overrides as of now.
I have decided to upgrade my Zend Studio 7.2 Beta to the released version.
Well as I found out, NEVER change horses in midstream.
It took me most of the day to set up server connection again.