Zentyal Forum, Linux Small Business Server

Zentyal Server => Installation and Upgrades => Topic started by: rubenzsolt on August 25, 2019, 10:06:46 pm

Title: update openssl
Post by: rubenzsolt on August 25, 2019, 10:06:46 pm
Hi, unfortunately when I update openssl on Zentyal 5 or 6 I receive an update error.
The update error appear on both systems, the zentyal core module crashing after update. I tested just run apt-get upgrade from command line not form interface but same issue.
Somebody have some ideea or solution how I can solve this issue.
Title: Re: update openssl
Post by: doncamilo on August 26, 2019, 12:40:20 pm
 :)

Hi!

So, Do you have updated openssl package? It should be managed by Zentyal (if you aren't a really experienced linux sysadmin you should use the software manager on webadmin):

Code: [Select]
# dpkg -s zentyal-core | grep openssl

So, now, you have broken packages. Check it by running this command:

Code: [Select]
#  dpkg -l | grep -Ev '^(ii|rc)'

You have to fix your broken packages. Read https://www.rosehosting.com/blog/how-to-fix-broken-packages-on-ubuntu-16-04-and-debian-9/ (https://www.rosehosting.com/blog/how-to-fix-broken-packages-on-ubuntu-16-04-and-debian-9/)

You have probably fallen into the Dependencies Hell. Paste you broken packages list here if you need some help.

Cheers!
Title: Re: update openssl
Post by: rubenzsolt on September 01, 2019, 06:19:12 pm
Hi,

I think you not understand the problem, not the openssl package broken, the Zentyal core is broken. The problem appear on both zentyal's 5 and 6, both openssl packages is broken on different systems. From commandline and from webui the issue is same.

Title: Re: update openssl
Post by: rjka on July 07, 2020, 03:04:03 pm
sombody solved that? can't upgrade    openssl    Secure Sockets Layer toolkit - cryptographic utility    1.1.1-1ubuntu2.1~18.04.6
Title: Re: update openssl
Post by: doncamilo on July 08, 2020, 09:46:00 am
 :)

I would need to see what error throws apt. What's the status of the failed packages? There's some dependencies hell between them?

I have produced an error to explain here how to fix:

Code: [Select]
dpkg: se encontró un bucle al procesar los disparadores:
 la cadena de paquetes cuyos disparadores son o pueden ser responsables:
  zentyal-core -> zentyal-core -> zentyal-core -> zentyal-core -> zentyal-core -> zentyal-core -> zentyal-core
 disparadores pendientes de paquetes que no son o pueden no ser resolubles:
  initramfs-tools: update-initramfs
  zentyal-core: /usr/lib/ssl
dpkg: error al procesar el paquete initramfs-tools (--configure):
 los disparadores han entrado en bucle, abandonando
dpkg:../../src/packages.c:238:process_queue: error interno: exceeded dependtry 7 (sincenothing=0; queue.length=3)
E: Sub-process /usr/bin/dpkg exited unexpectedly

And the fix:

Code: [Select]
sudo dpkg --configure initramfs-tools
Configurando initramfs-tools (0.130ubuntu3.9) ...
update-initramfs: deferring update (trigger activated)
Procesando disparadores para initramfs-tools (0.130ubuntu3.9) ...
update-initramfs: Generating /boot/initrd.img-4.15.0-101-generic
sudo dpkg --configure zentyal-core
Configurando zentyal-core (6.1.2) ...
Procesando disparadores para zentyal-core (6.1.2) ...
 * Restarting Zentyal module: webadmin                                   [ OK ]
 * Restarting Zentyal module: logs                                       [ OK ]

Checking the fix:

Code: [Select]
dpkg -l | grep -Ev '^(ii|rc)'
Deseado=desconocido(U)/Instalar/eliminaR/Purgar/retener(H)
| Estado=No/Inst/ficheros-Conf/desempaqUetado/medio-conF/medio-inst(H)/espera-disparo(W)/pendienTe-disparo
|/ Err?=(ninguno)/requiere-Reinst (Estado,Err: mayúsc.=malo)
||/ Nombre                                 Versión                                         Arquitectura Descripción
+++-======================================-===============================================-============-===============================================================================

The command below shows you the broken packages and the type of error. If it doesn't show packages, all is OK.

If you need some information about the packages relationships:

Code: [Select]
apt-cache showpkg zentyal-core

If you need some more help, please copy here the output of the "dpkg -l | grep -Ev '^(ii|rc)'" command.

Cheers!