Instalando o zend-server php 5.3 no debian 7.x usando o livro de receitas do chef

0

Ao tentar instalar o servidor zend ( 6.3 ) com o php5 .3 no debian 7.x (wheezy) usando o livro de receitas zendserver para Chef Eu recebo o seguinte erro: (precisa ser php5.3 por causa do código antigo no aplicativo PHP)

==> default: [2014-12-13T16:36:23+00:00] INFO: Starting install for package zend-server-php-5.3
==> default:
==> default: ================================================================================
==> default: Error executing action 'install' on resource 'apt_package[zend-server-php-5.3]'
==> default: ================================================================================
==> default:
==> default: Mixlib::ShellOut::ShellCommandFailed
==> default: ------------------------------------
==> default: Expected process to exit with [0], but received '100'
==> default: ---- Begin output of apt-get -q -y install zend-server-php-5.3=6.3.0+b41 ----
==> default: STDOUT: Reading package lists...
==> default: Building dependency tree...
==> default: Reading state information...
==> default: Some packages could not be installed. This may mean that you have
==> default: requested an impossible situation or if you are using the unstable
==> default: distribution that some required packages have not yet been created
==> default: or been moved out of Incoming.
==> default: The following information may help to resolve the situation:
==> default: The following packages have unmet dependencies:
==> default:  zend-server-php-5.3 : Depends: zend-server-php-5.3-common (= 6.3.0+b41) but it is not going to be installed
==> default:                        Depends: libapache2-mod-php-5.3-zend-server(>= 5.3.21) but it is not going to be installed
==> default: STDERR: E: Unable to correct problems, you have held broken packages.
==> default: ---- End output of apt-get -q -y install zend-server-php-5.3=6.3.0+b41 ----
==> default: Ran apt-get -q -y install zend-server-php-5.3=6.3.0+b41 returned 100
==> default: Resource Declaration:
==> default: ---------------------
==> default: # In /tmp/vagrant-chef-3/chef-solo-1/cookbooks/zendserver/recipes/default.rb
==> default:
==> default:  65: package package_name do
==> default:  66:   :install
==> default:  67:   notifies :restart, 'service[zend-server]', :immediate
==> default:  68: end
==> default:  69:
==> default:
==> default: Compiled Resource:
==> default: ------------------
==> default: # Declared in /tmp/vagrant-chef-3/chef-solo-1/cookbooks/zendserver/recipes/default.rb:65:in 'from_file'
==> default:
==> default: apt_package("zend-server-php-5.3") do
==> default:   action :install
==> default:   retries 0
==> default:   retry_delay 2
==> default:   default_guard_interpreter :default
==> default:   package_name "zend-server-php-5.3"
==> default:   version "6.3.0+b41"
==> default:   timeout 900
==> default:   cookbook_name :zendserver
==> default:   recipe_name "default"
==> default: end
==> default: [2014-12-13T16:36:23+00:00] INFO: Running queued delayed notifications before re-raising exception
==> default: [2014-12-13T16:36:23+00:00] ERROR: Running exception handlers
==> default: [2014-12-13T16:36:23+00:00] ERROR: Exception handlers complete
==> default: [2014-12-13T16:36:23+00:00] FATAL: Stacktrace dumped to /var/chef/cache/chef-stacktrace.out
==> default: [2014-12-13T16:36:23+00:00] ERROR: apt_package[zend-server-php-5.3]
 (zendserver::default line 65) had an error: Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], but received '100'
==> default: ---- Begin output of apt-get -q -y install zend-server-php-5.3=6.3.0+b41 ----
==> default: STDOUT: Reading package lists...
==> default: Building dependency tree...
==> default: Reading state information...
==> default: Some packages could not be installed. This may mean that you have
==> default: requested an impossible situation or if you are using the unstable
==> default: distribution that some required packages have not yet been created
==> default: or been moved out of Incoming.
==> default: The following information may help to resolve the situation:
==> default:
==> default: The following packages have unmet dependencies:
==> default:  zend-server-php-5.3 : Depends: zend-server-php-5.3-common (= 6.3.0+b41) but it is not going to be installed
==> default:                        Depends: libapache2-mod-php-5.3-zend-server(>= 5.3.21) but it is not going to be installed
==> default: STDERR: E: Unable to correct problems, you have held broken packages.
==> default: ---- End output of apt-get -q -y install zend-server-php-5.3=6.3.0+b41 ----
==> default: Ran apt-get -q -y install zend-server-php-5.3=6.3.0+b41 returned 100
==> default: [2014-12-13T16:36:23+00:00] FATAL: Chef::Exceptions::ChildConvergeError: Chef run process exited unsuccessfully (exit code 1)
Chef never successfully completed! Any errors should be visible in the
output above. Please fix your recipes so that they properly complete.

Parece que este comando está sendo executado:% $ apt-get -q -y install zend-server-php-5.3=6.3.0+b41

E isso dá essa saída:

Reading package lists...
Building dependency tree...
Reading state information...
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 zend-server-php-5.3 : Depends: zend-server-php-5.3-common (= 6.3.0+b41) but it is not going to be installed
                       Depends: libapache2-mod-php-5.3-zend-server (>= 5.3.21) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

Estou preso aqui e não sei o que fazer. Alguém pode me ajudar por favor?

    
por Tommy Bravo 13.12.2014 / 18:20

1 resposta

1

não tenho certeza de que isso ainda é aplicável, mas tivemos um problema ao instalar o zend 5.3 server no wheezy. Conseguimos executá-lo depois de muita falsificação, mas acabamos em uma situação em que as bibliotecas SSL eram inválidas e precisávamos executar o apache com sites não-ssl!

Se você ainda estiver atrás de uma solução, meu conselho seria adicioná-los ao seu /etc/apt/soruces.list e instalar a pilha do squeeze php 5.3 (funciona muito bem).

deb link aperte principal contrib não-livre deb-src link aperte principal contrib não-livre

HTH

    
por 16.01.2015 / 16:07