Unable to Remove Zend Server CE

General discussion forum for the Zend Server

Unable to Remove Zend Server CE

Postby redturtle on Mon Oct 11, 2010 10:46 pm

At some point Zend Server CE 5.0.3 stopped working and I was unable to fix it. I decided to uninstall and reinstall. Unfortunately I am unable to remove Zend Server.

When I try
Code: Select all
aptitude purge "~n.*zend.*"

I get this
Code: Select all
E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem.
E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem.

When I try to fix with
Code: Select all
dpkg --configure -a

I get this
Code: Select all
Setting up php-5.3-gui-zend-server (5.0.134+b37) ...
Site zendserver_gui.conf already enabled
* Reloading web server config apache2
Restarting lighttpd to refresh Zend Server GUI
Terminated

After this I still can't remove...

Any tips are highly appreciated. Thanks.
redturtle
 
Posts: 6
Joined: Tue Oct 05, 2010 8:37 pm

Re: Unable to Remove Zend Server CE

Postby redturtle on Sun Oct 17, 2010 10:56 pm

I am still unable to fix this. I was running in a lot of problems as a result of this:
Now I'm stucked here:

Running
Code: Select all
root@X100e:/var/cache/apt/archives# apt-get update
Get:1 http://dl.google.com stable Release.gpg [189B]
Ign http://dl.google.com/linux/chrome/deb/ stable/main Translation-en   
.
.
.
Hit http://archive.ubuntu.com maverick-security/multiverse i386 Packages
Fetched 3,826B in 0s (4,932B/s)
E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem.

Running
Code: Select all
root@X100e:/var/cache/apt/archives# dpkg --configure -a
Setting up php-5.3-gui-zend-server (5.0.134+b37) ...
Site zendserver_gui.conf already enabled
* Reloading web server config apache2
Restarting lighttpd to refresh Zend Server GUI
Terminated

It looks related to Zend Server but I'm unable to solve. Help is highly appreciated.

Thanks, Udo
redturtle
 
Posts: 6
Joined: Tue Oct 05, 2010 8:37 pm

Re: Unable to Remove Zend Server CE

Postby liorkaplan on Mon Oct 18, 2010 1:04 pm

As you want to remove Zend Server, we can edit the script that causes the problem. Afterwards you should remove the rest of zend's package and do a new installation.

As root, please edit this file: /var/lib/dpkg/info/php-5.3-gui-zend-server.postinst
and remove the last two lines which should be:
Code: Select all
echo "Restarting lighttpd to refresh Zend Server GUI"
/usr/local/zend/bin/lighttpdctl.sh restart


Afterwards remove the php-5.3-gui-zend-server should go without any problem.

p.s.
Notice that this is a work around just to let you remove the package.
User avatar
liorkaplan
 
Posts: 107
Joined: Tue Jun 22, 2010 5:59 am

Re: Unable to Remove Zend Server CE

Postby redturtle on Tue Oct 19, 2010 7:27 am

Thank you very much. With this info I was able to get it working. -> Uninstalled (purged) -> Installed -> Works like charm.

Thanks, Udo
redturtle
 
Posts: 6
Joined: Tue Oct 05, 2010 8:37 pm


Return to Zend Server

Who is online

Users browsing this forum: No registered users and 6 guests

cron